commit eeffd8d54afbad7c60a8724f3df2c4ecf6eee722
Author: Jakub Bogusz <[email protected]>
Date:   Sat Nov 10 15:49:39 2012 +0100

    - package GObject binding in -libs, so it's available not only with ibus
    - release 5

 ibus-anthy.spec | 31 ++++++++++++++++++++++++-------
 1 file changed, 24 insertions(+), 7 deletions(-)
---
diff --git a/ibus-anthy.spec b/ibus-anthy.spec
index 45bf8a2..6497e76 100644
--- a/ibus-anthy.spec
+++ b/ibus-anthy.spec
@@ -6,7 +6,7 @@ Summary:        The Anthy engine for IBus input platform
 Summary(pl.UTF-8):     Silnik Anthy dla platformy wprowadzania znaków IBus
 Name:          ibus-anthy
 Version:       1.4.99.20121006
-Release:       4
+Release:       5
 License:       GPL v2+
 Group:         Libraries
 #Source0Download: http://code.google.com/p/ibus/downloads/list
@@ -28,8 +28,8 @@ BuildRequires:        sed >= 4.0
 BuildRequires: swig-python
 Requires(post,postun): /sbin/ldconfig
 Requires(post,postun): GConf2
+Requires:      %{name}-libs = %{version}-%{release}
 Requires:      anthy
-Requires:      glib2 >= 1:2.26.0
 Requires:      ibus >= 1.4.99
 Requires:      kasumi
 Requires:      python-ibus >= 1.4.99
@@ -46,11 +46,24 @@ from libanthy.
 Silnik Anthy dla platformy IBus. Udostępnia metodę wprowadzania znaków
 japońskich poprzez libanthy.
 
+%package libs
+Summary:       Shared Anthy GObject library
+Summary(pl.UTF-8):     Biblioteka współdzielona Anthy GObject
+Group:         Libraries
+Requires:      glib2 >= 1:2.26.0
+Conflicts:     ibus-anthy < 1.4.99.20121006-5
+
+%description libs
+Shared Anthy GObject library.
+
+%description libs -l pl.UTF-8
+Biblioteka współdzielona Anthy GObject.
+
 %package devel
 Summary:       Header files for Anthy GObject library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki Anthy GObject
 Group:         Development/Libraries
-Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-libs = %{version}-%{release}
 Requires:      anthy-devel
 Requires:      glib2-devel >= 1:2.26.0
 
@@ -89,13 +102,14 @@ rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/ldconfig
 %update_icon_cache hicolor
 
 %postun
-/sbin/ldconfig
 %update_icon_cache hicolor
 
+%post  libs -p /sbin/ldconfig
+%postun        libs -p /sbin/ldconfig
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
@@ -103,11 +117,14 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libexecdir}/ibus-setup-anthy
 %{_datadir}/ibus-anthy
 %{_datadir}/ibus/component/anthy.xml
+%{_desktopdir}/ibus-setup-anthy.desktop
+%{_iconsdir}/hicolor/scalable/apps/ibus-anthy.svg
+
+%files libs
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libanthygobject-1.0.so.*.*
 %attr(755,root,root) %ghost %{_libdir}/libanthygobject-1.0.so.5
 %{_libdir}/girepository-1.0/Anthy-9000.typelib
-%{_desktopdir}/ibus-setup-anthy.desktop
-%{_iconsdir}/hicolor/scalable/apps/ibus-anthy.svg
 
 %files devel
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ibus-anthy.git/commitdiff/eeffd8d54afbad7c60a8724f3df2c4ecf6eee722

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to