]> git.pld-linux.org Git - packages/perl-HTML-Parser.git/blob - perl-HTML-Parser.spec
- updated to 3.35
[packages/perl-HTML-Parser.git] / perl-HTML-Parser.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # Do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    HTML
7 %define         pnam    Parser
8 Summary:        HTML::Parser module - parsing and extracting information from HTML documents
9 Summary(cs):    Modul pro parsování HTML v Perlu
10 Summary(pl):    Modu³ HTML::Parser - analiza i wyci±ganie informacji z dokumentów HTML
11 Summary(ru):    HTML::Parser - ÎÁÂÏÒ ÍÏÄÕÌÅÊ ÄÌÑ "ÒÁÚÂÏÒÁ" HTML-ÄÏËÕÍÅÎÔÏ×
12 Summary(uk):    HTML::Parser - ÎÁ¦ҠÍÏÄÕ̦נÄÌÑ ÒÏÚÂÏÒÕ HTML-ÄÏËÕÍÅÎÔ¦×
13 Summary(zh_CN): Perl µÄ HTML ½âÎöÆ÷Ä£¿é¡£
14 Name:           perl-HTML-Parser
15 Version:        3.35
16 Release:        1
17 License:        distributable
18 Group:          Development/Languages/Perl
19 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
20 # Source0-md5:  674da96a8f291ae47432a363e3099d3b
21 BuildRequires:  perl-HTML-Tagset >= 3
22 BuildRequires:  perl-devel >= 5.8.0
23 BuildRequires:  rpm-perlprov >= 4.1-13
24 BuildConflicts: perl-HTML-Stream = 1.45-3
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 # HTTP::Headers (perl-libwww) is not always required
28 %define         _noautoreq      'perl(HTTP::Headers)'
29
30 %description
31 Perl module HTML::Parser that allows to parse and extract information
32 from HTML documents.
33
34 %description -l cs
35 Balíèek perl-HTML-Parser obsahuje modul pro Perl, který slou¾í k
36 parsování a extrahování informací z HTML dokumentu.
37
38 %description -l da
39 HTML::Parser modul til Perl for at tolka og extrahere information fra
40 HTML-dokument.
41
42 %description -l de
43 HTML::Parser modul für Perl zum Parsen und Extrahieren von
44 Informationen aus HTML-Dokumenten.
45
46 %description -l es
47 Módulo HTML::Parser para perl para analizar y extraer información a
48 partir de documentos HTML.
49
50 %description -l fr
51 Module HTML::Parser pour perl permettant d'analyser et d'extraire des
52 informations de documents HTML.
53
54 %description -l it
55 Il modulo HTML::Parser per perl, che consente di analizzare documenti
56 HTML e di estrarne informazioni.
57
58 %description -l ja
59 HTML ¥É¥­¥å¥á¥ó¥È¤«¤é¾ðÊó¤ò²òÀÏ¡¢Ãê½Ð¤¹¤ë¤¿¤á¤Î Perl ÍѤΠHTML::Parser
60 ¡£
61
62 %description -l ko
63 HTML::Parser ¸ðÁÙÀº ÆÞÀÌ HTML ¹®¼­µé·Î ºÎÅÍ Á¤º¸¸¦ ÆĽÌÇÏ°í °¡Á®¿À°Ô²û
64 ÇÕ´Ï´Ù.
65
66 %description -l pl
67 Modu³ Perla HTML::Parser pozwalaj±cy na parsowanie i wyciaganie
68 informacji z dokumentu HTML.
69
70 %description -l pt_BR
71 Módulo Perl HTML::Parser - Uma coleção de módulos para examinar e
72 extrair informações de documentos HTML.
73
74 %description -l ru
75 HTML::Parser - ÎÁÂÏÒ ÍÏÄÕÌÅÊ ÄÌÑ "ÒÁÚÂÏÒÁ" HTML-ÄÏËÕÍÅÎÔÏ×.
76
77 %description -l uk
78 HTML::Parser - ÎÁ¦ҠÍÏÄÕ̦נÄÌÑ ÒÏÚÂÏÒÕ HTML-ÄÏËÕÍÅÎÔ¦×.
79
80 %description -l pt
81 O módulo HTML::Parser para o Perl analisar e extrair informações de
82 documentos HTML.
83
84 %description -l sv
85 HTML::Parser modul till perl för att tolka och extrahera information
86 från HTML-dokument.
87
88 %prep
89 %setup -q -n %{pdir}-%{pnam}-%{version}
90
91 %build
92 %{__perl} Makefile.PL \
93         INSTALLDIRS=vendor \
94         DEFINE="-DMARKED_SECTION -DUNICODE_ENTITIES" \
95         < /dev/null
96 %{__make} \
97         OPTIMIZE="%{rpmcflags}"
98
99 %{?with_tests:%{__make} test}
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103
104 %{__make} install \
105         DESTDIR=$RPM_BUILD_ROOT
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %files
111 %defattr(644,root,root,755)
112 %doc Changes README TODO
113 %dir %{perl_vendorarch}/HTML
114 %{perl_vendorarch}/HTML/*.pm
115 %dir %{perl_vendorarch}/auto/HTML
116 %dir %{perl_vendorarch}/auto/HTML/Parser
117 %{perl_vendorarch}/auto/HTML/Parser/Parser.bs
118 %attr(755,root,root) %{perl_vendorarch}/auto/HTML/Parser/Parser.so
119 %{_mandir}/man3/*
This page took 0.039647 seconds and 4 git commands to generate.