update to 1.9.68 [release 1.9.68-1mamba;Thu Nov 06 2014]
This commit is contained in:
parent
2f50c659ff
commit
12e9319f31
@ -1,20 +1,20 @@
|
|||||||
Name: python-cups
|
Name: python-cups
|
||||||
Version: 1.9.66
|
Version: 1.9.68
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: CUPS bindings for Python.
|
Summary: A set of Python bindings for the CUPS API
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://cyberelk.net/tim/software/pycups/
|
URL: http://cyberelk.net/tim/software/pycups/
|
||||||
Source: http://cyberelk.net/tim/data/pycups/pycups-%{version}.tar.bz2
|
Source: http://cyberelk.net/tim/data/pycups/pycups-%{version}.tar.bz2
|
||||||
License: GPL
|
License: GPL
|
||||||
Requires: python >= %python_version
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libcups-devel
|
BuildRequires: libcups-devel
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: python >= %python_version
|
||||||
Provides: python-pycups
|
Provides: python-pycups
|
||||||
Obsoletes: python-pycups
|
Obsoletes: python-pycups
|
||||||
Provides: pycups
|
Provides: pycups
|
||||||
@ -24,8 +24,28 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||||||
pycups is a set of Python bindings for the CUPS API.
|
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.
|
It was written for use with system-config-printer, but can be put to other uses as well.
|
||||||
|
|
||||||
%prep
|
%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})
|
||||||
|
|
||||||
|
%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
|
||||||
%setup -q -n pycups-%{version}
|
%setup -q -n pycups-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -36,18 +56,28 @@ It was written for use with system-config-printer, but can be put to other uses
|
|||||||
%{__python} setup.py install \
|
%{__python} setup.py install \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python \
|
--install-headers=%{_includedir}/python \
|
||||||
--install-lib=%{python_sitearch}
|
--install-lib=%{python_sitelib}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%if "%?with_pyver"
|
||||||
|
%files py%{pyver}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{python_sitelib}/cups.*.so
|
||||||
|
%else
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python_sitearch}/cups.so
|
%{python_sitelib}/cups.so
|
||||||
%{python_sitearch}/pycups-*-py%{python_version}.egg-info
|
%endif
|
||||||
%doc COPYING NEWS README TODO
|
%{python_sitelib}/pycups-*-py%{python_version}.egg-info
|
||||||
|
%doc COPYING
|
||||||
|
#NEWS README TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Sat Nov 30 2013 Automatic Build System <autodist@mambasoft.it> 1.9.66-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user