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
15 BuildRequires: perl-Digest-MD5
16 BuildRequires: perl-HTML-Format
17 BuildRequires: perl-HTML-Parser
18 BuildRequires: perl-HTML-Tree
19 BuildRequires: perl-MIME-Base64
20 BuildRequires: perl-MailTools
21 BuildRequires: perl-URI
22 BuildRequires: perl-libnet
23 BuildRequires: perl-IO-Socket-SSL
25 Requires: %{perl_sitearch}
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Libwww-perl is a collection of Perl modules which provides a simple
30 and consistent programming interface (API) to the World-Wide Web.
33 Libwww-perl jest kolekcj± modu³ów Perla, które dostaczaj± proste API
34 do WWW (World-Wide Web).
37 %setup -q -n libwww-perl-%{version}
41 %{__make} OPTIMIZE="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS}"
44 rm -rf $RPM_BUILD_ROOT
46 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
58 %{perl_sitelib}/Bundle/*
59 %{perl_sitelib}/File/*
60 %{perl_sitelib}/HTML/*
61 %{perl_sitelib}/HTTP/*
64 %attr(755,root,root) %{_bindir}/*