]> git.pld-linux.org Git - packages/perl-WWW-Robot.git/commitdiff
- initial release
authorpius <pius@pld-linux.org>
Wed, 20 Oct 1999 19:46:49 +0000 (19:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-WWW-Robot.spec -> 1.1

perl-WWW-Robot.spec [new file with mode: 0644]

diff --git a/perl-WWW-Robot.spec b/perl-WWW-Robot.spec
new file mode 100644 (file)
index 0000000..f69f035
--- /dev/null
@@ -0,0 +1,62 @@
+%define                perl_sitelib    %(eval "`perl -V:installsitelib`"; echo $installsitelib)
+Summary:       WWW-Robot perl module
+Summary(pl):   Modu³ perla WWW-Robot
+Name:          perl-WWW-Robot
+Version:       0.019
+Release:       3
+Copyright:     GPL
+Group:         Development/Languages/Perl
+Group(pl):     Programowanie/Jêzyki/Perl
+Source:                ftp://ftp.perl.org/pub/CPAN/modules/by-module/WWW/WWW-Robot-%{version}.tar.gz
+Patch:         perl-WWW-Robot-paths.patch
+BuildRequires: perl >= 5.005_03-10
+BuildRequires: perl-libwww
+BuildRequires: perl-HTML-Tree
+BuildRequires: perl-HTML-Parser
+%requires_eq   perl
+Requires:      %{perl_sitearch}
+Requires:      perl-libwww
+Requires:      perl-HTML-Tree
+Requires:      perl-HTML-Parser
+Obsoletes:     perl-Robot
+BuildRoot:     /tmp/%{name}-%{version}-root
+
+%description
+WWW-Robot - configurable web traversal engine (for web robots & agents).
+
+%description -l pl
+WWW-Robot - konfigurowalny mechanizm analizuj±cy zasoby sieciowe (dla robotów
+sieciowych i innych sieciowych agentów).
+
+%prep
+%setup -q -n WWW-Robot-%{version}
+%patch -p0
+
+%build
+perl Makefile.PL
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+(
+  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/WWW/Robot
+  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
+  mv .packlist.new .packlist
+)
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
+        README ChangeLog
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc {README,ChangeLog}.gz examples/poacher
+
+%{perl_sitelib}/WWW/Robot.pm
+%{perl_sitearch}/auto/WWW/Robot
+
+%{_mandir}/man3/*
This page took 0.094625 seconds and 4 git commands to generate.