2024-01-06 11:01:08 +01:00
|
|
|
Name: python-cups
|
2024-04-22 22:17:54 +02:00
|
|
|
Version: 2.0.4
|
2024-04-18 14:49:03 +02: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:09 +01:00
|
|
|
URL: https://github.com/OpenPrinting/pycups
|
2024-01-06 11:01:09 +01:00
|
|
|
Source: https://pypi.debian.net/pycups/pycups-%{version}.tar.gz
|
2024-01-06 11:01:08 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libcups-devel
|
2024-01-06 11:01:09 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-06 11:01:08 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 11:01:09 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-06 11:01:08 +01:00
|
|
|
BuildRequires: libpython3-devel >= 3.7.4
|
2024-01-06 11:01:08 +01:00
|
|
|
|
|
|
|
%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:09 +01:00
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
2024-01-06 11:01:08 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 11:01:08 +01:00
|
|
|
%setup -q -n pycups-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 11:01:09 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
2024-01-06 11:01:08 +01:00
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 11:01:09 +01:00
|
|
|
|
2024-01-06 11:01:08 +01:00
|
|
|
%{__python} setup.py install \
|
2024-01-06 11:01:09 +01:00
|
|
|
-O1 --skip-build \
|
2024-01-06 11:01:08 +01:00
|
|
|
--root="%{buildroot}" \
|
2024-01-06 11:01:09 +01:00
|
|
|
--install-headers=%{python_inc} \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 11:01:08 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 11:01:09 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-06 11:01:08 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 11:01:09 +01:00
|
|
|
%{python_sitearch}/pycups-%{version}-py*.egg-info
|
2024-01-06 11:01:08 +01:00
|
|
|
%doc COPYING
|
2024-01-06 11:01:08 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-04-22 22:17:54 +02:00
|
|
|
* Mon Apr 22 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.4-1mamba
|
|
|
|
- update to 2.0.4
|
|
|
|
|
|
|
|
* Thu Apr 18 2024 Automatic Build System <autodist@openmamba.org> 2.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-18 14:49:03 +02:00
|
|
|
* Wed Apr 17 2024 Automatic Build System <autodist@openmamba.org> 2.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:01:09 +01:00
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2.0.1-3mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-06 11:01:09 +01:00
|
|
|
* Thu Jun 08 2023 Sdk Build System <sdk@mambasoft.it> 2.0.1-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-06 11:01:09 +01:00
|
|
|
* Sat Jul 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
|
|
|
|
- update to 2.0.1
|
|
|
|
|
2024-01-06 11:01:08 +01:00
|
|
|
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.74-1mamba
|
|
|
|
- update to 1.9.74
|
|
|
|
|
2024-01-06 11:01:08 +01:00
|
|
|
* Sat Mar 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.73-2mamba
|
|
|
|
- move packages from python_sitelib to _sitearch
|
|
|
|
|
2024-01-06 11:01:08 +01:00
|
|
|
* Fri Dec 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.73-1mamba
|
|
|
|
- update to 1.9.73
|
|
|
|
|
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
|