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