python-lxml/python-lxml.spec

256 lines
8.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-lxml
Version: 4.9.0
Release: 1mamba
Summary: Python binding for the libxml2 and libxslt libraries
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://lxml.de/
Source: http://pypi.debian.net/lxml/lxml-%{version}.tar.gz
License: BSD, MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpython3-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%description
lxml is a Pythonic binding for the libxml2 and libxslt libraries.
It is unique in that it combines the speed and feature completeness of these libraries with the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API.
%package doc
Group: Documentation
Summary: Documentation package for %{name}
%description doc
lxml is a Pythonic binding for the libxml2 and libxslt libraries.
It is unique in that it combines the speed and feature completeness of these libraries with the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API.
This package contains the documentation files.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep
%setup -q -n lxml-%{version}
chmod a-x doc/rest2html.py
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--single-version-externally-managed \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
rm -f doc/html/pubkey.asc
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/lxml-%{version}-py*.egg-info
%{python_sitearch}/lxml-%{version}-py*.egg-info/*
%doc CREDITS.txt LICENSES.txt
%files doc
%defattr(-,root,root)
%doc doc/* benchmark
%doc CHANGES.txt TODO.txt
%changelog
* Thu Jun 02 2022 Automatic Build System <autodist@mambasoft.it> 4.9.0-1mamba
- automatic version update by autodist
* Wed Apr 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.0-2mamba
- rebuilt with python 3.10
* Fri Feb 18 2022 Automatic Build System <autodist@mambasoft.it> 4.8.0-1mamba
- automatic version update by autodist
* Tue Dec 14 2021 Automatic Build System <autodist@mambasoft.it> 4.7.1-1mamba
- automatic version update by autodist
* Mon Dec 13 2021 Automatic Build System <autodist@mambasoft.it> 4.6.5-1mamba
- automatic version update by autodist
* Thu Nov 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.4-1mamba
- update to 4.6.4
* Sat Apr 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.3-2mamba
- rebuilt with distdeps
* Mon Mar 22 2021 Automatic Build System <autodist@mambasoft.it> 4.6.3-1mamba
- automatic version update by autodist
* Wed Dec 02 2020 Automatic Build System <autodist@mambasoft.it> 4.6.2-1mamba
- automatic version update by autodist
* Mon Oct 19 2020 Automatic Build System <autodist@mambasoft.it> 4.6.1-1mamba
- automatic version update by autodist
* Sun Oct 18 2020 Automatic Build System <autodist@mambasoft.it> 4.6.0-1mamba
- automatic version update by autodist
* Sat Jul 11 2020 Automatic Build System <autodist@mambasoft.it> 4.5.2-1mamba
- automatic version update by autodist
* Tue May 19 2020 Automatic Build System <autodist@mambasoft.it> 4.5.1-1mamba
- automatic version update by autodist
* Thu Feb 13 2020 Automatic Build System <autodist@mambasoft.it> 4.5.0-1mamba
- automatic version update by autodist
* Wed Nov 27 2019 Automatic Build System <autodist@mambasoft.it> 4.4.2-1mamba
- automatic version update by autodist
* Tue Aug 13 2019 Automatic Build System <autodist@mambasoft.it> 4.4.1-1mamba
- automatic version update by autodist
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.0-1mamba
- update to 4.4.0
* Fri Jan 04 2019 Automatic Build System <autodist@mambasoft.it> 4.2.6-1mamba
- automatic version update by autodist
* Tue Sep 11 2018 Automatic Build System <autodist@mambasoft.it> 4.2.5-1mamba
- automatic version update by autodist
* Mon Aug 06 2018 Automatic Build System <autodist@mambasoft.it> 4.2.4-1mamba
- automatic version update by autodist
* Tue Jul 03 2018 Automatic Build System <autodist@mambasoft.it> 4.2.3-1mamba
- automatic version update by autodist
* Tue Jun 26 2018 Automatic Build System <autodist@mambasoft.it> 4.2.2-1mamba
- automatic version update by autodist
* Wed Apr 04 2018 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
- automatic version update by autodist
* Wed Nov 22 2017 Automatic Build System <autodist@mambasoft.it> 4.1.1-1mamba
- automatic update by autodist
* Tue Oct 24 2017 Automatic Build System <autodist@mambasoft.it> 4.1.0-1mamba
- automatic version update by autodist
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Sun Mar 05 2017 Automatic Build System <autodist@mambasoft.it> 3.7.3-1mamba
- automatic version update by autodist
* Mon Jan 09 2017 Automatic Build System <autodist@mambasoft.it> 3.7.2-1mamba
- automatic version update by autodist
* Sat Dec 24 2016 Automatic Build System <autodist@mambasoft.it> 3.7.1-1mamba
- automatic version update by autodist
* Fri Dec 16 2016 Automatic Build System <autodist@mambasoft.it> 3.7.0-1mamba
- automatic version update by autodist
* Wed Aug 31 2016 Automatic Build System <autodist@mambasoft.it> 3.6.4-1mamba
- automatic version update by autodist
* Thu Mar 24 2016 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- automatic version update by autodist
* Mon Nov 16 2015 Automatic Build System <autodist@mambasoft.it> 3.5.0-1mamba
- automatic version update by autodist
* Mon Jun 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.4-2mamba
- rebuilt with -py3 package
* Mon Apr 27 2015 Automatic Build System <autodist@mambasoft.it> 3.4.4-1mamba
- automatic version update by autodist
* Fri Apr 17 2015 Automatic Build System <autodist@mambasoft.it> 3.4.3-1mamba
- automatic version update by autodist
* Sun Feb 08 2015 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
- automatic version update by autodist
* Fri Nov 21 2014 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
- automatic version update by autodist
* Thu Sep 11 2014 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
- automatic version update by autodist
* Thu Aug 28 2014 Automatic Build System <autodist@mambasoft.it> 3.3.6-1mamba
- automatic version update by autodist
* Fri Apr 18 2014 Automatic Build System <autodist@mambasoft.it> 3.3.5-1mamba
- automatic version update by autodist
* Fri Apr 04 2014 Automatic Build System <autodist@mambasoft.it> 3.3.4-1mamba
- automatic version update by autodist
* Mon Mar 17 2014 Automatic Build System <autodist@mambasoft.it> 3.3.3-1mamba
- automatic version update by autodist
* Sun Mar 02 2014 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
- automatic version update by autodist
* Thu Feb 06 2014 Automatic Build System <autodist@mambasoft.it> 3.3.0-1mamba
- automatic version update by autodist
* Wed Dec 04 2013 Automatic Build System <autodist@mambasoft.it> 3.2.4-1mamba
- automatic version update by autodist
* Sun Aug 04 2013 Automatic Build System <autodist@mambasoft.it> 3.2.3-1mamba
- automatic update by autodist
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba
- python 2.7 mass rebuild
* Sat Apr 13 2013 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
- automatic version update by autodist
* Tue Dec 18 2012 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Sun Oct 14 2012 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic version update by autodist
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 2.3.5-1mamba
- automatic version update by autodist
* Tue Dec 20 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.3.2-1mamba
- update to 2.3.2
* Wed Oct 12 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.3.1-1mamba
- update to 2.3.1
* Mon May 23 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.3-1mamba
- update to 2.3
* Fri Oct 15 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.2.8-1mamba
- update to 2.2.8
- added doc package
* Thu Jul 29 2010 Automatic Build System <autodist@mambasoft.it> 2.2.7-1mamba
- automatic update by autodist
* Thu Apr 15 2010 Automatic Build System <autodist@mambasoft.it> 2.2.6-1mamba
- automatic update by autodist
* Wed Jan 13 2010 Automatic Build System <autodist@mambasoft.it> 2.2.4-1mamba
- automatic update by autodist
* Fri Aug 28 2009 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
- automatic update by autodist
* Sat Jan 10 2009 gil <puntogil@libero.it> 2.1.5-1mamba
- package created by autospec