2024-01-06 11:01:08 +01:00
|
|
|
Name: python-cups
|
2024-01-06 11:01:08 +01:00
|
|
|
Version: 1.9.68
|
2024-01-06 11:01:08 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 11:01:08 +01:00
|
|
|
Summary: A set of Python bindings for the CUPS API
|
2024-01-06 11:01:08 +01:00
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 11:01:08 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 11:01:08 +01:00
|
|
|
URL: http://cyberelk.net/tim/software/pycups/
|
|
|
|
Source: http://cyberelk.net/tim/data/pycups/pycups-%{version}.tar.bz2
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libcups-devel
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 11:01:08 +01:00
|
|
|
Requires: python >= %python_version
|
2024-01-06 11:01:08 +01:00
|
|
|
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.
|
|
|
|
|
2024-01-06 11:01:08 +01:00
|
|
|
%if "%?with_pyver"
|
|
|
|
%define pyver %{with_pyver}
|
|
|
|
%define __python %(rpm --eval %{__python%{with_pyver}})
|
|
|
|
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
|
|
|
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
|
|
|
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
|
|
|
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
|
|
|
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
|
|
|
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
|
|
|
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
2024-01-06 11:01:08 +01:00
|
|
|
|
2024-01-06 11:01:08 +01:00
|
|
|
%package py%{pyver}
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: A set of Python bindings for the CUPS API
|
|
|
|
%py_requires
|
|
|
|
|
|
|
|
%description py%{pyver}
|
|
|
|
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.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 11:01:08 +01:00
|
|
|
%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 \
|
2024-01-06 11:01:08 +01:00
|
|
|
--install-lib=%{python_sitelib}
|
2024-01-06 11:01:08 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 11:01:08 +01:00
|
|
|
%if "%?with_pyver"
|
|
|
|
%files py%{pyver}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{python_sitelib}/cups.*.so
|
|
|
|
%else
|
2024-01-06 11:01:08 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 11:01:08 +01:00
|
|
|
%{python_sitelib}/cups.so
|
|
|
|
%endif
|
|
|
|
%{python_sitelib}/pycups-*-py%{python_version}.egg-info
|
|
|
|
%doc COPYING
|
|
|
|
#NEWS README TODO
|
2024-01-06 11:01:08 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:01:08 +01:00
|
|
|
* Thu Nov 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.68-1mamba
|
|
|
|
- update to 1.9.68
|
|
|
|
|
2024-01-06 11:01:08 +01:00
|
|
|
* Sat Nov 30 2013 Automatic Build System <autodist@mambasoft.it> 1.9.66-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Jul 05 2013 Automatic Build System <autodist@mambasoft.it> 1.9.63-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.62-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 1.9.62-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Apr 25 2012 Automatic Build System <autodist@mambasoft.it> 1.9.61-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 17 2011 Automatic Build System <autodist@mambasoft.it> 1.9.57-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 29 2010 Automatic Build System <autodist@mambasoft.it> 1.9.51-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Jun 20 2010 Automatic Build System <autodist@mambasoft.it> 1.9.50-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 14 2010 Automatic Build System <autodist@mambasoft.it> 1.9.47-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jun 20 2009 Automatic Build System <autodist@mambasoft.it> 1.9.46-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Feb 24 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.45-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.44-1mamba
|
|
|
|
- update to 1.9.44
|
|
|
|
- rename to python-cups
|
|
|
|
|
|
|
|
* Wed Oct 15 2008 gil <puntogil@libero.it> 1.9.42-1mamba
|
|
|
|
- package created by autospec
|