1 %include /usr/lib/rpm/macros.perl
2 Summary: Perl LIBWWW module
3 Summary(pl): Modu³ perla LIBWWW
8 Group: Development/Languages/Perl
9 Group(de): Entwicklung/Sprachen/Perl
10 Group(pl): Programowanie/Jêzyki/Perl
11 Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/WWW/libwww-perl-%{version}.tar.gz
12 BuildRequires: rpm-perlprov >= 3.0.3-18
13 BuildRequires: perl >= 5.6
14 BuildRequires: perl-Digest-MD5
15 BuildRequires: perl-HTML-Parser
16 BuildRequires: perl-MIME-Base64
17 BuildRequires: perl-URI
18 BuildRequires: perl-libnet
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 # modules not always required
23 %define _noautoreq "perl(HTML::Parse)" "perl(HTML::FormatPS)" "perl(HTML::FormatText)" "perl(HTTP::GHTTP)" "perl(IO::Socket::SSL)" "perl(Mail::Internet)"
26 Libwww-perl is a collection of Perl modules which provides a simple
27 and consistent programming interface (API) to the World-Wide Web.
30 Libwww-perl jest kolekcj± modu³ów Perla, które dostaczaj± proste API
31 do WWW (World-Wide Web).
34 %setup -q -n libwww-perl-%{version}
37 perl Makefile.PL </dev/null
38 %{__make} OPTIMIZE="%{rpmcflags}"
41 rm -rf $RPM_BUILD_ROOT
43 %{__make} install DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
55 %{perl_sitelib}/File/*
56 %{perl_sitelib}/HTML/*
57 %{perl_sitelib}/HTTP/*
61 %attr(755,root,root) %{_bindir}/*
63 %{_mandir}/man3/[FHLWl]*