From 80822e0880ff4fea85da49f8072911ebea5ab88cc65d35f9c75b01c8b0f846f9 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 27 Jun 2011 11:34:31 +0000 Subject: [PATCH] Autobuild autoformatter for 74618 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ibus?expand=0&rev=11 --- 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/*