libgnomeprint.spec
changeset 2194 8697e34b8ddb
parent 2159 3613e9792e23
child 2251 cca6fa1be7d4
--- a/libgnomeprint.spec	Fri Mar 12 16:52:54 2004 +0000
+++ b/libgnomeprint.spec	Fri Mar 12 17:45:51 2004 +0000
@@ -2,7 +2,7 @@
 License:      LGPL
 Group:        System/Libraries/GNOME
 Version:      2.5.2
-Release:      7
+Release:      8
 Distribution: Cinnabar
 Vendor:	      Sun Microsystems, Inc.
 Summary:      Print Library for the GNOME Desktop
@@ -11,6 +11,7 @@
 Patch1:       libgnomeprint-01-potfiles.diff
 Patch2:       libgnomeprint-02-locale-ps-generation.diff
 Patch3:       libgnomeprint-03-uninstalled-pc.diff
+Patch4:       libgnomeprint-04-old-version-cups-hack.diff
 URL:          http://www.gnome.org
 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
 Autoreqprov:  on
@@ -63,6 +64,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 libtoolize --force --copy
@@ -73,7 +75,8 @@
 CFLAGS="$RPM_OPT_FLAGS"				\
 ./configure --prefix=%{_prefix}			\
 	    --sysconfdir=%{_sysconfdir}		\
-	    --mandir=%{_mandir}
+	    --mandir=%{_mandir}			\
+	    --with-cups
 make
 
 %install
@@ -99,6 +102,7 @@
 %{_datadir}/libgnomeprint
 %{_datadir}/fonts
 %{_datadir}/gnome-print/fonts
+%{_libdir}/libgnomeprint/*/modules/*so*
 %{_libdir}/libgnomeprint/*/modules/*/*so*
 %{_libdir}/*so.*
 
@@ -109,6 +113,12 @@
 %{_libdir}/*so
 
 %changelog
+* Tue Mar 09 2004 - <[email protected]>
+- Hacked around with libgnomeprint-04-old-version-cups-hack.diff
+  since the version of cups we have is just too old. This patch should be
+  removed once CUPS 1.1.20 is made available.
+
+
 * Thu Feb 19 2004 - <[email protected]>
 - Bump to 2.5.2, re-apply patches, bump l10n to 0.8