]> git.pld-linux.org Git - SPECS.git/blob - python-pullparser.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / python-pullparser.spec
1 %define         module  pullparser
2
3 Summary:        Python package providing a module for parsing HTML
4 Summary(pl.UTF-8):      Pakiet zawierający moduł analizatora HTML
5 Name:           python-%{module}
6 Version:        0.0.5b
7 Release:        4
8 License:        Artistic
9 Group:          Development/Languages/Python
10 Source0:        http://wwwsearch.sourceforge.net/%{module}/src/%{module}-%{version}.tar.gz
11 # Source0-md5:  e4e238ead1d1e421cc5866c8e3f9153f
12 URL:            http://wwwsearch.sourceforge.net/pullparser/
13 BuildRequires:  rpmbuild(macros) >= 1.710
14 BuildRequires:  python-modules
15 BuildRequires:  rpm-pythonprov
16 Requires:       python-modules >= 2.2
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 A simple "pull API" for HTML parsing, after Perl's HTML::TokeParser.
22 Many simple HTML parsing tasks are simpler this way than with the
23 HTMLParser module. pullparser.PullParser is a subclass of
24 HTMLParser.HTMLParser.
25
26 %description -l pl.UTF-8
27 Prosty analizator HTML, inspirowany perlowym HTML::TokeParser. Wiele
28 prostych zadań związanych z przetwarzaniem HTML można nim zrobić
29 łatwiej niż za pomocą modułu HTMLParser. pullparser.PullParser jest
30 podklasą HTMLParser.HTMLParser.
31
32 %prep
33 %setup -q -n %{module}-%{version}
34
35 %build
36 %py_build
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %py_install
42
43 rm $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc ChangeLog GeneralFAQ.html README.html
51 %{py_sitescriptdir}/*.py[co]
This page took 0.149649 seconds and 3 git commands to generate.