Accepting request 101299 from home:vuntz:branches:M17N

Split typelib file in its own subpackage, following new typelib packaging policy

OBS-URL: https://build.opensuse.org/request/show/101299
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=33
This commit is contained in:
OBS User mrdocs 2012-01-25 01:48:20 +00:00 committed by Git OBS Bridge
parent d4034702e2
commit 4b7473addb
2 changed files with 34 additions and 11 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 24 10:12:30 UTC 2012 - vuntz@opensuse.org
- Split typelib file into typelib-1_0-IBus-1_0 subpackage.
- Add typelib-1_0-IBus-1_0 Requires to devel subpackage.
-------------------------------------------------------------------
Thu Oct 13 11:42:01 CEST 2011 - tiwai@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ibus
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,8 +22,7 @@
Name: ibus
Version: 1.4.0
Release: 5
License: LGPL V2+
Release: 0
Url: http://code.google.com/p/ibus/
Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
Source1: xim.d-ibus
@ -31,16 +30,26 @@ Source2: ibus-README.suse
Source3: xim.ibus.suse.template
Source4: xim.d-ibus-121
Patch0: ibus-python-install-dir.patch
Group: System/I18n/Chinese
Summary: Intelligent Input Bus for Linux OS
License: LGPL-2.1+
Group: System/I18n/Chinese
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: /usr/bin/touch
Provides: locale(ja;ko;zh)
BuildRequires: gettext-devel gtk-doc libtool python
BuildRequires: dbus-1-python-devel gtk2-devel
BuildRequires: gconf2-devel python-gobject2-devel update-desktop-files
BuildRequires: fdupes gobject-introspection-devel intltool iso-codes-devel
BuildRequires: dbus-1-python-devel
BuildRequires: fdupes
BuildRequires: gconf2-devel
BuildRequires: gettext-devel
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: iso-codes-devel
BuildRequires: libtool
BuildRequires: python
BuildRequires: python-gobject2-devel
BuildRequires: update-desktop-files
Requires: python-gtk dbus-1-python notification-daemon iso-codes gconf2 python-xdg python-notify gobject-introspection
%gconf_schemas_prereq
@ -53,7 +62,6 @@ full featured and user friendly input method user interface. It also may help
developers to develop input method easily.
%package -n libibus-1_0-0
License: LGPL V2+
Summary: IBus libraries
Group: System/I18n/Chinese
Obsoletes: libibus2 < %{version}
@ -61,8 +69,14 @@ Obsoletes: libibus2 < %{version}
%description -n libibus-1_0-0
This package contains the libraries for IBus
%package -n typelib-1_0-IBus-1_0
Summary: IBus libraries -- Introspection bindings
Group: System/I18n/Chinese
%description -n typelib-1_0-IBus-1_0
This package contains the introspection bindings for the IBus library.
%package gtk
License: LGPL V2+
Summary: IBus im module for gtk2
Group: System/I18n/Chinese
Requires: %{name} = %{version}
@ -88,10 +102,10 @@ This package contains ibus im module for gtk3
%endif
%package devel
License: LGPL V2+
Summary: Development tools for ibus
Group: Development/Libraries/Other
Requires: libibus-1_0-0 = %{version}
Requires: typelib-1_0-IBus-1_0 = %{version}
Requires: glib2-devel
Requires: dbus-1-devel
Requires: gtk-doc
@ -207,6 +221,9 @@ rm -rf %buildroot
%files -n libibus-1_0-0
%defattr(-,root,root,-)
%{_libdir}/lib*.so.*
%files -n typelib-1_0-IBus-1_0
%defattr(-,root,root,-)
%{_libdir}/girepository-1.0/IBus-1.0.typelib
%files gtk