]>
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 |
d9b62228 | 11 | Version: 5.802 |
328e8fcd | 12 | Release: 3 |
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 |
d9b62228 | 17 | # Source0-md5: 198794b54d91effa200a7a82202ccaea |
226e05c9 | 18 | Patch0: %{name}-lwp_download_dest_dir_support.patch |
f5ef0868 | 19 | URL: http://search.cpan.org/dist/libwww-perl/ |
44760cc9 | 20 | BuildRequires: perl(Net::FTP) >= 2.58 |
e3a00125 | 21 | BuildRequires: perl-Digest-MD5 |
372188ef JB |
22 | BuildRequires: perl-HTML-Parser >= 3.33 |
23 | BuildRequires: perl-MIME-Base64 >= 2.1 | |
24 | BuildRequires: perl-URI >= 1.10 | |
523d12e2 | 25 | BuildRequires: perl-devel >= 1:5.8.0 |
2128e5d3 | 26 | BuildRequires: perl-libnet |
9dae4cd2 | 27 | BuildRequires: rpm-perlprov >= 4.1-13 |
fdae6112 | 28 | BuildArch: noarch |
af046231 | 29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
89340d22 | 30 | Obsoletes: 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 | 36 | The libwww-perl collection is a set of Perl modules which provides a |
37 | simple and consistent application programming interface to the World-Wide | |
38 | Web. The main focus of the library is to provide classes and functions | |
39 | that allow you to write WWW clients. The library also contain modules | |
40 | that are of more general use and even classes that help you implement | |
41 | simple HTTP servers. | |
03d3a68a | 42 | |
1574779f | 43 | %description -l pl |
5a01b76e | 44 |