Accepting request 101429 from M17N
Split typelib file in its own subpackage, following new typelib packaging policy (forwarded request 101299 from vuntz) OBS-URL: https://build.opensuse.org/request/show/101429 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ibus?expand=0&rev=20
This commit is contained in:
commit
5bcdc07558
@ -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
|
Thu Oct 13 11:42:01 CEST 2011 - tiwai@suse.de
|
||||||
|
|
||||||
|
39
ibus.spec
39
ibus.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ibus
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,8 +22,7 @@
|
|||||||
|
|
||||||
Name: ibus
|
Name: ibus
|
||||||
Version: 1.4.0
|
Version: 1.4.0
|
||||||
Release: 5
|
Release: 0
|
||||||
License: LGPL-2.1+
|
|
||||||
Url: http://code.google.com/p/ibus/
|
Url: http://code.google.com/p/ibus/
|
||||||
Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
|
Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
|
||||||
Source1: xim.d-ibus
|
Source1: xim.d-ibus
|
||||||
@ -31,16 +30,26 @@ Source2: ibus-README.suse
|
|||||||
Source3: xim.ibus.suse.template
|
Source3: xim.ibus.suse.template
|
||||||
Source4: xim.d-ibus-121
|
Source4: xim.d-ibus-121
|
||||||
Patch0: ibus-python-install-dir.patch
|
Patch0: ibus-python-install-dir.patch
|
||||||
Group: System/I18n/Chinese
|
|
||||||
Summary: Intelligent Input Bus for Linux OS
|
Summary: Intelligent Input Bus for Linux OS
|
||||||
|
License: LGPL-2.1+
|
||||||
|
Group: System/I18n/Chinese
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: /usr/bin/touch
|
PreReq: /usr/bin/touch
|
||||||
Provides: locale(ja;ko;zh)
|
Provides: locale(ja;ko;zh)
|
||||||
|
|
||||||
BuildRequires: gettext-devel gtk-doc libtool python
|
BuildRequires: dbus-1-python-devel
|
||||||
BuildRequires: dbus-1-python-devel gtk2-devel
|
BuildRequires: fdupes
|
||||||
BuildRequires: gconf2-devel python-gobject2-devel update-desktop-files
|
BuildRequires: gconf2-devel
|
||||||
BuildRequires: fdupes gobject-introspection-devel intltool iso-codes-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
|
Requires: python-gtk dbus-1-python notification-daemon iso-codes gconf2 python-xdg python-notify gobject-introspection
|
||||||
%gconf_schemas_prereq
|
%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.
|
developers to develop input method easily.
|
||||||
|
|
||||||
%package -n libibus-1_0-0
|
%package -n libibus-1_0-0
|
||||||
License: LGPL-2.1+
|
|
||||||
Summary: IBus libraries
|
Summary: IBus libraries
|
||||||
Group: System/I18n/Chinese
|
Group: System/I18n/Chinese
|
||||||
Obsoletes: libibus2 < %{version}
|
Obsoletes: libibus2 < %{version}
|
||||||
@ -61,8 +69,14 @@ Obsoletes: libibus2 < %{version}
|
|||||||
%description -n libibus-1_0-0
|
%description -n libibus-1_0-0
|
||||||
This package contains the libraries for IBus
|
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
|
%package gtk
|
||||||
License: LGPL-2.1+
|
|
||||||
Summary: IBus im module for gtk2
|
Summary: IBus im module for gtk2
|
||||||
Group: System/I18n/Chinese
|
Group: System/I18n/Chinese
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
@ -88,10 +102,10 @@ This package contains ibus im module for gtk3
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: LGPL-2.1+
|
|
||||||
Summary: Development tools for ibus
|
Summary: Development tools for ibus
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: libibus-1_0-0 = %{version}
|
Requires: libibus-1_0-0 = %{version}
|
||||||
|
Requires: typelib-1_0-IBus-1_0 = %{version}
|
||||||
Requires: glib2-devel
|
Requires: glib2-devel
|
||||||
Requires: dbus-1-devel
|
Requires: dbus-1-devel
|
||||||
Requires: gtk-doc
|
Requires: gtk-doc
|
||||||
@ -207,6 +221,9 @@ rm -rf %buildroot
|
|||||||
%files -n libibus-1_0-0
|
%files -n libibus-1_0-0
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
|
%files -n typelib-1_0-IBus-1_0
|
||||||
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/girepository-1.0/IBus-1.0.typelib
|
%{_libdir}/girepository-1.0/IBus-1.0.typelib
|
||||||
|
|
||||||
%files gtk
|
%files gtk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user