]> git.pld-linux.org Git - packages/perl-libwww.git/blame - perl-libwww.spec
- license fix, cosmetics
[packages/perl-libwww.git] / perl-libwww.spec
CommitLineData
377e53b5 1#
5a01b76e 2# Conditional build:
1724ad1d 3%bcond_with tests # perform "make test"
377e53b5 4#
2128e5d3 5%include /usr/lib/rpm/macros.perl
6e7e9804 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
8cbc215e 11Version: 5.79
372188ef 12Release: 1
377e53b5 13# same as perl
14License: GPL v1+ or Artistic
2128e5d3 15Group: Development/Languages/Perl
eff3bef2 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
8cbc215e 17# Source0-md5: 6682a0a532bf0b2cf76259c94d0d8dc4
44760cc9 18BuildRequires: perl(Net::FTP) >= 2.58
e3a00125 19BuildRequires: perl-Digest-MD5
372188ef
JB
20BuildRequires: perl-HTML-Parser >= 3.33
21BuildRequires: perl-MIME-Base64 >= 2.1
22BuildRequires: perl-URI >= 1.10
23BuildRequires: perl-devel >= 5.8
2128e5d3 24BuildRequires: perl-libnet
9dae4cd2 25BuildRequires: rpm-perlprov >= 4.1-13
fdae6112 26BuildArch: noarch
af046231 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
89340d22 28Obsoletes: perl-libwww-perl
03d3a68a 29
11092ec3 30# modules not always required
60f953d0 31%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 32
03d3a68a 33%description
5a01b76e 34The libwww-perl collection is a set of Perl modules which provides a
35simple and consistent application programming interface to the World-Wide
36Web. The main focus of the library is to provide classes and functions
37that allow you to write WWW clients. The library also contain modules
38that are of more general use and even classes that help you implement
39simple HTTP servers.
03d3a68a 40
1574779f 41%description -l pl
5a01b76e 42