SPECS: cups-pdf.spec - fixed dirs (cups-config --serverbin shows /...
blekot
blekot at pld-linux.org
Sat May 3 12:30:32 CEST 2008
Author: blekot Date: Sat May 3 10:30:32 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed dirs (cups-config --serverbin shows /usr/lib/cups), so cups dir removed from %files/install
---- Files affected:
SPECS:
cups-pdf.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/cups-pdf.spec
diff -u SPECS/cups-pdf.spec:1.4 SPECS/cups-pdf.spec:1.5
--- SPECS/cups-pdf.spec:1.4 Mon Nov 26 16:38:58 2007
+++ SPECS/cups-pdf.spec Sat May 3 12:30:26 2008
@@ -6,7 +6,7 @@
Summary(pl.UTF-8): Sterownik CUPS-PDF
Name: cups-pdf
Version: 2.4.6
-Release: 1
+Release: 2
License: GPL v2
Group: Applications
Source0: http://www.cups-pdf.de/src/%{name}_%{version}.tar.gz
@@ -15,6 +15,8 @@
Requires: ghostscript
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _libdir %(cups-config --serverbin 2>/dev/null)
+
%description
CUPS-PDF is designed to produce PDF files in a heterogeneous network
by providing a PDF printer on the central fileserver.
@@ -32,9 +34,9 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_libdir}/cups/backend,%{_sysconfdir}/cups,%{_datadir}/cups/model,%{_var}/spool/%{name}}
+install -d $RPM_BUILD_ROOT{%{_libdir}/backend,%{_sysconfdir}/cups,%{_datadir}/cups/model,%{_var}/spool/%{name}}
-install src/cups-pdf $RPM_BUILD_ROOT%{_libdir}/cups/backend
+install src/cups-pdf $RPM_BUILD_ROOT%{_libdir}/backend
install extra/cups-pdf.conf $RPM_BUILD_ROOT%{_sysconfdir}/cups
install extra/PostscriptColor.ppd $RPM_BUILD_ROOT%{_datadir}/cups/model
@@ -50,7 +52,7 @@
%files
%defattr(644,root,root,755)
%doc ChangeLog README
-%attr(755,root,root) %{_libdir}/cups/backend/%{name}
+%attr(755,root,root) %{_libdir}/backend/%{name}
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cups/%{name}.conf
%{_datadir}/cups/model/PostscriptColor.ppd
%dir %{_var}/spool/%{name}
@@ -61,6 +63,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2008-05-03 10:30:26 blekot
+- fixed dirs (cups-config --serverbin shows /usr/lib/cups), so cups dir removed from %files/install
+
Revision 1.4 2007-11-26 15:38:58 wolvverine
- rel.1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cups-pdf.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list