114 Star 0 Fork 4

src-openEuler / perl-YAML-Tiny

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-YAML-Tiny.spec 1.93 KB
一键复制 编辑 原始数据 按行查看 历史
yanzh_h 提交于 2020-01-13 20:12 . modify buildrequires
%{bcond_with perl_YAML_Tiny_enables_JSON_MaybeX_test}
Name: perl-YAML-Tiny
Version: 1.73
Release: 4
Summary: Read/Write YAML files with as little code as possible
License: GPL+ or Artistic
URL: https://metacpan.org/release/YAML-Tiny
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/YAML-Tiny-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils findutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker)
BuildRequires: perl(B) perl(Carp) perl(Exporter) perl(Fcntl) perl(Scalar::Util) perl(strict)
BuildRequires: perl(blib) perl(CPAN::Meta) >= 2.120900 perl(File::Basename) perl(File::Find)
BuildRequires: perl(File::Spec) >= 0.80 perl(File::Spec::Functions) perl(File::Temp) >= 0.19 perl(Getopt::Long) perl(IO::Dir)
%if %{with perl_YAML_Tiny_enables_JSON_MaybeX_test}
BuildRequires: perl(JSON::MaybeXS) >= 1.001000
%endif
BuildRequires: perl(JSON::PP) perl(lib) perl(List::Util) perl(Test::More) >= 0.88 perl(utf8)
BuildRequires: perl(vars) perl(warnings) perl(YAML)
#BuildRequires: perl(YAML::Syck) perl(YAML::XS)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp) perl(Exporter) perl(Fcntl) perl(Scalar::Util)
%description
YAML::Tiny is a Perl class for reading and writing YAML-style files,
Read/Write YAML files with as little code as possible
%package help
Summary: Introduce how to use YAML::Tiny
%description help
Introduce how to use YAML::Tiny
%prep
%autosetup -n YAML-Tiny-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%license LICENSE
%{perl_vendorlib}/YAML/
%files help
%doc Changes CONTRIBUTING README
%{_mandir}/man3/YAML::Tiny.3*
%changelog
* Wed Nov 20 2019 yangjian<yangjian79@huawei.com> - 1.73-4
- Package init
1
https://gitee.com/src-openeuler/perl-YAML-Tiny.git
git@gitee.com:src-openeuler/perl-YAML-Tiny.git
src-openeuler
perl-YAML-Tiny
perl-YAML-Tiny
openEuler-20.03-LTS

搜索帮助