]> git.pld-linux.org Git - packages/perl-WWW-Robot.git/blob - perl-WWW-Robot.spec
- initial release
[packages/perl-WWW-Robot.git] / perl-WWW-Robot.spec
1 %define         perl_sitelib    %(eval "`perl -V:installsitelib`"; echo $installsitelib)
2 Summary:        WWW-Robot perl module
3 Summary(pl):    Modu³ perla WWW-Robot
4 Name:           perl-WWW-Robot
5 Version:        0.019
6 Release:        3
7 Copyright:      GPL
8 Group:          Development/Languages/Perl
9 Group(pl):      Programowanie/Jêzyki/Perl
10 Source:         ftp://ftp.perl.org/pub/CPAN/modules/by-module/WWW/WWW-Robot-%{version}.tar.gz
11 Patch:          perl-WWW-Robot-paths.patch
12 BuildRequires:  perl >= 5.005_03-10
13 BuildRequires:  perl-libwww
14 BuildRequires:  perl-HTML-Tree
15 BuildRequires:  perl-HTML-Parser
16 %requires_eq    perl
17 Requires:       %{perl_sitearch}
18 Requires:       perl-libwww
19 Requires:       perl-HTML-Tree
20 Requires:       perl-HTML-Parser
21 Obsoletes:      perl-Robot
22 BuildRoot:      /tmp/%{name}-%{version}-root
23
24 %description
25 WWW-Robot - configurable web traversal engine (for web robots & agents).
26
27 %description -l pl
28 WWW-Robot - konfigurowalny mechanizm analizuj±cy zasoby sieciowe (dla robotów
29 sieciowych i innych sieciowych agentów).
30
31 %prep
32 %setup -q -n WWW-Robot-%{version}
33 %patch -p0
34
35 %build
36 perl Makefile.PL
37 make
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 make install DESTDIR=$RPM_BUILD_ROOT
42
43 (
44   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/WWW/Robot
45   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
46   mv .packlist.new .packlist
47 )
48
49 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
50         README ChangeLog
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc {README,ChangeLog}.gz examples/poacher
58
59 %{perl_sitelib}/WWW/Robot.pm
60 %{perl_sitearch}/auto/WWW/Robot
61
62 %{_mandir}/man3/*
This page took 0.063244 seconds and 3 git commands to generate.