]> git.pld-linux.org Git - packages/python-html5lib.git/blob - python-html5lib.spec
- BR: unzip
[packages/python-html5lib.git] / python-html5lib.spec
1 %define         module  html5lib
2 Summary:        HTML parser/tokenizer based on the WHATWG HTML5 specification
3 Summary(pl.UTF-8):      Analizator i tokenizer HTML-a oparty na specyfikacji WHATWG HTML5
4 Name:           python-%{module}
5 Version:        0.11.1
6 Release:        1
7 License:        MIT
8 Group:          Libraries/Python
9 Source0:        http://html5lib.googlecode.com/files/%{module}-%{version}.zip
10 # Source0-md5:  f0981fcec3d69789f12f52779c55fa29
11 URL:            http://code.google.com/p/html5lib/
12 BuildRequires:  python-devel >= 1:2.5
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.219
15 BuildRequires:  unzip
16 %pyrequires_eq  python-libs
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 HTML parser/tokenizer based on the WHATWG HTML5 specification.
22
23 %description -l pl.UTF-8
24 Analizator i tokenizer HTML-a oparty na specyfikacji WHATWG HTML5.
25
26 %prep
27 %setup -q -n %{module}-%{version}
28
29 %build
30 python setup.py build
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 python setup.py install \
35         --root=$RPM_BUILD_ROOT \
36         --optimize=2
37
38 %py_postclean
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc README
46 %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
47 %{py_sitescriptdir}/%{module}
This page took 0.100437 seconds and 3 git commands to generate.