1 # TODO: python3 support since 0.99
2 %define module html5lib
3 Summary: HTML parser/tokenizer based on the WHATWG HTML5 specification
4 Summary(pl.UTF-8): Analizator i tokenizer HTML-a oparty na specyfikacji WHATWG HTML5
9 Group: Libraries/Python
10 #Source0Download: https://github.com/html5lib/html5lib-python/releases
11 Source0: https://github.com/html5lib/html5lib-python/archive/%{version}/%{module}-%{version}.tar.gz
12 # Source0-md5: f240ce1af4402d0439cbf1ba26f5d93c
13 URL: https://github.com/html5lib/
14 BuildRequires: python-devel >= 1:2.5
15 BuildRequires: rpm-pythonprov
16 BuildRequires: rpmbuild(macros) >= 1.714
18 %pyrequires_eq python-libs
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 HTML parser/tokenizer based on the WHATWG HTML5 specification.
25 %description -l pl.UTF-8
26 Analizator i tokenizer HTML-a oparty na specyfikacji WHATWG HTML5.
29 %setup -q -n %{module}-python-%{version}
35 rm -rf $RPM_BUILD_ROOT
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
47 %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
48 %{py_sitescriptdir}/%{module}