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