113 lines
3.5 KiB
RPMSpec
113 lines
3.5 KiB
RPMSpec
Name: python-xlib
|
|
Version: 0.31
|
|
Release: 1mamba
|
|
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.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython3-devel
|
|
BuildRequires: python3.7dist(six)
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: texinfo
|
|
BuildRequires: tetex
|
|
BuildRequires: tetex-dvips
|
|
|
|
%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.
|
|
|
|
%package doc
|
|
Summary: Documentation and examples for %{name}
|
|
Group: Documentation
|
|
|
|
%description doc
|
|
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.
|
|
This package contains documentation and examples for %{name}.
|
|
|
|
%if 0%{?with_pyver}
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%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)
|
|
%dir %{python_sitearch}/python_xlib-%{version}-py*.egg-info
|
|
%{python_sitearch}/python_xlib-%{version}-py*.egg-info/*
|
|
%doc LICENSE
|
|
|
|
%files doc
|
|
%defattr(-,root,root)
|
|
%doc examples doc/html
|
|
|
|
%changelog
|
|
* Sat Jul 03 2021 Automatic Build System <autodist@mambasoft.it> 0.31-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun May 16 2021 Automatic Build System <autodist@mambasoft.it> 0.30-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun May 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.29-1mamba
|
|
- update to 0.29
|
|
|
|
* 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
|