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

58 lines
1.6 KiB
RPMSpec

Name: python-html5-parser
Version: 0.4.7
Release: 1mamba
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.python.org/pypi/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: libpython-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
* 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