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