Hello community, here is the log from the commit of package scim-tomoe for openSUSE:Factory checked in at 2015-09-24 06:13:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scim-tomoe (Old) and /work/SRC/openSUSE:Factory/.scim-tomoe.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "scim-tomoe" Changes: -------- --- /work/SRC/openSUSE:Factory/scim-tomoe/scim-tomoe.changes 2012-06-15 14:06:10.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.scim-tomoe.new/scim-tomoe.changes 2015-09-24 06:13:56.000000000 +0200 @@ -1,0 +2,9 @@ +Wed Sep 16 14:26:32 UTC 2015 - i@marguerite.su + +- use upstream url +- use macros from macros.scim +- remove SLE_10 hacks + * drop libtool-autoconf.patch +- remove unused dependency: update-desktop-files + +------------------------------------------------------------------- Old: ---- libtool-autoconf.patch scim-tomoe-0.6.0.tar.bz2 New: ---- scim-tomoe-0.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scim-tomoe.spec ++++++ --- /var/tmp/diff_new_pack.Kzrerf/_old 2015-09-24 06:13:57.000000000 +0200 +++ /var/tmp/diff_new_pack.Kzrerf/_new 2015-09-24 06:13:57.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package scim-tomoe # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,14 @@ Name: scim-tomoe +Version: 0.6.0 +Release: 0 +Summary: Tomoe Input Method Engine for SCIM +License: GPL-2.0+ +Group: System/I18n/Japanese +Url: http://sourceforge.net/projects/tomoe/ +Source: http://jaist.dl.sourceforge.net/project/tomoe/%{name}/%{name}-%{version}/%{name}-%{version}.tar.gz +Patch3: missing-includes.patch BuildRequires: gcc-c++ BuildRequires: gtk2-devel BuildRequires: gucharmap-devel @@ -24,56 +32,32 @@ BuildRequires: scim-devel BuildRequires: tomoe-devel BuildRequires: tomoe-gtk-devel -BuildRequires: update-desktop-files -Version: 0.6.0 -Release: 0 -# Provides: locale(scim:ja) -Url: http://sourceforge.net/projects/tomoe/ -Source0: scim-tomoe-0.6.0.tar.bz2 -Patch0: libtool-autoconf.patch -Patch3: missing-includes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -Summary: Tomoe Input Method Engine for SCIM -License: GPL-2.0+ -Group: System/I18n/Japanese %description Tomoe Input Method Engine for SCIM %prep -%define scim_binary_version %(pkg-config --variable=scim_binary_version scim) -%define build_setup 1 -%setup -q -n %{name}-%{version} +%setup -q %patch3 -p1 -%if %suse_version <= 1110 -%patch0 -p1 -libtoolize --force -autoreconf -I /opt/gnome/share/aclocal --force --install --verbose -%endif %build -CXXFLAGS="$RPM_OPT_FLAGS" -./configure --prefix=/usr \ - --sysconfdir=%{_sysconfdir} \ - --libdir=%{_libdir} \ +CXXFLAGS="%{optflags}" +%configure \ --disable-static \ --enable-debug -make +make %{?_smp_mflags} %install -make DESTDIR=${RPM_BUILD_ROOT} install -rm -f $RPM_BUILD_ROOT/%{_libdir}/scim-1.0/%{scim_binary_version}/IMEngine/anthy.{a,la} -rm -f $RPM_BUILD_ROOT/%{_libdir}/scim-1.0/%{scim_binary_version}/SetupUI/anthy-imengine-setup.{a,la} -%find_lang scim-tomoe - -%clean +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -name "*.la" -delete -print +%find_lang %{name} -%files -f scim-tomoe.lang +%files -f %{name}.lang %defattr(-, root, root) %doc AUTHORS COPYING NEWS README TODO ChangeLog %{_bindir}/scim-tomoe -%{_libdir}/scim-1.0/%{scim_binary_version}/Helper/tomoe* -%dir %{_datadir}/scim/icons/ -%{_datadir}/scim/icons/scim-tomoe.png +%{_scim_helperdir}/tomoe* +%{_scim_icondir}/scim-tomoe.png %changelog