source: spec/trunk/SPECS/perl-WWW-RobotRules.spec@ 1566

Last change on this file since 1566 was 1308, checked in by Silvan Scherrer, 8 years ago

spec: perl-WWW-RobotRules: Release version 6.02-1.

File size: 1.9 KB
Line 
1Name: perl-WWW-RobotRules
2Version: 6.02
3Release: 1%{?dist}
4Summary: Database of robots.txt-derived permissions
5License: GPL+ or Artistic
6Group: Development/Libraries
7URL: http://search.cpan.org/dist/WWW-RobotRules/
8Vendor: bww bitwise works GmbH
9Source0: http://www.cpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-%{version}.tar.gz
10BuildArch: noarch
11BuildRequires: perl-generators
12BuildRequires: perl(AnyDBM_File)
13BuildRequires: perl(Carp)
14BuildRequires: perl(ExtUtils::MakeMaker)
15BuildRequires: perl(Fcntl)
16BuildRequires: perl(URI) >= 1.10
17Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18Requires: perl(URI) >= 1.10
19Conflicts: perl-libwww-perl < 6
20
21# Remove underspecified dependencies
22%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(URI\\)$
23# Do not provide private imlementation of abstract class methods
24%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(WWW::RobotRules::InCore\\)
25
26%description
27This module parses /robots.txt files as specified in "A Standard for Robot
28Exclusion", at <http://www.robotstxt.org/wc/norobots.html>. Webmasters can
29use the /robots.txt file to forbid conforming robots from accessing parts
30of their web site.
31
32%prep
33%setup -q -n WWW-RobotRules-%{version}
34
35%build
36%{__perl} Makefile.PL INSTALLDIRS=vendor
37make %{?_smp_mflags}
38make manifypods
39
40%install
41make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
42find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
43find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
44%{_fixperms} $RPM_BUILD_ROOT/*
45
46%check
47#make test
48
49%files
50%doc Changes README
51%{perl_vendorlib}/*
52%{_mandir}/man3/*
53
54%changelog
55* Fri Feb 23 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> - 6.02-1
56- initial version
Note: See TracBrowser for help on using the repository browser.