1 Star 0 Fork 2

jinxu/perl-Test-File-Contents

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Test-File-Contents.spec 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
jinxu 提交于 2021-06-28 18:11 . Initial package for openEuler
Name: perl-Test-File-Contents
Version: 0.23
Release: 1
Summary: Test routines for examining the contents of files
License: GPL+ or Artistic
URL: https://metacpan.org/release/Test-File-Contents
Source0: https://cpan.metacpan.org/authors/id/D/DW/DWHEELER/Test-File-Contents-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(Module::Build)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::Builder) >= 0.70
BuildRequires: perl(Text::Diff) >= 0.35
# Tests only
BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::Builder::Tester::Color)
BuildRequires: perl(Test::More)
BuildRequires: perl(utf8)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(Test::Builder) >= 0.70
Requires: perl(Text::Diff) >= 0.35
%package help
Summary: Help documents for %{name}
%description help
This package contains all man files to use %{name}
%description
Test routines for examining the contents of files.
%prep
%setup -q -n Test-File-Contents-%{version}
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
%{_fixperms} %{buildroot}
%check
./Build test
%files
%doc Changes README
%{perl_vendorlib}/Test/
%files help
%{_mandir}/man3/*
%changelog
* Mon Jun 28 2021 Xu Jin <jinxu@kylinos.cn> - 0.23-1
- Initial package for openEuler
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jinxu1992/perl-Test-File-Contents.git
git@gitee.com:jinxu1992/perl-Test-File-Contents.git
jinxu1992
perl-Test-File-Contents
perl-Test-File-Contents
master

搜索帮助