Accepting request 161658 from home:MargueriteSu:branches:M17N

OBS-URL: https://build.opensuse.org/request/show/161658
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=61
This commit is contained in:
Marguerite Su 2013-03-28 19:34:04 +00:00 committed by Git OBS Bridge
parent 294035c6c6
commit 82b151ceaf
2 changed files with 19 additions and 1 deletions

View File

@ -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

View File

@ -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