X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=perl-libwww.spec;h=87d370dff6fd0b4004740562ab2a6cdce0a6e80c;hb=d0ecefd;hp=bc1b3ebdee7d69a4ea4446c8fe2debcbeeb0f715;hpb=a3641375d48cebc8413dc04d76821534b28febe8;p=packages%2Fperl-libwww.git diff --git a/perl-libwww.spec b/perl-libwww.spec index bc1b3eb..87d370d 100644 --- a/perl-libwww.spec +++ b/perl-libwww.spec @@ -2,22 +2,22 @@ # Conditional build: %bcond_with tests # perform "make test" (uses network) # -%include /usr/lib/rpm/macros.perl %define pdir WWW %define pnam libwww-perl Summary: libwww-perl - a simple and consistent API to the World-Wide Web Summary(pl.UTF-8): libwww-perl - prosty i logiczny API do WWW Name: perl-libwww -Version: 6.02 +Version: 6.43 Release: 1 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl -Source0: http://www.cpan.org/modules/by-module/WWW/GAAS/%{pnam}-%{version}.tar.gz -# Source0-md5: 4617dbc79a78992a8c8db263c170d8ec +Source0: http://search.cpan.org/CPAN/authors/id/O/OA/OALDERS/%{pnam}-%{version}.tar.gz +# Source0-md5: e64d87052eb51bb55627c756ccdfe233 URL: http://search.cpan.org/dist/libwww-perl/ BuildRequires: perl-devel >= 1:5.8.8 BuildRequires: rpm-perlprov >= 4.1-13 +BuildRequires: rpmbuild(macros) >= 1.663 %if %{with tests} BuildRequires: perl(Net::FTP) >= 2.58 BuildRequires: perl-Digest-MD5 @@ -32,7 +32,10 @@ BuildRequires: perl-HTTP-Message >= 6 BuildRequires: perl-HTTP-Negotiate >= 6 BuildRequires: perl-LWP-MediaTypes >= 6 BuildRequires: perl-MIME-Base64 >= 2.1 -BuildRequires: perl-Net-HTTP >= 6 +BuildRequires: perl-Net-HTTP >= 6.18 +BuildRequires: perl-Test-Needs +BuildRequires: perl-Test-RequiresInternet +BuildRequires: perl-Test-Simple BuildRequires: perl-URI >= 1.10 BuildRequires: perl-WWW-RobotRules >= 6 BuildRequires: perl-libnet @@ -45,7 +48,7 @@ Requires: perl-HTTP-Message >= 6 Requires: perl-HTTP-Negotiate >= 6 Requires: perl-LWP-MediaTypes >= 6 Requires: perl-MIME-Base64 >= 2.1 -Requires: perl-Net-HTTP >= 6 +Requires: perl-Net-HTTP >= 6.18 Requires: perl-URI >= 1.10 Requires: perl-WWW-RobotRules >= 6 Obsoletes: perl-libwww-perl @@ -53,7 +56,7 @@ BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # modules not always required -%define _noautoreq 'perl(HTTP::GHTTP)' 'perl(Authen::NTLM)' +%define _noautoreq_perl HTTP::GHTTP Authen::NTLM %description The libwww-perl collection is a set of Perl modules which provides a @@ -88,11 +91,9 @@ rm -rf $RPM_BUILD_ROOT for file in GET HEAD POST; do ln -sf lwp-request $RPM_BUILD_ROOT%{_bindir}/$file - rm -f $RPM_BUILD_ROOT%{_mandir}/man1/$file.1p echo '.so lwp-request.1p' > $RPM_BUILD_ROOT%{_mandir}/man1/$file.1p done - -%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/*.pod +%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/libwww/*.pod %clean rm -rf $RPM_BUILD_ROOT @@ -108,6 +109,8 @@ rm -rf $RPM_BUILD_ROOT %{perl_vendorlib}/LWP/Authen %{perl_vendorlib}/LWP/ConnCache.pm %{perl_vendorlib}/LWP/Debug.pm +%dir %{perl_vendorlib}/LWP/Debug +%{perl_vendorlib}/LWP/Debug/TraceHTTP.pm %{perl_vendorlib}/LWP/DebugFile.pm %{perl_vendorlib}/LWP/MemberMixin.pm %{perl_vendorlib}/LWP/Protocol.pm @@ -120,5 +123,5 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/POST.1p* %{_mandir}/man1/lwp-*.1p* %{_mandir}/man3/LWP*.3pm* -%{_mandir}/man3/lwpcook.3pm* -%{_mandir}/man3/lwptut.3pm* +%{_mandir}/man3/libwww::lwpcook.3pm* +%{_mandir}/man3/libwww::lwptut.3pm*