114 Star 0 Fork 2

src-openEuler / perl-WWW-RobotRules

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-WWW-RobotRules.spec 1.73 KB
一键复制 编辑 原始数据 按行查看 历史
dogsheng 提交于 2019-11-19 11:52 . Package init
%define __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(URI\\)$
%define __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(WWW::RobotRules::InCore\\)
Name: perl-WWW-RobotRules
Version: 6.02
Release: 21
Summary: This module parses the /robots.txt file as specified in "A Standard for Robot Exclusion"
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
BuildRequires: perl-generators perl(AnyDBM_File) perl(Carp) perl(ExtUtils::MakeMaker) perl(Fcntl) perl(URI) >= 1.10
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) perl(URI) >= 1.10
Conflicts: perl-libwww-perl < 6
BuildArch: noarch
%description
This is database of robots.txt-derived permissions. It parses the /robots.txt file as specified in "A Standard for Robot Exclusion".
%package help
Summary: Help documentation for perl-WWW-RobotRules
Buildarch: noarch
%description help
This package includes help documentation and manuals related to perl-WWW-RobotRules.
%prep
%autosetup -n WWW-RobotRules-6.02 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%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 \;
/usr/bin/chmod -Rf a+rX,u+w,g-w,o-w $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%files help
%{_mandir}/man3/*
%changelog
* Thu Oct 17 2019 dongjian <dongjian13@huawei.com> - 6.02-21
- Package init
1
https://gitee.com/src-openeuler/perl-WWW-RobotRules.git
git@gitee.com:src-openeuler/perl-WWW-RobotRules.git
src-openeuler
perl-WWW-RobotRules
perl-WWW-RobotRules
openEuler-20.03-LTS

搜索帮助