python-xlib-py27/python-xlib-py27.spec

93 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-xlib-py27
Version: 0.27
Release: 2mamba
Summary: X client library for Python
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://python-xlib.sourceforge.net/
Source: https://pypi.debian.net/python-xlib/python-xlib-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython27-devel
BuildRequires: python2.7dist(six)
## AUTOBUILDREQ-END
BuildRequires: texinfo
BuildRequires: tetex
BuildRequires: tetex-dvips
Provides: python-xlib
Obsoletes: python-xlib <= 0.27-1mamba
%description
The Python X Library is a complete X11R6 client-side implementation, written in pure Python. It can be used to write low-levelish X Windows client applications in Python.
%prep
%setup -q -n python-xlib-%{version}
%build
CFLAGS="%{optflags}" %{__python27} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python27} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python27_inc} \
--install-lib=%{python27_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.filelist
%defattr(-,root,root)
%dir %{python27_sitearch}/python_xlib-%{version}-py*.egg-info
%{python27_sitearch}/python_xlib-%{version}-py*.egg-info/*
%doc LICENSE
%changelog
* Mon May 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.27-2mamba
- pythoen 2.7 legacy package
* Thu Apr 09 2020 Automatic Build System <autodist@mambasoft.it> 0.27-1mamba
- automatic version update by autodist
* Tue Dec 31 2019 Automatic Build System <autodist@mambasoft.it> 0.26-1mamba
- automatic version update by autodist
* Sun Sep 22 2019 Automatic Build System <autodist@mambasoft.it> 0.25-1mamba
- automatic version update by autodist
* Wed Jan 30 2019 Automatic Build System <autodist@mambasoft.it> 0.24-1mamba
- automatic version update by autodist
* Sat Mar 24 2018 Automatic Build System <autodist@mambasoft.it> 0.23-1mamba
- automatic version update by autodist
* Sun Mar 18 2018 Automatic Build System <autodist@mambasoft.it> 0.22-1mamba
- automatic version update by autodist
* Tue Dec 19 2017 Automatic Build System <autodist@mambasoft.it> 0.21-1mamba
- automatic update by autodist
* Fri Sep 08 2017 Automatic Build System <autodist@mambasoft.it> 0.20-1mamba
- automatic version update by autodist
* Mon Mar 06 2017 Automatic Build System <autodist@mambasoft.it> 0.19-1mamba
- automatic version update by autodist
* Wed Dec 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18-1mamba
- update to 0.18
* Sat Oct 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15rc1-1mamba
- update to 0.15rc1
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14-2mamba
- python 2.7 mass rebuild
* Sat Jan 10 2009 gil <puntogil@libero.it> 0.14-1mamba
- package created by autospec