From b28400f14a0da74e004433eb525abe7bf2e591c0e83519808ca89595ecec7fcb Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 27 Jun 2011 11:34:31 +0000 Subject: [PATCH] Updating link to change in openSUSE:Factory/ibus revision 11.0 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=84284956d23d555c3feff5d0543592ae --- ibus.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/ibus.spec b/ibus.spec index abe9b32..9c011a5 100644 --- a/ibus.spec +++ b/ibus.spec @@ -70,14 +70,16 @@ Supplements: packageand(ibus:gtk2) This package contains ibus im module for gtk2 %if %suse_version >= 1140 + %package gtk3 -Summary: IBus im module for gtk3 -Group: System/I18n/Chinese -Requires: %{name} = %{version}-%{release} -BuildRequires: gtk3-devel + +Summary: IBus im module for gtk3 +Group: System/I18n/Chinese +Requires: %{name} = %{version}-%{release} +BuildRequires: gtk3-devel %gtk3_immodule_requires Supplements: packageand(ibus:gtk3) - + %description gtk3 This package contains ibus im module for gtk3 %endif @@ -176,9 +178,10 @@ rm -rf %buildroot %postun -n libibus2 -p /sbin/ldconfig %if %suse_version >= 1140 + %post gtk3 %gtk3_immodule_post - + %postun gtk3 %gtk3_immodule_postun %endif @@ -210,6 +213,7 @@ rm -rf %buildroot %{_libdir}/gtk-2.0/%{gtk_binary_version}/immodules/im-ibus.so %if %suse_version >= 1140 + %files gtk3 %defattr(-,root,root,-) %{_libdir}/gtk-3.0/3.0.0/immodules/*