Hello community, here is the log from the commit of package scim-pinyin for openSUSE:Factory checked in at 2015-09-19 06:54:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scim-pinyin (Old) and /work/SRC/openSUSE:Factory/.scim-pinyin.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scim-pinyin" Changes: -------- --- /work/SRC/openSUSE:Factory/scim-pinyin/scim-pinyin.changes 2012-09-15 17:30:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.scim-pinyin.new/scim-pinyin.changes 2015-09-19 06:54:53.000000000 +0200 @@ -1,0 +2,9 @@ +Sat Sep 12 18:18:07 UTC 2015 - i...@marguerite.su + +- do not build with skim, which is dead +- remove scim-chinese Provides/Obsoletes, no package required it +- remove PreReq, useless +- remove gconf schemas install bits, useless +- obsoletes the removed subpackage + +------------------------------------------------------------------- Old: ---- scim-pinyin-0.5.92.tar.xz New: ---- scim-pinyin-scim-pinyin-0.5.92.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scim-pinyin.spec ++++++ --- /var/tmp/diff_new_pack.JhgDhS/_old 2015-09-19 06:54:54.000000000 +0200 +++ /var/tmp/diff_new_pack.JhgDhS/_new 2015-09-19 06:54:54.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package scim-pinyin # -# 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 @@ -16,121 +16,55 @@ # -%define scim_gtk3 1 -%if %suse_version > 1120 -%bcond_with skim -%else -%bcond_without skim -%endif - Name: scim-pinyin -BuildRequires: gcc-c++ -BuildRequires: scim-devel -%if %{with skim} -BuildRequires: kdelibs3-devel -BuildRequires: qt3-devel -BuildRequires: skim -%endif -BuildRequires: xz Version: 0.5.92 Release: 0 -PreReq: gconf2 libxml2 orbit2 glib2 -Obsoletes: scim-chinese -Provides: scim-chinese -Url: http://www.scim-im.org/ -# CVS repository: -# cvs -d:pserver:anonym...@scim.cvs.sourceforge.net:/cvsroot/scim login -# cvs -z3 -d:pserver:anonym...@scim.cvs.sourceforge.net:/cvsroot/scim co scim-pinyin -Source0: %{name}-%{version}.tar.xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Summary: Intelligent Pinyin input module for Smart Chinese/Common Input Method platform +Summary: Smart pinyin IM engine for SCIM platform License: GPL-2.0+ Group: System/I18n/Chinese +Url: https://github.com/scim-im/scim-pinyin +Source: https://github.com/scim-im/%{name}/archive/%{name}-%{version}/%{name}-%{name}-%{version}.tar.gz +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: pkg-config +BuildRequires: scim-devel +Obsoletes: %{name}-skim <= %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Intelligent Pinyin input module for Smart Chinese/Common Input Method -platform - -%if %{with skim} - -%package -n scim-pinyin-skim -Summary: skim setup module for scim-pinyin -Group: System/I18n/Chinese -Requires: %{name} = %{version} -# Provides: locale(skim:zh) - -%description -n scim-pinyin-skim -skim setup module for scim-pinyin -%endif +Smart pinyin IM engine for SCIM platform. %prep -%define scim_binary_version 1.4.0 -%setup -q -n %{name}-%{version} - -chmod a+x configure +%setup -q -n %{name}-%{name}-%{version} %build -export QTDIR=/usr/lib/qt3 -export KDEDIR=/opt/kde3 -export CFLAGS="$RPM_OPT_FLAGS" -export CXXFLAGS="$RPM_OPT_FLAGS" -./configure --prefix=/usr \ - --sysconfdir=%{_sysconfdir} \ - --libdir=%{_libdir} \ - --disable-static \ - --disable-schemas-install \ - --with-gconf-schema-file-dir=/etc/opt/gnome/gconf/schemas \ - --enable-debug -make -%if %{with skim} -make -C skim -%endif +./bootstrap +export CFLAGS="%{optflags}" +export CXXFLAGS="%{optflags}" +%configure --disable-static \ + --enable-debug \ + --disable-skim-support \ + --enable-tools +make %{?_smp_mflags} %install -export QTDIR=/usr/lib/qt3 -export KDEDIR=/opt/kde3 -export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 -make DESTDIR=${RPM_BUILD_ROOT} install -%if %{with skim} -make -C skim DESTDIR=${RPM_BUILD_ROOT} install -%endif -unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL -rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/%{scim_binary_version}/*/*.la +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print %find_lang scim-pinyin -%if %{with skim} -%find_lang skim-scim-pinyin -%endif - -%clean -# %post -# export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source` -# opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/scim-chinese.schemas >/dev/null %files -f scim-pinyin.lang %defattr(-, root, root) -%doc AUTHORS COPYING NEWS README ChangeLog -#%config %{_sysconfdir}/opt/gnome/gconf/schemas/* -%dir %{_libdir}/scim-1.0/ -%dir %{_libdir}/scim-1.0/%{scim_binary_version}/ -%dir %{_libdir}/scim-1.0/%{scim_binary_version}/IMEngine/ -%{_libdir}/scim-1.0/%{scim_binary_version}/IMEngine/pinyin.so -%dir %{_libdir}/scim-1.0/%{scim_binary_version}/SetupUI/ -%{_libdir}/scim-1.0/%{scim_binary_version}/SetupUI/pinyin-imengine-setup.so -%dir %{_datadir}/scim/ -%dir %{_datadir}/scim/pinyin/ -%{_datadir}/scim/pinyin/* -%dir %{_datadir}/scim/icons/ -%{_datadir}/scim/icons/smart-pinyin.png - -%if %{with skim} - -%files -n scim-pinyin-skim -f skim-scim-pinyin.lang -%defattr(-, root, root) -%dir /opt/kde3/share/apps/skim/ -/opt/kde3/share/apps/skim/* -/opt/kde3/share/config.kcfg/* -/opt/kde3/share/services/* -/opt/kde3/%{_lib}/kde3/* -%endif +%doc AUTHORS COPYING README ChangeLog +%{_scim_enginedir}/pinyin.so +%if 0%{?suse_version} >= 1310 +%{_scim_uidir}/pinyin-imengine-setup.so +%endif +%dir %{_scim_datadir}/pinyin/ +%{_scim_datadir}/pinyin/phrase_lib +%{_scim_datadir}/pinyin/pinyin_phrase_index +%{_scim_datadir}/pinyin/pinyin_phrase_lib +%{_scim_datadir}/pinyin/pinyin_table +%{_scim_datadir}/pinyin/special_table +%{_scim_icondir}/smart-pinyin.png %changelog