packages python-html5-parser.spec
      Pages: < 1 >  DOWNLOAD      
Name:          python-html5-parser
Version:       0.4.5
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@...>
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
* Mon Apr 23 2018 Automatic Build System <autodist@...> 0.4.5-1mamba
- automatic version update by autodist

* Fri Oct 27 2017 Silvan Calarco <silvan.calarco@...> 0.4.4-1mamba
- package created using the webbuild interface