Hello community, here is the log from the commit of package kimtoy for openSUSE:Factory checked in at 2013-07-10 23:24:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kimtoy (Old) and /work/SRC/openSUSE:Factory/.kimtoy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kimtoy" Changes: -------- --- /work/SRC/openSUSE:Factory/kimtoy/kimtoy.changes 2012-10-16 11:47:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kimtoy.new/kimtoy.changes 2013-07-10 23:24:37.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Jul 10 10:03:55 UTC 2013 - [email protected] + +- update to 1.9.2.git20130710 + * support ibus 1.5 gen. + +------------------------------------------------------------------- Old: ---- kimtoy-1.9.2.tar.bz2 New: ---- kimtoy-1.9.2.git20130710.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kimtoy.spec ++++++ --- /var/tmp/diff_new_pack.S34DZA/_old 2013-07-10 23:24:38.000000000 +0200 +++ /var/tmp/diff_new_pack.S34DZA/_new 2013-07-10 23:24:38.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package kimtoy # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products 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,13 +17,14 @@ Name: kimtoy -Version: 1.9.2 +Version: 1.9.2.git20130710 Release: 0 Summary: An input method frontend for KDE License: GPL-2.0+ Group: System/I18n/Chinese Url: http://kde-apps.org/content/show.php/KIMToy?content=140967 -Source: %{name}-%{version}.tar.bz2 +# https://projects.kde.org/projects/extragear/utils/kimtoy +Source: %{name}-%{version}.tar.gz Source1: xim.d-kimtoy Source2: draw-freehand.svg Source3: draw-freehand.svgz @@ -44,7 +45,7 @@ BuildRequires: update-desktop-files BuildRequires: pkgconfig(dbus-1) BuildRoot: %{_tmppath}/%{name}-%{version}-build -Recommends: %{name}-lang = %{version} +#Recommends: %{name}-lang = %{version} %kde4_runtime_requires %description @@ -58,29 +59,31 @@ KIMToy is able to load sogou input method theme since KIMToy-0.4. -%package -n kimtoy-backend-scim +%package backend-scim Summary: Scim Backend for Kimtoy Group: System/I18n/Chinese Requires: %{name} = %{version} +Requires: scim %kde4_runtime_requires -%description -n kimtoy-backend-scim +%description backend-scim KIMToy is an input method frontend for KDE. This contains its scim backend -%package -n kimtoy-backend-ibus +%package backend-ibus Summary: Ibus Backend for Kimtoy Group: System/I18n/Chinese Requires: %{name} = %{version} +Requires: ibus >= 1.5.0 %kde4_runtime_requires -%description -n kimtoy-backend-ibus +%description backend-ibus KIMToy is an input method frontend for KDE. This contains its ibus backend. -%lang_package +#%lang_package %prep %setup -q @@ -89,7 +92,7 @@ mkdir build cd build CXXFLAGS="-pthread" cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=%{_libdir} -make +make %{?_sm_mflags} %install cd build @@ -103,7 +106,7 @@ install -m 644 $RPM_SOURCE_DIR/xim.d-kimtoy %{buildroot}%{_sysconfdir}/X11/xim.d/kimtoy pushd %{buildroot}%{_sysconfdir}/X11/xim.d/ - for lang in en zh_CN ; do + for lang in en zh_CN zh_TW ja ko; do mkdir $lang pushd $lang ln -s ../kimtoy 35-kimtoy @@ -137,7 +140,7 @@ sed -i "38d" %{buildroot}%{_datadir}/autostart/%{name}.desktop sed -i "38iX-KDE-autostart-condition=kimtoyrc:behavior:AutostartKIMToy:true" %{buildroot}%{_datadir}/autostart/%{name}.desktop -%find_lang %{name} +#%find_lang %{name} %files %defattr(-,root,root,-) @@ -155,13 +158,13 @@ %dir %{_sysconfdir}/X11/xim.d %config %{_sysconfdir}/X11/xim.d/* -%files lang -f %{name}.lang +#%files lang -f %{name}.lang -%files -n kimtoy-backend-scim +%files backend-scim %defattr(-,root,root) %{_libdir}/scim-1.0/* -%files -n kimtoy-backend-ibus +%files backend-ibus %defattr(-,root,root) %{_libdir}/ibus-kconfig %{_libdir}/ibus-ui-impanel @@ -169,6 +172,14 @@ %post -p /sbin/ldconfig +%post backend-scim -p /sbin/ldconfig + +%post backend-ibus -p /sbin/ldconfig + %postun -p /sbin/ldconfig +%postun backend-scim -p /sbin/ldconfig + +%postun backend-ibus -p /sbin/ldconfig + %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
