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