# # spec file for package perl-libwww-perl (Version 5.823) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # 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.823 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 * Tue Jan 20 2009 anicka@suse.cz - update to 5.823 * Bring back the LWP::Debug code * Add documentation section about 'Network traffic monitoring'. * Typo fixes * Want to ensure we get a single value back here. * Sat Dec 20 2008 coolo@suse.de - update to 5.822 Various bug fixes Should store "wire" headers field names with _ without translation. Test HTTP::Request->parse(). Rename the HTTP::Status constants to have HTTP_ prefix Add strict mode to HTML::Form Add content_is_xml method Make split_header_words() lower case returned tokens/keys Add decode() method to HTTP::Message Add encode() method to HTTP::Message Allow multiple fields to be set with push_header(). Faster push_header() Add dump method to HTTP::Message. Add support for x-bzip2 encoding; fix bzip2 decoding. Add send_header method to HTTP::Daemon Make the lwp-request User-Agent string include the LWP version. Calculation of current_age with missing Client-Date. More correct matching of 'max-age' in freshness_lifetime method The freshness_lifetime method now support options to control its heuristics The Content-Length and Content-MD5 headers are no longer valid after encode/decode Skip LWP test when fork() is unimplemented A more modern user_agent example. Make it possible to unset the proxy settings again Deprecate LWP::Debug * Mon Nov 17 2008 lnussel@suse.de - fix https losing characters (bnc#445601, http://rt.cpan.org/Public/Bug/Display.html?id=40187) * Mon Oct 06 2008 anicka@suse.cz - update to 5.816 * Add missing binmode() * Doc tweaks * We don't need to build the docs to run the tests. * Style tweaks. * The jigsaw service isn't up to much good these days. * HTTP::Cookies produces warnings for undefined cookie param names * Typo fix; HTTP::Message will never include x-bzip2 in Accept-Encoding * Added HTTP::Config module * Add methods to configure processing handlers. * 100 Continue response not complete. * Use 3-arg open when response content to files. * Make the show_progress attribute official (by documenting it). * Start using handlers for driving the inner logic of LWP::UserAgent. * Expose the content_is_html and content_is_xhtml methods from HTTP::Headers. * Make credentials method able to get/set values. * An auth handler per realm. * Match proxy setting for request. * Set up separate handler for adding proxy authentication. * Add request_preprepare to be able to initialize proxy early enough. * Smarter get_my_handler() that can also create handlers. * Refactor; introduce run_handlers method * Pass in handler hash to the handler callback. * Don't let version=1 override behaviour if specified with a plan Set-Cookie header. * Remove handler when we don't have a username/password for the realm. * Make tests use Test.pm * Double-check that username or password has changed after a failed login. * Update Digest Authen to subclass Basic. * Avoid running out of filehandles with DYNAMIC_FILE_UPLOAD. * Fixed parsing of header values starting with ':' * Documentation typo fixes * Fri Jul 25 2008 anicka@suse.cz - update to 5.814 * Typo fix. * Add HTTP::Message::decodable() * Use decoded_content in the synposis * Avoid adding an empty first part in $mess->add_part() * Get rid of all the manual dependency tests. * Simplify the Makefile.PL (no interactivity) * Provide DELETE method in HTTP::Request::Common * Checkbox picks up nearby text in description of alternates * HTML::Form::possible_values() should not returned disabled values * File::Listing documentation claimed only 'unix' format was supported * File::Listing only support English locales * Make common-req.t use Test.pm * Typo; CAN_TALK_TO_OUTSELF * Fix up File::Listings fallback to dosftp * File::Listing parse failure on BSD Linux based systems * Thu Jun 19 2008 anicka@suse.cz - update to 5.813 * RobotUA constructor ignores delay, use_sleep * Add HTTP::Response->filename * Better diagnostics when the HTML::TokeParser constructor fails * Multiple forms with same-named