|
|
732ae6 |
Name: perl-WWW-RobotRules
|
|
|
732ae6 |
Version: 6.02
|
|
|
732ae6 |
Release: 5%{?dist}
|
|
|
732ae6 |
Summary: Database of robots.txt-derived permissions
|
|
|
732ae6 |
License: GPL+ or Artistic
|
|
|
732ae6 |
Group: Development/Libraries
|
|
|
732ae6 |
URL: http://search.cpan.org/dist/WWW-RobotRules/
|
|
|
732ae6 |
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-%{version}.tar.gz
|
|
|
732ae6 |
BuildArch: noarch
|
|
|
732ae6 |
BuildRequires: perl(AnyDBM_File)
|
|
|
732ae6 |
BuildRequires: perl(Carp)
|
|
|
732ae6 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
732ae6 |
BuildRequires: perl(Fcntl)
|
|
|
732ae6 |
BuildRequires: perl(LWP::RobotUA)
|
|
|
732ae6 |
BuildRequires: perl(URI) >= 1.10
|
|
|
732ae6 |
BuildRequires: perl(URI::URL)
|
|
|
732ae6 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
732ae6 |
Requires: perl(URI) >= 1.10
|
|
|
732ae6 |
Conflicts: perl-libwww-perl < 6
|
|
|
732ae6 |
|
|
|
732ae6 |
# Remove underspecified dependencies
|
|
|
732ae6 |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(URI\\)$
|
|
|
732ae6 |
# Do not provide private imlementation of abstract class methods
|
|
|
732ae6 |
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(WWW::RobotRules::InCore\\)
|
|
|
732ae6 |
|
|
|
732ae6 |
%description
|
|
|
732ae6 |
This module parses /robots.txt files as specified in "A Standard for Robot
|
|
|
732ae6 |
Exclusion", at <http://www.robotstxt.org/wc/norobots.html>. Webmasters can
|
|
|
732ae6 |
use the /robots.txt file to forbid conforming robots from accessing parts
|
|
|
732ae6 |
of their web site.
|
|
|
732ae6 |
|
|
|
732ae6 |
%prep
|
|
|
732ae6 |
%setup -q -n WWW-RobotRules-%{version}
|
|
|
732ae6 |
|
|
|
732ae6 |
%build
|
|
|
732ae6 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
732ae6 |
make %{?_smp_mflags}
|
|
|
732ae6 |
|
|
|
732ae6 |
%install
|
|
|
732ae6 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
732ae6 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
732ae6 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
732ae6 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
732ae6 |
|
|
|
732ae6 |
%check
|
|
|
732ae6 |
make test
|
|
|
732ae6 |
|
|
|
732ae6 |
%files
|
|
|
732ae6 |
%doc Changes README
|
|
|
732ae6 |
%{perl_vendorlib}/*
|
|
|
732ae6 |
%{_mandir}/man3/*
|
|
|
732ae6 |
|
|
|
732ae6 |
%changelog
|
|
|
732ae6 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 6.02-5
|
|
|
732ae6 |
- Mass rebuild 2013-12-27
|
|
|
732ae6 |
|
|
|
732ae6 |
* Mon Aug 27 2012 Jitka Plesnikova <jplesnik@redhat.com> - 6.02-4
|
|
|
732ae6 |
- Specify all dependencies.
|
|
|
732ae6 |
|
|
|
732ae6 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-3
|
|
|
732ae6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
732ae6 |
|
|
|
732ae6 |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 6.02-2
|
|
|
732ae6 |
- Perl 5.16 rebuild
|
|
|
732ae6 |
|
|
|
732ae6 |
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.02-1
|
|
|
732ae6 |
- 6.02 bump
|
|
|
732ae6 |
|
|
|
732ae6 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.01-4
|
|
|
732ae6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
732ae6 |
|
|
|
732ae6 |
* Sun Jul 24 2011 Iain Arnell <iarnell@gmail.com> 6.01-3
|
|
|
732ae6 |
- update filtering for rpm 4.9
|
|
|
732ae6 |
|
|
|
732ae6 |
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.01-2
|
|
|
732ae6 |
- Perl mass rebuild
|
|
|
732ae6 |
|
|
|
732ae6 |
* Thu Mar 17 2011 Petr Pisar <ppisar@redhat.com> 6.01-1
|
|
|
732ae6 |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
732ae6 |
- Remove BuildRoot stuff
|
|
|
732ae6 |
- Conflicts with perl-libwww-perl-5* and older
|