diff --git a/.perl-WWW-RobotRules.metadata b/.perl-WWW-RobotRules.metadata new file mode 100644 index 0000000..6fb3429 --- /dev/null +++ b/.perl-WWW-RobotRules.metadata @@ -0,0 +1 @@ +e158e6559307878b32d8e4c241bf257c2bc88ebb SOURCES/WWW-RobotRules-6.02.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-WWW-RobotRules.spec b/SPECS/perl-WWW-RobotRules.spec new file mode 100644 index 0000000..426a314 --- /dev/null +++ b/SPECS/perl-WWW-RobotRules.spec @@ -0,0 +1,78 @@ +Name: perl-WWW-RobotRules +Version: 6.02 +Release: 4%{?dist} +Summary: Database of robots.txt-derived permissions +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/WWW-RobotRules/ +Source0: http://www.cpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(AnyDBM_File) +BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Fcntl) +BuildRequires: perl(LWP::RobotUA) +BuildRequires: perl(URI) >= 1.10 +BuildRequires: perl(URI::URL) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(URI) >= 1.10 +Conflicts: perl-libwww-perl < 6 + +# Remove underspecified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(URI\\)$ +# Do not provide private imlementation of abstract class methods +%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(WWW::RobotRules::InCore\\) + +%description +This module parses /robots.txt files as specified in "A Standard for Robot +Exclusion", at . Webmasters can +use the /robots.txt file to forbid conforming robots from accessing parts +of their web site. + +%prep +%setup -q -n WWW-RobotRules-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Aug 27 2012 Jitka Plesnikova - 6.02-4 +- Specify all dependencies. + +* Fri Jul 20 2012 Fedora Release Engineering - 6.02-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 12 2012 Petr Pisar - 6.02-2 +- Perl 5.16 rebuild + +* Mon Feb 20 2012 Petr Pisar - 6.02-1 +- 6.02 bump + +* Fri Jan 13 2012 Fedora Release Engineering - 6.01-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Jul 24 2011 Iain Arnell 6.01-3 +- update filtering for rpm 4.9 + +* Tue Jun 21 2011 Marcela Mašláňová - 6.01-2 +- Perl mass rebuild + +* Thu Mar 17 2011 Petr Pisar 6.01-1 +- Specfile autogenerated by cpanspec 1.78. +- Remove BuildRoot stuff +- Conflicts with perl-libwww-perl-5* and older