]> git.pld-linux.org Git - packages/perl-libwww.git/blob - perl-libwww.spec
- force non-interactive building; NOTE: it wants Net::FTP newer than in perl-libnet...
[packages/perl-libwww.git] / perl-libwww.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Perl LIBWWW module
3 Summary(pl):    Modu³ perla LIBWWW
4 Name:           perl-libwww
5 Version:        5.61
6 Release:        1
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Group(de):      Entwicklung/Sprachen/Perl
10 Group(pl):      Programowanie/Jêzyki/Perl
11 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/WWW/libwww-perl-%{version}.tar.gz
12 Patch0:         %{name}-Digest-MD5.patch
13 BuildRequires:  rpm-perlprov >= 3.0.3-18
14 BuildRequires:  perl >= 5.6
15 BuildRequires:  perl-Digest-MD5
16 BuildRequires:  perl-HTML-Parser
17 BuildRequires:  perl-MIME-Base64
18 BuildRequires:  perl-URI
19 BuildRequires:  perl-libnet
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 # modules not always required
24 %define _noautoreq "perl(HTML::Parse)" "perl(HTML::FormatPS)" "perl(HTML::FormatText)" "perl(HTTP::GHTTP)" "perl(IO::Socket::SSL)" "perl(Mail::Internet)"
25
26 %description
27 Libwww-perl is a collection of Perl modules which provides a simple
28 and consistent programming interface (API) to the World-Wide Web.
29
30 %description -l pl
31 Libwww-perl jest kolekcj± modu³ów Perla, które dostaczaj± proste API
32 do WWW (World-Wide Web).
33
34 %prep
35 %setup -q -n libwww-perl-%{version}
36 %patch0 -p1
37
38 %build
39 perl Makefile.PL </dev/null
40 %{__make} OPTIMIZE="%{rpmcflags}"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT
46
47 gzip -9nf README TODO
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc *.gz
55 %{perl_sitelib}/*.pm
56 %{perl_sitelib}/*.pod
57 %{perl_sitelib}/File/*
58 %{perl_sitelib}/HTML/*
59 %{perl_sitelib}/HTTP/*
60 %{perl_sitelib}/Net/*
61 %{perl_sitelib}/LWP
62 %{perl_sitelib}/WWW
63 %attr(755,root,root) %{_bindir}/*
64 %{_mandir}/man1/*
65 %{_mandir}/man3/[FHLWl]*
This page took 0.027725 seconds and 4 git commands to generate.