commit 0978866162f02715071cf4add95642d0eda6b433 Author: Toshaan Bharvani Date: Tue Oct 4 13:06:07 2022 +0200 initial package creation Signed-off-by: Toshaan Bharvani diff --git a/SOURCES/.gitkeeper b/SOURCES/.gitkeeper new file mode 100644 index 0000000..e69de29 diff --git a/SPECS/perl-WWW-RobotRules.spec b/SPECS/perl-WWW-RobotRules.spec new file mode 100644 index 0000000..d32b69c --- /dev/null +++ b/SPECS/perl-WWW-RobotRules.spec @@ -0,0 +1,163 @@ +Name: perl-WWW-RobotRules +Version: 6.02 +Release: 30%{?dist} +Summary: Database of robots.txt-derived permissions +License: GPL+ or Artistic +URL: https://metacpan.org/release/WWW-RobotRules +Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-%{version}.tar.gz +BuildArch: noarch +BuildRequires: coreutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(:VERSION) >= 5.8.1 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +# Run-time: +BuildRequires: perl(AnyDBM_File) +BuildRequires: perl(Carp) +BuildRequires: perl(Fcntl) +BuildRequires: perl(URI) >= 1.10 +BuildRequires: perl(vars) +# Tests: +# LWP::RobotUA not used +# URI::URL not used +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 NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 6.02-30 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 6.02-29 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Wed Jan 27 2021 Fedora Release Engineering - 6.02-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jan 15 2021 Petr Pisar - 6.02-27 +- Modernize a spec file + +* Tue Jul 28 2020 Fedora Release Engineering - 6.02-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 6.02-25 +- Perl 5.32 rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 6.02-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 6.02-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 6.02-22 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 6.02-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 6.02-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 6.02-19 +- Perl 5.28 rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 6.02-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 6.02-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 6.02-16 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 6.02-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 6.02-14 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 6.02-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 6.02-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 06 2015 Jitka Plesnikova - 6.02-11 +- Perl 5.22 rebuild + +* Thu Aug 28 2014 Jitka Plesnikova - 6.02-10 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 6.02-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 6.02-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sun Jul 21 2013 Petr Pisar - 6.02-7 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 6.02-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Sep 03 2012 Petr Pisar - 6.02-5 +- Drop useless build-requires LWP::RobotUA and URI::URL (bug #853147) + +* 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