]> git.pld-linux.org Git - packages/perl-libwww.git/blobdiff - perl-libwww.spec
- updated to 5.48,
[packages/perl-libwww.git] / perl-libwww.spec
index c38393a3528189ab1150fd400b56cfe8b1adad75..7ea7d8a117a22f03d560124c266e388fcd371ef4 100644 (file)
@@ -1,51 +1,65 @@
+%include       /usr/lib/rpm/macros.perl
+Summary:       Perl LIBWWW module
+Summary(pl):   Modu³ perla LIBWWW
 Name:          perl-libwww
-Version:       5.44
+Version:       5.48
 Release:       1
-Vendor:                Mailing List <libwww-perl@ics.uci.edu>
-Source:         libwww-perl-%{version}.tar.gz
-#Patch:                libwww-Makefile.patch
-Group:         Utilities/Text
-Copyright:     Free
-Summary:       Perl LIBWWW module
-BuildRoot:     /tmp/%{name}-%{version}-root
-BuildPreReq:   perl
+License:       GPL
+Group:         Development/Languages/Perl
+Group(de):     Entwicklung/Sprachen/Perl
+Group(pl):     Programowanie/Jêzyki/Perl
+Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/WWW/libwww-perl-%{version}.tar.gz
+BuildRequires: rpm-perlprov >= 3.0.3-18
+BuildRequires: perl >= 5.6
+%requires_eq    perl
+BuildRequires: perl-Digest-MD5
+BuildRequires: perl-HTML-Format
+BuildRequires: perl-HTML-Parser
+BuildRequires: perl-HTML-Tree
+BuildRequires: perl-MIME-Base64
+BuildRequires: perl-MailTools
+BuildRequires: perl-URI
+BuildRequires: perl-libnet
+BuildRequires: perl-IO-Socket-SSL
 %requires_eq   perl
-Requires:      perl-HTML-Parser, perl-MIME-Base64, perl-MD5, perl-libnet, perl-Data-Dumper
+Requires:      %{perl_sitearch}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Libwww-perl is a collection of Perl modules which provides a simple
 and consistent programming interface (API) to the World-Wide Web.
 
+%description -l pl
+Libwww-perl jest kolekcj± modu³ów Perla, które dostaczaj± proste API
+do WWW (World-Wide Web).
+
 %prep
 %setup -q -n libwww-perl-%{version}
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
-#patch -p1 < %{PATCH}
-make
+perl Makefile.PL
+%{__make} OPTIMIZE="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/%{perl_sitearch} \
-       $RPM_BUILD_ROOT{%{_mandir}/man{1,3},%{_bindir}}
 
-make install PREFIX=$RPM_BUILD_ROOT/usr \
-       INSTALLMAN3DIR=$RPM_BUILD_ROOT%{_mandir}/man3 \
-       INSTALLMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf README TODO $RPM_BUILD_ROOT%{_mandir}/man{1,3}/*
+gzip -9nf README TODO
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%doc README.gz TODO.gz
-%{_libdir}/perl5/site_perl/5.005/LWP.pm
-%{_libdir}/perl5/site_perl/5.005/Bundle/*.pm
-%{_libdir}/perl5/site_perl/5.005/File/*.pm
-%{_libdir}/perl5/site_perl/5.005/HTTP/*
-%{_libdir}/perl5/site_perl/5.005/LWP/*
-%{_libdir}/perl5/site_perl/5.005/WWW/*
+%defattr(644,root,root,755)
+%doc *.gz
+%{perl_sitelib}/*.pm
+%{perl_sitelib}/*.pod
+%{perl_sitelib}/Bundle/*
+%{perl_sitelib}/File/*
+%{perl_sitelib}/HTML/*
+%{perl_sitelib}/HTTP/*
+%{perl_sitelib}/LWP
+%{perl_sitelib}/WWW
 %attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
-%{_mandir}/man3/*
+%{_mandir}/man*/*
This page took 0.060377 seconds and 4 git commands to generate.