|
@@ -1,5 +1,5 @@
|
|
|
%define ver 1.3.9
|
|
|
-%define rel 4
|
|
|
+%define rel 5
|
|
|
|
|
|
Summary: Intelligent Input Bus for Linux / Unix OS
|
|
|
Name: ibus
|
|
@@ -8,8 +8,15 @@ Release: %{rel}%{?_dist_release}
|
|
|
License: LGPL
|
|
|
Group: System Environment/Libraries
|
|
|
URL: http://code.google.com/p/ibus/
|
|
|
+
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
Patch0: ibus-1.2.0.20091024-fixPOFILES.in.patch
|
|
|
+# https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/716314
|
|
|
+# Use LC_MESSAGES instead of LC_ALL in bus_ibus_impl_set_default_preload_engines
|
|
|
+Patch1: ibus-1.3.9-locale-parser.patch
|
|
|
+# add default preload engines
|
|
|
+Patch10: ibus-1.3.9-add-preload-engines.patch
|
|
|
+
|
|
|
Requires: gtk2, pyxdg, iso-codes, dbus-python >= 0.83.0
|
|
|
Requires: notify-python
|
|
|
Requires: librsvg2
|
|
@@ -66,6 +73,8 @@ The ibus-gtk3 contains ibus im module for gtk3.
|
|
|
%prep
|
|
|
%setup -q
|
|
|
%patch0 -p1
|
|
|
+%patch1 -p1
|
|
|
+%patch10 -p1
|
|
|
%configure \
|
|
|
--disable-static \
|
|
|
%if %{?_dist_release} != "vl5"
|
|
@@ -86,6 +95,12 @@ rm -rf %{buildroot}%{_libdir}/gtk-2.0/immodules/im-ibus.la
|
|
|
rm -rf %{buildroot}%{_libdir}/gtk-3.0/3.0.0/immodules/im-ibus.la
|
|
|
%endif
|
|
|
|
|
|
+%{_bindir}/desktop-file-install \
|
|
|
+ --vendor="" --dir=%{buildroot}/%{_datadir}/applications \
|
|
|
+ --add-category=Applications \
|
|
|
+ --add-category=X-GNOME-PersonalSettings \
|
|
|
+ %{buildroot}/%{_datadir}/applications/ibus-setup.desktop
|
|
|
+
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/xdg/autostart/ibus.desktop
|
|
|
|
|
|
%find_lang %{name}
|
|
@@ -183,6 +198,12 @@ touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Jun 02 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-5
|
|
|
+- add patch1 from ubuntu (accepted in upstream)
|
|
|
+ Use LC_MESSAGES instead of LC_ALL in bus_ibus_impl_set_default_preload_engines.
|
|
|
+- add "Catgegories=Applications;X-GNOME-PersonalSettings" to ibus-setup.desktop
|
|
|
+- add patch10 to add default preload engines to gconf schemas
|
|
|
+
|
|
|
* Tue Apr 19 2011 IWAI, Masaharu <iwai@alib.jp> 1.3.9-4vl6
|
|
|
- drop {post,postun} script for gtk3 immodules in main package
|
|
|
|