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(pl): Programowanie/Jêzyki/Perl
10 Source: libwww-perl-%{version}.tar.gz
11 BuildRequires: rpm-perlprov >= 3.0.3-16
12 BuildRequires: perl >= 5.005_03-14
14 BuildRequires: perl-Crypt-SSLeay
15 BuildRequires: perl-Digest-MD5
16 BuildRequires: perl-HTML-Parser
17 BuildRequires: perl-HTML-Tree
18 BuildRequires: perl-MIME-Base64
19 BuildRequires: perl-MailTools
20 BuildRequires: perl-URI
21 BuildRequires: perl-libnet
23 Requires: %{perl_sitearch}
24 BuildRoot: /tmp/%{name}-%{version}-root
27 Libwww-perl is a collection of Perl modules which provides a simple
28 and consistent programming interface (API) to the World-Wide Web.
31 Libwww-perl jest kolekcj± modu³ów Perla, które dostaczaj± proste
32 API do WWW (World-Wide Web).
35 %setup -q -n libwww-perl-%{version}
39 make OPTIMIZE="$RPM_OPT_FLAGS"
42 rm -rf $RPM_BUILD_ROOT
44 make install DESTDIR=$RPM_BUILD_ROOT
46 ( cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/libwww-perl/
47 sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
48 mv .packlist.new .packlist
51 gzip -9nf README TODO $RPM_BUILD_ROOT%{_mandir}/man{1,3}/*
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
61 %{perl_sitelib}/Bundle/*
62 %{perl_sitelib}/File/*
63 %{perl_sitelib}/HTTP/*
66 %{perl_sitearch}/auto/libwww-perl
67 %attr(755,root,root) %{_bindir}/*