]>
Commit | Line | Data |
---|---|---|
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 | 8 | Summary: libwww-perl - a simple and consistent API to the World-Wide Web |
44760cc9 | 9 | Summary(pl): libwww-perl - prosty i logiczny API do WWW |
9c46f5b6 | 10 | Name: perl-libwww |
bb876e3a | 11 | Version: 5.805 |
12 | Release: 1 | |
377e53b5 | 13 | # same as perl |
14 | License: GPL v1+ or Artistic | |
2128e5d3 | 15 | Group: Development/Languages/Perl |
e8c0c4f1 | 16 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz |
bb876e3a | 17 | # Source0-md5: db1eb693eee45d251966ad2bab49dbbf |
f5ef0868 | 18 | URL: http://search.cpan.org/dist/libwww-perl/ |
44760cc9 | 19 | BuildRequires: perl(Net::FTP) >= 2.58 |
e3a00125 | 20 | BuildRequires: perl-Digest-MD5 |
372188ef JB |
21 | BuildRequires: perl-HTML-Parser >= 3.33 |
22 | BuildRequires: perl-MIME-Base64 >= 2.1 | |
23 | BuildRequires: perl-URI >= 1.10 | |
523d12e2 | 24 | BuildRequires: perl-devel >= 1:5.8.0 |
2128e5d3 | 25 | BuildRequires: perl-libnet |
9dae4cd2 | 26 | BuildRequires: rpm-perlprov >= 4.1-13 |
fdae6112 | 27 | BuildArch: noarch |
af046231 | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
89340d22 | 29 | Obsoletes: perl-libwww-perl |
03d3a68a | 30 | |
11092ec3 | 31 | # modules not always required |
60f953d0 | 32 | %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 | 33 | |
03d3a68a | 34 | %description |
5a01b76e | 35 | The libwww-perl collection is a set of Perl modules which provides a |
36 | simple and consistent application programming interface to the World-Wide | |
37 | Web. The main focus of the library is to provide classes and functions | |
38 | that allow you to write WWW clients. The library also contain modules | |
39 | that are of more general use and even classes that help you implement | |
40 | simple HTTP servers. | |
03d3a68a | 41 | |
1574779f | 42 | %description -l pl |
5a01b76e | 43 |