Blob Blame History Raw
Summary:       PPD file compressor and generator for CUPS
Name:          pyppd
Version:       0.4.9
Release:       6%{?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
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.9-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.9-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Wed Aug 17 2011 Tim Waugh <twaugh@redhat.com> - 0.4.9-1
- Initial RPM spec file.