Accepting request 78313 from home:tiwai:branches:M17N
- Fix baselibs.conf to update GTK immodule cache properly for ibus-gtk-32bit and ibus-gtk3-32bit packages, too - Clean up spec file OBS-URL: https://build.opensuse.org/request/show/78313 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=24
This commit is contained in:
12
ibus.spec
12
ibus.spec
@@ -15,7 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define build_gtk3 (0%{suse_version} >= 1140)
|
||||
|
||||
Name: ibus
|
||||
Version: 1.3.9
|
||||
@@ -69,11 +69,8 @@ Supplements: packageand(ibus:gtk2)
|
||||
%description gtk
|
||||
This package contains ibus im module for gtk2
|
||||
|
||||
%if %suse_version >= 1140
|
||||
|
||||
%if %{build_gtk3}
|
||||
%package gtk3
|
||||
|
||||
|
||||
Summary: IBus im module for gtk3
|
||||
Group: System/I18n/Chinese
|
||||
Requires: %{name} = %{version}
|
||||
@@ -109,7 +106,7 @@ docs for ibus.
|
||||
autoreconf -fi
|
||||
intltoolize -f
|
||||
%configure --disable-static \
|
||||
%if %suse_version >= 1140
|
||||
%if %{build_gtk3}
|
||||
--enable-gtk3 \
|
||||
%endif
|
||||
--disable-iso-codes-check \
|
||||
@@ -172,8 +169,7 @@ rm -rf %buildroot
|
||||
|
||||
%postun -n libibus2 -p /sbin/ldconfig
|
||||
|
||||
%if %suse_version >= 1140
|
||||
|
||||
%if %{build_gtk3}
|
||||
%post gtk3
|
||||
%gtk3_immodule_post
|
||||
|
||||
|
Reference in New Issue
Block a user