111 lines
3.4 KiB
RPMSpec
111 lines
3.4 KiB
RPMSpec
Name: python-cups
|
|
Version: 2.0.1
|
|
Release: 2mamba
|
|
Summary: A set of Python bindings for the CUPS API
|
|
Group: System/Libraries/Python
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/OpenPrinting/pycups
|
|
Source: https://pypi.debian.net/pycups/pycups-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libcups-devel
|
|
BuildRequires: libpython3-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libpython3-devel >= 3.7.4
|
|
|
|
%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.
|
|
|
|
%if "%{?with_pyver}"
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n pycups-%{version}
|
|
|
|
%build
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
-O1 --skip-build \
|
|
--root="%{buildroot}" \
|
|
--install-headers=%{python_inc} \
|
|
--install-lib=%{python_sitearch} \
|
|
--record=%{name}.filelist
|
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
%{python_sitearch}/pycups-%{version}-py*.egg-info
|
|
%doc COPYING
|
|
|
|
%changelog
|
|
* Thu Jun 08 2023 Sdk Build System <sdk@mambasoft.it> 2.0.1-2mamba
|
|
- rebuilt with python 3.10
|
|
|
|
* Sat Jul 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
|
|
- update to 2.0.1
|
|
|
|
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.74-1mamba
|
|
- update to 1.9.74
|
|
|
|
* Sat Mar 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.73-2mamba
|
|
- move packages from python_sitelib to _sitearch
|
|
|
|
* Fri Dec 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.73-1mamba
|
|
- update to 1.9.73
|
|
|
|
* Thu Nov 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.68-1mamba
|
|
- update to 1.9.68
|
|
|
|
* 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
|