From 7e428758339499906ff403e4b86599ffe4467b95 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:54:37 +0100 Subject: [PATCH] pythoen 2.7 legacy package [release 0.27-2mamba;Mon May 10 2021] --- README.md | 2 + python-xlib-py27.spec | 92 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 python-xlib-py27.spec diff --git a/README.md b/README.md index c5c2e4b..30e4e93 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-xlib-py27 +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. + diff --git a/python-xlib-py27.spec b/python-xlib-py27.spec new file mode 100644 index 0000000..3990c13 --- /dev/null +++ b/python-xlib-py27.spec @@ -0,0 +1,92 @@ +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 +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 0.27-2mamba +- pythoen 2.7 legacy package + +* Thu Apr 09 2020 Automatic Build System 0.27-1mamba +- automatic version update by autodist + +* Tue Dec 31 2019 Automatic Build System 0.26-1mamba +- automatic version update by autodist + +* Sun Sep 22 2019 Automatic Build System 0.25-1mamba +- automatic version update by autodist + +* Wed Jan 30 2019 Automatic Build System 0.24-1mamba +- automatic version update by autodist + +* Sat Mar 24 2018 Automatic Build System 0.23-1mamba +- automatic version update by autodist + +* Sun Mar 18 2018 Automatic Build System 0.22-1mamba +- automatic version update by autodist + +* Tue Dec 19 2017 Automatic Build System 0.21-1mamba +- automatic update by autodist + +* Fri Sep 08 2017 Automatic Build System 0.20-1mamba +- automatic version update by autodist + +* Mon Mar 06 2017 Automatic Build System 0.19-1mamba +- automatic version update by autodist + +* Wed Dec 14 2016 Silvan Calarco 0.18-1mamba +- update to 0.18 + +* Sat Oct 04 2014 Silvan Calarco 0.15rc1-1mamba +- update to 0.15rc1 + +* Fri May 17 2013 Silvan Calarco 0.14-2mamba +- python 2.7 mass rebuild + +* Sat Jan 10 2009 gil 0.14-1mamba +- package created by autospec