- dropped the dependencies with release number

- simplify for passing gtk3 configure option

OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=22
This commit is contained in:
Takashi Iwai 2011-06-27 12:23:04 +00:00 committed by Git OBS Bridge
parent b28400f14a
commit fab95ff6f4
2 changed files with 13 additions and 13 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 27 14:21:46 CEST 2011 - tiwai@suse.de
- dropped the dependencies with release number
- simplify for passing gtk3 configure option
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 19 12:43:54 UTC 2011 - swyear@gmail.com Sun Jun 19 12:43:54 UTC 2011 - swyear@gmail.com

View File

@ -62,7 +62,7 @@ This package contains the libraries for IBus
License: LGPL V2+ License: LGPL V2+
Summary: IBus im module for gtk2 Summary: IBus im module for gtk2
Group: System/I18n/Chinese Group: System/I18n/Chinese
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}
%gtk2_immodule_requires %gtk2_immodule_requires
Supplements: packageand(ibus:gtk2) Supplements: packageand(ibus:gtk2)
@ -75,7 +75,7 @@ This package contains ibus im module for gtk2
Summary: IBus im module for gtk3 Summary: IBus im module for gtk3
Group: System/I18n/Chinese Group: System/I18n/Chinese
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}
BuildRequires: gtk3-devel BuildRequires: gtk3-devel
%gtk3_immodule_requires %gtk3_immodule_requires
Supplements: packageand(ibus:gtk3) Supplements: packageand(ibus:gtk3)
@ -88,7 +88,7 @@ This package contains ibus im module for gtk3
License: LGPL V2+ License: LGPL V2+
Summary: Development tools for ibus Summary: Development tools for ibus
Group: Development/Libraries/other Group: Development/Libraries/other
Requires: libibus2 = %{version}-%{release} Requires: libibus2 = %{version}
Requires: glib2-devel Requires: glib2-devel
Requires: dbus-1-devel Requires: dbus-1-devel
Requires: gtk-doc Requires: gtk-doc
@ -107,20 +107,14 @@ docs for ibus.
%build %build
autoreconf -fi autoreconf -fi
intltoolize -f intltoolize -f
%configure --disable-static \
%if %suse_version >= 1140 %if %suse_version >= 1140
%configure --disable-static \ --enable-gtk3 \
--disable-iso-codes-check \ %endif
--disable-gobject-introspection \
--enable-gtk-doc \
--libexecdir=%{_prefix}/%{_lib}/ibus \
--enable-gtk3
%else
%configure --disable-static \
--disable-iso-codes-check \ --disable-iso-codes-check \
--disable-gobject-introspection \ --disable-gobject-introspection \
--enable-gtk-doc \ --enable-gtk-doc \
--libexecdir=%{_prefix}/%{_lib}/ibus --libexecdir=%{_prefix}/%{_lib}/ibus
%endif
make %{?jobs:-j %jobs} make %{?jobs:-j %jobs}
%install %install