SPECS: cups.spec - add drivers dir for win32 drivers - build and c...

glen glen at pld-linux.org
Thu May 4 21:15:50 CEST 2006


Author: glen                         Date: Thu May  4 19:15:50 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add drivers dir for win32 drivers
- build and check-files cleanups

---- Files affected:
SPECS:
   cups.spec (1.128 -> 1.129) 

---- Diffs:

================================================================
Index: SPECS/cups.spec
diff -u SPECS/cups.spec:1.128 SPECS/cups.spec:1.129
--- SPECS/cups.spec:1.128	Thu Apr 20 20:16:02 2006
+++ SPECS/cups.spec	Thu May  4 21:15:45 2006
@@ -9,6 +9,7 @@
 # - build/install java ext ?
 # - perl BRs
 %include	/usr/lib/rpm/macros.perl
+%define		pdir CUPS
 Summary:	Common Unix Printing System
 Summary(pl):	Popularny system druku dla Uniksa
 Summary(pt_BR):	Sistema Unix de Impressăo
@@ -316,8 +317,15 @@
 touch $RPM_BUILD_ROOT/var/log/cups/{access_log,error_log,page_log}
 touch $RPM_BUILD_ROOT/etc/security/blacklist.cups
 
+# windows drivers can be put there.
+install -d $RPM_BUILD_ROOT%{_datadir}/cups/drivers
+
+# post-strip can't work on readonly files
+chmod u+w $RPM_BUILD_ROOT%{perl_vendorarch}/auto/CUPS/CUPS.so
+
 # check-files cleanup
 rm -rf $RPM_BUILD_ROOT%{_mandir}/{,es/,fr/}cat?
+rm -f $RPM_BUILD_ROOT/etc/rc.d/rc?.d/???cups
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -503,6 +511,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.129  2006/05/04 19:15:45  glen
+- add drivers dir for win32 drivers
+- build and check-files cleanups
+
 Revision 1.128  2006/04/20 18:16:02  glen
 - use %service
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cups.spec?r1=1.128&r2=1.129&f=u



More information about the pld-cvs-commit mailing list