]> git.pld-linux.org Git - packages/perl-libwww.git/blobdiff - perl-libwww.spec
- updated to 6.35
[packages/perl-libwww.git] / perl-libwww.spec
index bc1b3ebdee7d69a4ea4446c8fe2debcbeeb0f715..89ed3354c1c0e156d8c8c39fcc887e41944e0595 100644 (file)
@@ -8,16 +8,17 @@
 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.35
 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/E/ET/ETHER/%{pnam}-%{version}.tar.gz
+# Source0-md5: 19cd0f55f61359c973caa9301ec405bd
 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 +33,7 @@ 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.04
 BuildRequires: perl-URI >= 1.10
 BuildRequires: perl-WWW-RobotRules >= 6
 BuildRequires: perl-libnet
@@ -45,7 +46,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.04
 Requires:      perl-URI >= 1.10
 Requires:      perl-WWW-RobotRules >= 6
 Obsoletes:     perl-libwww-perl
@@ -53,7 +54,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
@@ -92,8 +93,6 @@ for file in GET HEAD POST; do
        echo '.so lwp-request.1p' > $RPM_BUILD_ROOT%{_mandir}/man1/$file.1p
 done
 
-%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/*.pod
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -108,6 +107,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 +121,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*
This page took 0.077868 seconds and 4 git commands to generate.