SPECS: gtk+2.spec - cups module moved to (suggested) subpackage
qboosh
qboosh at pld-linux.org
Thu Feb 14 00:04:11 CET 2008
Author: qboosh Date: Wed Feb 13 23:04:11 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- cups module moved to (suggested) subpackage
---- Files affected:
SPECS:
gtk+2.spec (1.270 -> 1.271)
---- Diffs:
================================================================
Index: SPECS/gtk+2.spec
diff -u SPECS/gtk+2.spec:1.270 SPECS/gtk+2.spec:1.271
--- SPECS/gtk+2.spec:1.270 Wed Feb 13 13:54:52 2008
+++ SPECS/gtk+2.spec Thu Feb 14 00:04:05 2008
@@ -63,6 +63,10 @@
Requires: cairo >= 1.4.0
Requires: glib2 >= 1:2.14.2
Requires: pango >= 1:1.18.3
+%if %{with cups}
+# cups is used by default if gtk+ is built with cups
+Suggests: %{name}-cups = %{epoch}:%{version}-%{release}
+%endif
Obsoletes: gtk2
# sr at Latn vs. sr at latin
Conflicts: glibc-misc < 6:2.7
@@ -182,6 +186,18 @@
%description examples -l pl.UTF-8
GTK+ - przykładowe programy.
+%package cups
+Summary: CUPS printing module for GTK+
+Summary(pl.UTF-8): Moduł GTK+ do drukowania przez CUPS
+Group: X11/Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description cups
+CUPS printing module for GTK+.
+
+%description cups -l pl.UTF-8
+Moduł GTK+ do drukowania przez CUPS.
+
%prep
%setup -q -n gtk+-%{version}
%patch0 -p1
@@ -291,7 +307,8 @@
%attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/engines/libpixmap.so
%attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/immodules/im-*.so
%attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/loaders/libpixbufloader-*.so
-%attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-*.so
+%attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-file.so
+%attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-lpr.so
# XXX: just demo data - move to examples?
%{_datadir}/gtk-2.0
@@ -360,12 +377,21 @@
%defattr(644,root,root,755)
%{_examplesdir}/%{name}-%{version}
+%if %{with cups}
+%files cups
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/gtk-2.0/%{abivers}/printbackends/libprintbackend-cups.so
+%endif
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.271 2008-02-13 23:04:05 qboosh
+- cups module moved to (suggested) subpackage
+
Revision 1.270 2008-02-13 12:54:52 patrys
- 2.12.8
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gtk+2.spec?r1=1.270&r2=1.271&f=u
More information about the pld-cvs-commit
mailing list