update to 0.29 [release 0.29-1mamba;Sun May 09 2021]
This commit is contained in:
parent
547d3f9c4a
commit
f8304f2cab
@ -1,5 +1,5 @@
|
|||||||
Name: python-xlib
|
Name: python-xlib
|
||||||
Version: 0.27
|
Version: 0.29
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: X client library for Python
|
Summary: X client library for Python
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
@ -7,17 +7,15 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://python-xlib.sourceforge.net/
|
URL: http://python-xlib.sourceforge.net/
|
||||||
Source: https://pypi.debian.net/python-xlib/python-xlib-%{version}.tar.bz2
|
Source: https://pypi.debian.net/python-xlib/python-xlib-%{version}.tar.gz
|
||||||
License: GPL
|
License: GPL
|
||||||
#PreReq: %{__install_info}
|
|
||||||
Requires: python >= %python_version
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: python3.7dist(six)
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: texinfo
|
BuildRequires: texinfo
|
||||||
BuildRequires: tetex
|
BuildRequires: tetex
|
||||||
BuildRequires: tetex-dvips
|
BuildRequires: tetex-dvips
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%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.
|
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.
|
||||||
@ -25,68 +23,39 @@ The Python X Library is a complete X11R6 client-side implementation, written in
|
|||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation and examples for %{name}
|
Summary: Documentation and examples for %{name}
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description doc
|
%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.
|
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}.
|
This package contains documentation and examples for %{name}.
|
||||||
.
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
#cd doc
|
|
||||||
#make html ps
|
|
||||||
#cd html
|
|
||||||
#rm Makefile texi2html
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
#%{__python} setup.py install \
|
%{__python} setup.py install \
|
||||||
# --root="%{buildroot}" \
|
-O1 --skip-build \
|
||||||
# --install-headers=%{_includedir}/python \
|
--root="%{buildroot}" \
|
||||||
# --install-lib=%{python_sitearch}
|
--install-headers=%{python_inc} \
|
||||||
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
--install-lib=%{python_sitearch} \
|
||||||
chmod a-x examples/*.py
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
#%post
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
#%install_info <pagina-info>
|
|
||||||
|
|
||||||
#%preun
|
|
||||||
#%uninstall_info <pagina-info>
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
#%{python_sitearch}/python_xlib-0.12-py%{python_version}.egg-info
|
%dir %{python_sitearch}/python_xlib-%{version}-py*.egg-info
|
||||||
%dir %{python_sitelib}/Xlib
|
%{python_sitearch}/python_xlib-%{version}-py*.egg-info/*
|
||||||
%{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
|
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
@ -94,6 +63,9 @@ chmod a-x examples/*.py
|
|||||||
%doc examples doc/html
|
%doc examples doc/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Thu Apr 09 2020 Automatic Build System <autodist@mambasoft.it> 0.27-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user