From 2f50c659fffff3a5a20ec8039280b3d0b5b95b3e Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 11:01:08 +0100 Subject: [PATCH] automatic update by autodist [release 1.9.66-1mamba;Sat Nov 30 2013] --- README.md | 3 ++ python-cups.spec | 89 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 python-cups.spec diff --git a/README.md b/README.md index d9ae616..8cef5a0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # python-cups +pycups is a set of Python bindings for the CUPS API. +It was written for use with system-config-printer, but can be put to other uses as well. + diff --git a/python-cups.spec b/python-cups.spec new file mode 100644 index 0000000..b8eeeb0 --- /dev/null +++ b/python-cups.spec @@ -0,0 +1,89 @@ +Name: python-cups +Version: 1.9.66 +Release: 1mamba +Summary: CUPS bindings for Python. +Group: System/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://cyberelk.net/tim/software/pycups/ +Source: http://cyberelk.net/tim/data/pycups/pycups-%{version}.tar.bz2 +License: GPL +Requires: python >= %python_version +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libcups-devel +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Provides: python-pycups +Obsoletes: python-pycups +Provides: pycups +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +pycups is a set of Python bindings for the CUPS API. +It was written for use with system-config-printer, but can be put to other uses as well. + +%prep + +%setup -q -n pycups-%{version} + +%build +##CFLAGS="%{optflags}" python setup.py build +%make +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{python_sitearch}/cups.so +%{python_sitearch}/pycups-*-py%{python_version}.egg-info +%doc COPYING NEWS README TODO + +%changelog +* Sat Nov 30 2013 Automatic Build System 1.9.66-1mamba +- automatic update by autodist + +* Fri Jul 05 2013 Automatic Build System 1.9.63-1mamba +- automatic version update by autodist + +* Fri May 17 2013 Silvan Calarco 1.9.62-2mamba +- python 2.7 mass rebuild + +* Sat Aug 11 2012 Automatic Build System 1.9.62-1mamba +- automatic version update by autodist + +* Wed Apr 25 2012 Automatic Build System 1.9.61-1mamba +- automatic version update by autodist + +* Fri Jun 17 2011 Automatic Build System 1.9.57-1mamba +- automatic update by autodist + +* Tue Jun 29 2010 Automatic Build System 1.9.51-1mamba +- automatic update by autodist + +* Sun Jun 20 2010 Automatic Build System 1.9.50-1mamba +- automatic update by autodist + +* Thu Jan 14 2010 Automatic Build System 1.9.47-1mamba +- automatic update by autodist + +* Sat Jun 20 2009 Automatic Build System 1.9.46-1mamba +- automatic update by autodist + +* Tue Feb 24 2009 Silvan Calarco 1.9.45-1mamba +- automatic update by autodist + +* Sat Dec 06 2008 Silvan Calarco 1.9.44-1mamba +- update to 1.9.44 +- rename to python-cups + +* Wed Oct 15 2008 gil 1.9.42-1mamba +- package created by autospec