package created using the webbuild interface [release 0.4.4-1mamba;Fri Oct 27 2017]
This commit is contained in:
parent
25d679efd1
commit
babbe94172
@ -1,2 +1,4 @@
|
|||||||
# python-html5-parser
|
# python-html5-parser
|
||||||
|
|
||||||
|
A *fast*, standards compliant, C based, HTML 5 parser for python.
|
||||||
|
|
||||||
|
48
python-html5-parser.spec
Normal file
48
python-html5-parser.spec
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
Name: python-html5-parser
|
||||||
|
Version: 0.4.4
|
||||||
|
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
|
||||||
|
* Fri Oct 27 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.4-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user