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 - 0.4.9-1 - Initial RPM spec file.