diff --git a/ibus.changes b/ibus.changes index 3b638a3..5c4d4ef 100644 --- a/ibus.changes +++ b/ibus.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 28 18:26:44 UTC 2013 - i@marguerite.su + +- fix a typo in Group +- fix python-bytecode-inconsistent-mtime + ------------------------------------------------------------------- Thu Mar 28 15:32:19 UTC 2013 - jengelh@inai.de diff --git a/ibus.spec b/ibus.spec index 31dbefd..3d67642 100644 --- a/ibus.spec +++ b/ibus.spec @@ -26,7 +26,7 @@ Release: 0 Url: http://code.google.com/p/ibus/ Summary: Intelligent Input Bus for Linux OS License: LGPL-2.1+ -Group: System/I18n +Group: System/I18n/Chinese Source: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz Source1: xim.d-ibus @@ -167,6 +167,7 @@ make %{?_smp_mflags} %install make install DESTDIR="%buildroot" +# autostart mkdir -p $RPM_BUILD_ROOT/etc/X11/xim.d/ %if %{build_without_dbus_autolaunch} install -m 644 $RPM_SOURCE_DIR/xim.d-ibus-121 $RPM_BUILD_ROOT/etc/X11/xim.d/ibus @@ -188,6 +189,17 @@ pushd $RPM_BUILD_ROOT/etc/X11/xim.d/ done popd +# fix python-bytecode-inconsistent-mtime +pushd %{buildroot}%{_datadir}/ibus/ui/gtk +%py_compile i18n.py +mv ./i18n.pyc %{buildroot}%{_datadir}/ibus/setup/i18n.pyc +popd +pushd %{buildroot}%{_datadir}/ibus/ui/gtk +%py_compile -O engineabout.py +mv ./engineabout.pyo %{buildroot}%{_datadir}/ibus/setup/engineabout.pyo +popd + +# remove static libs rm -f $RPM_BUILD_ROOT/%{_libdir}/gtk-2.0/%{gtk_binary_version}/immodules/im-ibus.*a rm -f $RPM_BUILD_ROOT/%{_libdir}/libibus-*.*a