]> git.pld-linux.org Git - packages/perl-libwww.git/blob - perl-libwww.spec
- translations, cleaning
[packages/perl-libwww.git] / perl-libwww.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    WWW
3 %define         pnam    libwww-perl
4 Summary:        LIBWWW Perl module
5 Summary(cs):    Modul LIBWWW pro Perl
6 Summary(da):    Perlmodul LIBWWW
7 Summary(de):    LIBWWW Perl Modul
8 Summary(es):    Módulo de Perl LIBWWW
9 Summary(fr):    Module Perl LIBWWW
10 Summary(it):    Modulo di Perl LIBWWW
11 Summary(ja):    LIBWWW Perl ¥â¥¸¥å¡¼¥ë
12 Summary(ko):    LIBWWW ÆÞ ¸ðÁÙ
13 Summary(no):    Perlmodul LIBWWW
14 Summary(pl):    Modu³ Perla LIBWWW
15 Summary(pt):    Módulo de Perl LIBWWW
16 Summary(pt_BR): Módulo Perl LIBWWW
17 Summary(ru):    íÏÄÕÌØ ÄÌÑ Perl LIBWWW
18 Summary(sv):    LIBWWW Perlmodul
19 Summary(uk):    íÏÄÕÌØ ÄÌÑ Perl LIBWWW
20 Summary(zh_CN): LIBWWW Perl Ä£¿é
21 Name:           perl-libwww
22 Version:        5.65
23 Release:        2
24 License:        GPL
25 Group:          Development/Languages/Perl
26 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
27 BuildRequires:  perl >= 5.6
28 BuildRequires:  perl(Net::FTP) >= 2.58
29 BuildRequires:  perl-Digest-MD5
30 BuildRequires:  perl-HTML-Parser
31 BuildRequires:  perl-MIME-Base64
32 BuildRequires:  perl-URI
33 BuildRequires:  perl-libnet
34 BuildRequires:  rpm-perlprov >= 3.0.3-18
35 BuildArch:      noarch
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 Obsoletes:      perl-libwww-perl
38
39 # modules not always required
40 %define _noautoreq "perl(HTML::Parse)" "perl(HTML::FormatPS)" "perl(HTML::FormatText)" "perl(HTTP::GHTTP)" "perl(IO::Socket::SSL)" "perl(Mail::Internet)"
41
42 %description
43 LIBWWW is a collection of Perl modules which provides a simple and
44 consistent programming interface (API) to the World-Wide Web.
45
46 %description -l pl
47 LIBWWW jest kolekcj± modu³ów Perla, które dostaczaj± proste API do
48 WWW (World-Wide Web).
49
50 %prep
51 %setup -q -n libwww-perl-%{version}
52
53 %build
54 perl Makefile.PL </dev/null
55 %{__make} OPTIMIZE="%{rpmcflags}"
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc README TODO
68 %{perl_sitelib}/*.pm
69 %{perl_sitelib}/*.pod
70 %{perl_sitelib}/Bundle/*
71 %{perl_sitelib}/File/*
72 %{perl_sitelib}/HTML/*
73 %{perl_sitelib}/HTTP/*
74 %{perl_sitelib}/Net/*
75 %{perl_sitelib}/LWP
76 %{perl_sitelib}/WWW
77 %attr(755,root,root) %{_bindir}/*
78 %{_mandir}/man1/*
79 %{_mandir}/man3/*
This page took 0.046805 seconds and 4 git commands to generate.