]> git.pld-linux.org Git - packages/python-html5lib.git/blob - python-html5lib.spec
6ebfce340b067a9a1fd12999f2833dcbdcd9f592
[packages/python-html5lib.git] / python-html5lib.spec
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
5 Name:           python-%{module}
6 Version:        0.95
7 Release:        1
8 License:        MIT
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
17 BuildRequires:  unzip
18 %pyrequires_eq  python-libs
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 HTML parser/tokenizer based on the WHATWG HTML5 specification.
24
25 %description -l pl.UTF-8
26 Analizator i tokenizer HTML-a oparty na specyfikacji WHATWG HTML5.
27
28 %prep
29 %setup -q -n %{module}-python-%{version}
30
31 %build
32 %py_build
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %py_install
38
39 %py_postclean
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc README
47 %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
48 %{py_sitescriptdir}/%{module}
This page took 0.188509 seconds and 2 git commands to generate.