[pyppd] Initial RPM spec file.

Tim Waugh twaugh at fedoraproject.org
Fri Aug 19 12:46:44 UTC 2011


commit d1c13573823e0dba8405929a78a96ed1cd4ba9f2
Author: Tim Waugh <twaugh at redhat.com>
Date:   Fri Aug 19 13:35:27 2011 +0100

    Initial RPM spec file.

 .gitignore |    1 +
 pyppd.spec |   36 ++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 38 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..69cb170 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyppd-0.4.9.tar.gz
diff --git a/pyppd.spec b/pyppd.spec
new file mode 100644
index 0000000..02b8d07
--- /dev/null
+++ b/pyppd.spec
@@ -0,0 +1,36 @@
+Summary:       PPD file compressor and generator for CUPS
+Name:          pyppd
+Version:       0.4.9
+Release:       1%{?dist}
+URL:           http://pypi.python.org/pypi/pyppd
+Source:        http://pypi.python.org/packages/source/p/pyppd/pyppd-%{version}.tar.gz
+License:       GPLv3
+Group:         Applications/File
+BuildRequires: python2-devel
+BuildArch:     noarch
+
+%description
+This program holds a compressed archive of PostScript Printer
+Description files.  It can generate the PPD files on the fly for CUPS.
+
+%prep
+%setup -q
+sed -i -e '1s,^#!/usr/bin/env python,#!/usr/bin/python,' pyppd/pyppd-ppdfile.in
+
+%build
+python setup.py build
+
+%install
+python setup.py install --skip-build --root %buildroot
+
+%files
+%doc LICENSE.txt README.txt ISSUES.txt CHANGES*.txt
+# This directory includes pyppd-ppdfile.in which looks like a script
+# but is only a template.  For that reason it is *not* executable.
+%{python_sitelib}/%{name}/
+%{python_sitelib}/*.egg-info
+%{_bindir}/%{name}
+
+%changelog
+* Wed Aug 17 2011 Tim Waugh <twaugh at redhat.com> - 0.4.9-1
+- Initial RPM spec file.
diff --git a/sources b/sources
index e69de29..1138c2a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7161916c91af10b0493fa6b31ff53a0d  pyppd-0.4.9.tar.gz


More information about the scm-commits mailing list