]> git.pld-linux.org Git - packages/perl-libwww.git/blob - perl-libwww.spec
- release 2
[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.53
6 Release:        2
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 BuildRequires:  rpm-perlprov >= 3.0.3-18
13 BuildRequires:  perl >= 5.6
14 BuildRequires:  perl-Digest-MD5
15 BuildRequires:  perl-HTML-Parser
16 BuildRequires:  perl-MIME-Base64
17 BuildRequires:  perl-URI
18 BuildRequires:  perl-libnet
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 # modules not always required
22 %define _noautoreq "perl(HTML::Parse)" "perl(HTML::FormatPS)" "perl(HTML::FormatText)" "perl(HTTP::GHTTP)" "perl(IO::Socket::SSL)" "perl(Mail::Internet)"
23
24 %description
25 Libwww-perl is a collection of Perl modules which provides a simple
26 and consistent programming interface (API) to the World-Wide Web.
27
28 %description -l pl
29 Libwww-perl jest kolekcj± modu³ów Perla, które dostaczaj± proste API
30 do WWW (World-Wide Web).
31
32 %prep
33 %setup -q -n libwww-perl-%{version}
34
35 %build
36 perl Makefile.PL
37 %{__make} OPTIMIZE="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install DESTDIR=$RPM_BUILD_ROOT
43
44 gzip -9nf README TODO
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc *.gz
52 %{perl_sitelib}/*.pm
53 %{perl_sitelib}/*.pod
54 %{perl_sitelib}/Bundle/*
55 %{perl_sitelib}/File/*
56 %{perl_sitelib}/HTML/*
57 %{perl_sitelib}/HTTP/*
58 %{perl_sitelib}/Net/*
59 %{perl_sitelib}/LWP
60 %{perl_sitelib}/WWW
61 %attr(755,root,root) %{_bindir}/*
62 %{_mandir}/man*/*
This page took 0.060336 seconds and 4 git commands to generate.