packages: caribou/caribou.spec - split package to subpackages -gtk2-module, ...
glen
glen at pld-linux.org
Fri Mar 2 20:23:28 CET 2012
Author: glen Date: Fri Mar 2 19:23:27 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- split package to subpackages -gtk2-module, -gtk3-module, -antler and python-caribou
---- Files affected:
packages/caribou:
caribou.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: packages/caribou/caribou.spec
diff -u packages/caribou/caribou.spec:1.8 packages/caribou/caribou.spec:1.9
--- packages/caribou/caribou.spec:1.8 Tue Oct 18 21:49:03 2011
+++ packages/caribou/caribou.spec Fri Mar 2 20:23:22 2012
@@ -3,7 +3,7 @@
Summary(pl.UTF-8): Klawiatura ekranowa
Name: caribou
Version: 0.4.1
-Release: 1
+Release: 2
License: LGPL v2+
Group: X11/Applications/Accessibility
Source0: http://ftp.gnome.org/pub/GNOME/sources/caribou/0.4/%{name}-%{version}.tar.xz
@@ -34,11 +34,10 @@
Requires(post,postun): glib2 >= 1:2.26.0
Requires: clutter >= 1.6.0
Requires: gobject-introspection >= 0.10.7
-Requires: gtk+2
-Requires: gtk+3
Requires: python-modules
Requires: python-pyatspi >= 2.2.0
Requires: python-pygobject3 >= 3.0.0
+Requires(postun): /sbin/ldconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -63,6 +62,40 @@
%description devel -l pl.UTF-8
Ten pakiet dostarcza pliki programistyczne dla Caribou.
+%package -n python-caribou
+Summary: Keyboard UI for %{name}
+Group: Development/Languages/Python
+Requires: %{name} = %{version}-%{release}
+
+%description -n python-caribou
+This package contains caribou Python GUI
+
+%package gtk2-module
+Summary: Gtk2 im module for %{name}
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: gtk+2
+
+%description gtk2-module
+This package contains caribou im module for Gtk2.
+
+%package gtk3-module
+Summary: Gtk3 im module for %{name}
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: gtk+3
+
+%description gtk3-module
+This package contains caribou im module for Gtk3.
+
+%package antler
+Summary: Keyboard implementation for %{name}
+Group: X11/Applications
+Requires: %{name} = %{version}-%{release}
+
+%description antler
+This package contains caribou keyboard implementation.
+
%prep
%setup -q
@@ -92,12 +125,14 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-/sbin/ldconfig
-%glib_compile_schemas
-
+%post -p /sbin/ldconfig
%postun
/sbin/ldconfig
+if [ $1 -eq 0 ] ; then
+ %glib_compile_schemas
+fi
+
+%posttrans
%glib_compile_schemas
%files -f %{name}.lang
@@ -105,22 +140,34 @@
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/caribou
%attr(755,root,root) %{_bindir}/caribou-preferences
-%attr(755,root,root) %{_libexecdir}/antler-keyboard
%attr(755,root,root) %{_libdir}/libcaribou.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libcaribou.so.0
-%attr(755,root,root) %{_libdir}/gtk-2.0/modules/libcaribou-gtk-module.so
-%attr(755,root,root) %{_libdir}/gtk-3.0/modules/libcaribou-gtk-module.so
-%{_datadir}/antler
%{_datadir}/caribou
-%{_datadir}/dbus-1/services/org.gnome.Caribou.Antler.service
-%{_datadir}/glib-2.0/schemas/org.gnome.antler.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.caribou.gschema.xml
%{_desktopdir}/caribou.desktop
-%{py_sitescriptdir}/caribou
%{_sysconfdir}/xdg/autostart/caribou-autostart.desktop
%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/caribou-gtk-module.desktop
%{_libdir}/girepository-1.0/Caribou-1.0.typelib
+%files -n python-caribou
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/caribou
+
+%files gtk2-module
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/gtk-2.0/modules/libcaribou-gtk-module.so
+
+%files gtk3-module
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/gtk-3.0/modules/libcaribou-gtk-module.so
+
+%files antler
+%defattr(644,root,root,755)
+%{_datadir}/antler
+%{_datadir}/dbus-1/services/org.gnome.Caribou.Antler.service
+%attr(755,root,root) %{_libexecdir}/antler-keyboard
+%{_datadir}/glib-2.0/schemas/org.gnome.antler.gschema.xml
+
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libcaribou.so
@@ -133,6 +180,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2012/03/02 19:23:22 glen
+- split package to subpackages -gtk2-module, -gtk3-module, -antler and python-caribou
+
Revision 1.8 2011/10/18 19:49:03 kiesiu
- updated to 0.4.1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/caribou/caribou.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list