python-html5-parser/python-html5-parser.spec

71 lines
2.1 KiB
RPMSpec

Name: python-html5-parser
Version: 0.4.10
Release: 2mamba
Summary: A fast, standards compliant, C based, HTML 5 parser for python
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/html5-parser/
Source: https://pypi.debian.net/html5-parser/html5-parser-%{version}.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpython3-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n html5-parser-%{version}
%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
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%doc LICENSE
%changelog
* Mon May 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.10-2mamba
- rebuilt for python 3.10
* Wed Sep 22 2021 Automatic Build System <autodist@mambasoft.it> 0.4.10-1mamba
- automatic version update by autodist
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.9-2mamba
- rebuilt with py3* packages
* Tue Nov 05 2019 Automatic Build System <autodist@mambasoft.it> 0.4.9-1mamba
- automatic version update by autodist
* Thu Jul 25 2019 Automatic Build System <autodist@mambasoft.it> 0.4.8-1mamba
- automatic version update by autodist
* Tue Jun 04 2019 Automatic Build System <autodist@mambasoft.it> 0.4.7-1mamba
- automatic version update by autodist
* Tue May 14 2019 Automatic Build System <autodist@mambasoft.it> 0.4.6-1mamba
- automatic version update by autodist
* Mon Apr 23 2018 Automatic Build System <autodist@mambasoft.it> 0.4.5-1mamba
- automatic version update by autodist
* Fri Oct 27 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.4-1mamba
- package created using the webbuild interface