]>
Commit | Line | Data |
---|---|---|
f90d5fea PZ |
1 | %define module html5lib |
2 | Summary: HTML parser/tokenizer based on the WHATWG HTML5 specification | |
7d3ef1a6 | 3 | Summary(pl.UTF-8): Analizator i tokenizer HTML-a oparty na specyfikacji WHATWG HTML5 |
f90d5fea | 4 | Name: python-%{module} |
d310f2e2 | 5 | Version: 0.90 |
52ff1b3d | 6 | Release: 3 |
f90d5fea PZ |
7 | License: MIT |
8 | Group: Libraries/Python | |
9 | Source0: http://html5lib.googlecode.com/files/%{module}-%{version}.zip | |
d310f2e2 | 10 | # Source0-md5: 691e6b9ebe15b333a28280974b2ce432 |
f90d5fea | 11 | URL: http://code.google.com/p/html5lib/ |
7d3ef1a6 JB |
12 | BuildRequires: python-devel >= 1:2.5 |
13 | BuildRequires: rpm-pythonprov | |
05b0d526 | 14 | BuildRequires: rpmbuild(macros) >= 1.710 |
3445fb60 | 15 | BuildRequires: unzip |
7d3ef1a6 JB |
16 | %pyrequires_eq python-libs |
17 | BuildArch: noarch | |
f90d5fea PZ |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
7d3ef1a6 JB |
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. | |
f90d5fea PZ |
25 | |
26 | %prep | |
27 | %setup -q -n %{module}-%{version} | |
28 | ||
29 | %build | |
90ae2c8f | 30 | %py_build |
f90d5fea PZ |
31 | |
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
90ae2c8f | 34 | %py_install |
f90d5fea | 35 | |
7d3ef1a6 | 36 | %py_postclean |
f90d5fea PZ |
37 | |
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc README | |
44 | %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info | |
45 | %{py_sitescriptdir}/%{module} |