SPECS: cups.spec - lang dirs for gimp-print-cups-4.2.7-1; rel 2

glen glen at pld-linux.org
Tue Nov 7 23:08:50 CET 2006


Author: glen                         Date: Tue Nov  7 22:08:50 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- lang dirs for gimp-print-cups-4.2.7-1; rel 2

---- Files affected:
SPECS:
   cups.spec (1.175 -> 1.176) 

---- Diffs:

================================================================
Index: SPECS/cups.spec
diff -u SPECS/cups.spec:1.175 SPECS/cups.spec:1.176
--- SPECS/cups.spec:1.175	Mon Nov  6 23:52:53 2006
+++ SPECS/cups.spec	Tue Nov  7 23:08:45 2006
@@ -17,7 +17,7 @@
 Summary(pt_BR):	Sistema Unix de Impressăo
 Name:		cups
 Version:	1.2.6
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL/LGPL
 Group:		Applications/Printing
@@ -331,21 +331,21 @@
 # windows drivers can be put there.
 install -d $RPM_BUILD_ROOT%{_datadir}/cups/drivers
 
+# dirs for gimp-print-cups-4.2.7-1
+install -d $RPM_BUILD_ROOT%{_datadir}/cups/model/{C,da,en_GB,fr,nb,pl,sv}
+
 touch $RPM_BUILD_ROOT/var/cache/cups/help.index
 touch $RPM_BUILD_ROOT/var/cache/cups/{job,remote}.cache
 touch $RPM_BUILD_ROOT/var/cache/cups/ppds.dat
-install -d $RPM_BUILD_ROOT/etc/cups/ssl
-
-# post-strip can't work on readonly files
-chmod u+w $RPM_BUILD_ROOT%{perl_vendorarch}/auto/CUPS/CUPS.so
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/cups/ssl
 
 # links to enable/disable (compatibility!)
-ln -s accept $RPM_BUILD_ROOT/usr/sbin/enable
-ln -s accept $RPM_BUILD_ROOT/usr/sbin/disable
+ln -s accept $RPM_BUILD_ROOT%{_sbindir}/enable
+ln -s accept $RPM_BUILD_ROOT%{_sbindir}/disable
 
 # check-files cleanup
 rm -rf $RPM_BUILD_ROOT%{_mandir}/{,es/,fr/}cat?
-rm -rf $RPM_BUILD_ROOT/etc/{init.d,rc?.d}/*
+rm -rf $RPM_BUILD_ROOT/''etc/{init.d,rc?.d}/*
 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/cupsd.conf.default
 
 %clean
@@ -430,7 +430,17 @@
 %{_datadir}/cups/data
 %{_datadir}/cups/drivers
 %{_datadir}/cups/fonts
-%{_datadir}/cups/model
+%dir %{_datadir}/cups/model
+%{_datadir}/cups/model/*.ppd.gz
+# dirs for gimp-print-cups-4.2.7-1
+%dir %{_datadir}/cups/model/C
+%lang(da) %dir %{_datadir}/cups/model/da
+%lang(en_GB) %dir %{_datadir}/cups/model/en_GB
+%lang(fr) %dir %{_datadir}/cups/model/fr
+%lang(nb) %dir %{_datadir}/cups/model/nb
+%lang(pl) %dir %{_datadir}/cups/model/pl
+%lang(sv) %dir %{_datadir}/cups/model/sv
+
 %dir %{_datadir}/cups/templates
 %{_datadir}/cups/templates/*.tmpl
 %lang(de) %{_datadir}/cups/templates/de
@@ -570,6 +580,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.176  2006/11/07 22:08:45  glen
+- lang dirs for gimp-print-cups-4.2.7-1; rel 2
+
 Revision 1.175  2006/11/06 22:52:53  wiget
 - updated to 1.2.6
 - templates_pl.patch applied upstream
================================================================

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



More information about the pld-cvs-commit mailing list