2024-01-05 16:54:26 +01:00
|
|
|
Name: python-xlib
|
2024-01-05 16:54:26 +01:00
|
|
|
Version: 0.18
|
2024-01-05 16:54:26 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 16:54:26 +01:00
|
|
|
Summary: X client library for Python
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 16:54:26 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 16:54:26 +01:00
|
|
|
URL: http://python-xlib.sourceforge.net/
|
2024-01-05 16:54:26 +01:00
|
|
|
Source: https://pypi.debian.net/python-xlib/python-xlib-%{version}.tar.bz2
|
2024-01-05 16:54:26 +01:00
|
|
|
License: GPL
|
|
|
|
#PreReq: %{__install_info}
|
|
|
|
Requires: python >= %python_version
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: texinfo
|
|
|
|
BuildRequires: tetex
|
|
|
|
BuildRequires: tetex-dvips
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
2024-01-05 16:54:26 +01:00
|
|
|
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.
|
2024-01-05 16:54:26 +01:00
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation and examples for %{name}
|
|
|
|
Group: Documentation
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description doc
|
2024-01-05 16:54:26 +01:00
|
|
|
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.
|
2024-01-05 16:54:26 +01:00
|
|
|
This package contains documentation and examples for %{name}.
|
|
|
|
.
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
2024-01-05 16:54:26 +01:00
|
|
|
#cd doc
|
|
|
|
#make html ps
|
|
|
|
#cd html
|
|
|
|
#rm Makefile texi2html
|
2024-01-05 16:54:26 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
#%{__python} setup.py install \
|
|
|
|
# --root="%{buildroot}" \
|
|
|
|
# --install-headers=%{_includedir}/python \
|
|
|
|
# --install-lib=%{python_sitearch}
|
|
|
|
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
|
chmod a-x examples/*.py
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
#%post
|
|
|
|
#%install_info <pagina-info>
|
|
|
|
|
|
|
|
#%preun
|
|
|
|
#%uninstall_info <pagina-info>
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
#%{python_sitearch}/python_xlib-0.12-py%{python_version}.egg-info
|
2024-01-05 16:54:26 +01:00
|
|
|
%dir %{python_sitelib}/Xlib
|
|
|
|
%{python_sitelib}/Xlib/*.py
|
|
|
|
%{python_sitelib}/Xlib/*.pyc
|
|
|
|
%{python_sitelib}/Xlib/*.pyo
|
|
|
|
%dir %{python_sitelib}/Xlib/ext
|
|
|
|
%{python_sitelib}/Xlib/ext/*.py
|
|
|
|
%{python_sitelib}/Xlib/ext/*.pyc
|
|
|
|
%{python_sitelib}/Xlib/ext/*.pyo
|
|
|
|
%dir %{python_sitelib}/Xlib/keysymdef
|
|
|
|
%{python_sitelib}/Xlib/keysymdef/*.py
|
|
|
|
%{python_sitelib}/Xlib/keysymdef/*.pyc
|
|
|
|
%{python_sitelib}/Xlib/keysymdef/*.pyo
|
|
|
|
%dir %{python_sitelib}/Xlib/protocol
|
|
|
|
%{python_sitelib}/Xlib/protocol/*.py
|
|
|
|
%{python_sitelib}/Xlib/protocol/*.pyc
|
|
|
|
%{python_sitelib}/Xlib/protocol/*.pyo
|
|
|
|
%dir %{python_sitelib}/Xlib/support
|
|
|
|
%{python_sitelib}/Xlib/support/*.py
|
|
|
|
%{python_sitelib}/Xlib/support/*.pyc
|
|
|
|
%{python_sitelib}/Xlib/support/*.pyo
|
|
|
|
%dir %{python_sitelib}/Xlib/xobject
|
|
|
|
%{python_sitelib}/Xlib/xobject/*.py
|
|
|
|
%{python_sitelib}/Xlib/xobject/*.pyc
|
|
|
|
%{python_sitelib}/Xlib/xobject/*.pyo
|
|
|
|
%{python_sitelib}/python_xlib-*.egg-info
|
2024-01-05 16:54:26 +01:00
|
|
|
%doc LICENSE
|
2024-01-05 16:54:26 +01:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:54:26 +01:00
|
|
|
%doc examples doc/html
|
2024-01-05 16:54:26 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:54:26 +01:00
|
|
|
* Wed Dec 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18-1mamba
|
|
|
|
- update to 0.18
|
|
|
|
|
2024-01-05 16:54:26 +01:00
|
|
|
* Sat Oct 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15rc1-1mamba
|
|
|
|
- update to 0.15rc1
|
|
|
|
|
2024-01-05 16:54:26 +01:00
|
|
|
* 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
|