]> 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 c3ab30e8817613c6a4e71f75965f82153f9df996..7ea7d8a117a22f03d560124c266e388fcd371ef4 100644 (file)
@@ -1,15 +1,16 @@
 %include       /usr/lib/rpm/macros.perl
-Summary:        Perl LIBWWW module
-Summary(pl):    Modu³ perla LIBWWW
+Summary:       Perl LIBWWW module
+Summary(pl):   Modu³ perla LIBWWW
 Name:          perl-libwww
-Version:       5.47
+Version:       5.48
 Release:       1
 License:       GPL
 Group:         Development/Languages/Perl
+Group(de):     Entwicklung/Sprachen/Perl
 Group(pl):     Programowanie/Jêzyki/Perl
-Source:         libwww-perl-%{version}.tar.gz
+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.005_03-14
+BuildRequires: perl >= 5.6
 %requires_eq    perl
 BuildRequires: perl-Digest-MD5
 BuildRequires: perl-HTML-Format
@@ -29,34 +30,29 @@ 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).
+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
 perl Makefile.PL
-make OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} OPTIMIZE="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-(  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/libwww-perl/
-   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
-   mv .packlist.new .packlist
-)
-      
-gzip -9nf README TODO $RPM_BUILD_ROOT%{_mandir}/man{1,3}/*
+gzip -9nf README TODO
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {README,TODO}.gz
+%doc *.gz
 %{perl_sitelib}/*.pm
 %{perl_sitelib}/*.pod
 %{perl_sitelib}/Bundle/*
@@ -65,7 +61,5 @@ rm -rf $RPM_BUILD_ROOT
 %{perl_sitelib}/HTTP/*
 %{perl_sitelib}/LWP
 %{perl_sitelib}/WWW
-%{perl_sitearch}/auto/libwww-perl
 %attr(755,root,root) %{_bindir}/*
-
 %{_mandir}/man*/*
This page took 0.046206 seconds and 4 git commands to generate.