# # spec file for package perl-libwww-perl (Version 5.810) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-libwww-perl BuildRequires: perl-Compress-Zlib perl-HTML-Parser perl-URI Version: 5.810 Release: 1 Provides: libwww-perl Provides: perl_lw3 Obsoletes: perl_lw3 Requires: perl-HTML-Parser perl-HTML-Tagset perl-URI Requires: perl = %{perl_version} Recommends: perl-Crypt-SSLeay AutoReqProv: on Group: Development/Libraries/Perl License: Artistic License Url: http://www.cpan.org/modules/by-module/WWW/ Summary: Modules Providing a World Wide Web API Source: libwww-perl-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libwww-perl is a collection of Perl modules which provide a simple and consistent application programming interface (API) to the World Wide Web. Authors: -------- Gisle Aas Martijn Koster %prep %setup -q -n libwww-perl-%{version} %build perl Makefile.PL make %check #disable test that require network connection mv t/live/jigsaw-chunk.t t/live/jigsaw-chunk.tt mv t/live/jigsaw-md5.t t/live/jigsaw-md5.tt mv t/live/jigsaw-md5-get.t t/live/jigsaw-md5-get.tt make test %install rm -rf $RPM_BUILD_ROOT %perl_make_install %perl_process_packlist %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes README README.SSL %doc %{_mandir}/man?/* %{perl_vendorlib}/Bundle %{perl_vendorlib}/File %{perl_vendorlib}/HTML %{perl_vendorlib}/HTTP %{perl_vendorlib}/LWP %{perl_vendorlib}/Net %{perl_vendorlib}/WWW %{perl_vendorlib}/LWP.pm %{perl_vendorlib}/lwpcook.pod %{perl_vendorlib}/lwptut.pod %{perl_vendorarch}/auto/LWP %{_bindir}/* /var/adm/perl-modules/%{name} %changelog * Wed Apr 09 2008 anicka@suse.cz - update to 5.810 * Small documentation issues * Explain $netloc argument to $ua->credentials * Make lwp-request honour option -b while dumping links * Ignore params for date convenience methods * Get rid of all the old CVS $Keyword:...$ templates. Set $VERSION to 5.810. * Complement the HTTP::Status codes * Don't allow HTTP::Message content to be set to Unicode strings. * Refactor test for Encode.pm * Trigger HTML::HeadParser for XHTML * Escape status line in error_as_HTML, convert to lowercase * Protocol/file.pm: postpone load of URI::Escape and HTML::Entities * HTML::Form Module and