SPECS: cups-pdf.spec (NEW) - init
wolvverine
wolvverine at pld-linux.org
Thu Aug 2 22:33:28 CEST 2007
Author: wolvverine Date: Thu Aug 2 20:33:28 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- init
---- Files affected:
SPECS:
cups-pdf.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/cups-pdf.spec
diff -u /dev/null SPECS/cups-pdf.spec:1.1
--- /dev/null Thu Aug 2 22:33:28 2007
+++ SPECS/cups-pdf.spec Thu Aug 2 22:33:23 2007
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+#
+#TODO - add contrib dir
+
+Summary: CUPS-PDF
+Summary(pl.UTF-8): CUPS-PDF
+Name: cups-pdf
+Version: 2.4.6
+Release: 0.1
+License: GPL v2
+Group: Applications
+Source0: http://www.cups-pdf.de/src/%{name}_%{version}.tar.gz
+# Source0-md5: 610a2e1d9ecd27ab978efaa6d93ddba3
+URL: http://www.cups-pdf.de/
+Requires: ghostscript
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+CUPS-PDF is designed to produce PDF files in a heterogeneous network
+by providing a PDF printer on the central fileserver.
+
+%prep
+%setup -q
+
+%build
+cd src
+%{__cc} -O9 -s -o cups-pdf cups-pdf.c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir}/cups/backend,%{_sysconfdir}/cups,%{_datadir}/cups/model}
+
+install src/cups-pdf $RPM_BUILD_ROOT%{_libdir}/cups/backend
+install extra/cups-pdf.conf $RPM_BUILD_ROOT%{_sysconfdir}/cups
+install extra/PostscriptColor.ppd $RPM_BUILD_ROOT%{_datadir}/cups/model
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%service cups restart "cups daemon"
+
+%postun
+%service cups restart "cups daemon"
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%attr(755,root,root) %{_libdir}/cups/backend/%{name}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cups/%{name}.conf
+%{_datadir}/cups/model/PostscriptColor.ppd
+
+%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.1 2007/08/02 20:33:23 wolvverine
+- init
+
+
================================================================
More information about the pld-cvs-commit
mailing list