- release 2: _bindir/{GET,HEAD,POST} are back
[packages/perl-libwww.git] / perl-libwww.spec
377e53b5 1#
5a01b76e 2# Conditional build:
1724ad1d 3%bcond_with tests # perform "make test"
377e53b5 4#
2128e5d3 5%include /usr/lib/rpm/macros.perl
e6e936d4 6%define pdir WWW
7%define pnam libwww-perl
5a01b76e 8Summary: libwww-perl - a simple and consistent API to the World-Wide Web
44760cc9 9Summary(pl): libwww-perl - prosty i logiczny API do WWW
9c46f5b6 10Name: perl-libwww
d9b62228 11Version: 5.802
667f460d 12Release: 2
377e53b5 13# same as perl
14License: GPL v1+ or Artistic
2128e5d3 15Group: Development/Languages/Perl
e8c0c4f1 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
d9b62228 17# Source0-md5: 198794b54d91effa200a7a82202ccaea
226e05c9 18Patch0: %{name}-lwp_download_dest_dir_support.patch
f5ef0868 19URL: http://search.cpan.org/dist/libwww-perl/
44760cc9 20BuildRequires: perl(Net::FTP) >= 2.58
e3a00125 21BuildRequires: perl-Digest-MD5
22BuildRequires: perl-HTML-Parser >= 3.33
23BuildRequires: perl-MIME-Base64 >= 2.1
24BuildRequires: perl-URI >= 1.10
523d12e2 25BuildRequires: perl-devel >= 1:5.8.0
2128e5d3 26BuildRequires: perl-libnet
9dae4cd2 27BuildRequires: rpm-perlprov >= 4.1-13
fdae6112 28BuildArch: noarch
af046231 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
89340d22 30Obsoletes: perl-libwww-perl
03d3a68a 31
11092ec3 32# modules not always required
60f953d0 33%define _noautoreq 'perl(HTML::Parse)' 'perl(HTML::FormatPS)' 'perl(HTML::FormatText)' 'perl(HTTP::GHTTP)' 'perl(IO::Socket::SSL)' 'perl(Mail::Internet)' 'perl(Authen::NTLM)'
11092ec3 34
03d3a68a 35%description
5a01b76e 36The libwww-perl collection is a set of Perl modules which provides a
37simple and consistent application programming interface to the World-Wide
38Web. The main focus of the library is to provide classes and functions
39that allow you to write WWW clients. The library also contain modules
40that are of more general use and even classes that help you implement
41simple HTTP servers.
03d3a68a 42
1574779f 43%description -l pl
5a01b76e 44