3 Summary: WWW::Robot Perl module - configurable web traversal engine
4 Summary(pl.UTF-8): Moduł Perla WWW::Robot - konfigurowlny mechanizm do analizy zasobów WWW
9 License: GPL v1+ or Artistic
10 Group: Development/Languages/Perl
11 Source0: http://www.cpan.org/modules/by-module/WWW/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5: a58f5cef44e8c6cd2e057821691a6be4
13 Patch0: %{name}-paths.patch
14 URL: http://search.cpan.org/dist/WWW-Robot/
15 BuildRequires: perl-HTML-Tree
16 BuildRequires: perl-HTML-Parser
17 BuildRequires: perl-URI
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: perl-libwww
20 BuildRequires: rpm-perlprov >= 4.1-13
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 The WWW::Robot Perl module implements a configurable web traversal
27 engine, for a robot or other web agent. Given an initial web page
28 (URL), the Robot will get the contents of that page, and extract all
29 links on the page, adding them to a list of URLs to visit.
31 %description -l pl.UTF-8
32 Moduł Perla WWW::Robot zawiera konfigurowalny mechanizm analizujący
33 zasoby sieciowe, przeznaczony dla robotów i innych agentów sieciowych.
34 Po podaniu strony początkowej (w postaci URLa) Robot pobierze
35 zawartość danej strony oraz wydzieli z niej wszystkie odnośniki,
36 dodając je do listy URLi, które będą odwiedzane.
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} -pi -e 's/^(use LWP::RobotUA)( 1.171)(.*)$/$1 1.18$3/' lib/WWW/*.pm
44 %{__perl} Makefile.PL \
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc README ChangeLog examples/poacher
60 %{perl_vendorlib}/WWW/Robot.pm