commit 9bc3bac9e7dbd84e2e0e79c0528bed151b9c6b78 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:11:49 2019 -0400 Package init diff --git a/CPAN-Meta-2.150010.tar.gz b/CPAN-Meta-2.150010.tar.gz new file mode 100644 index 0000000..95d3ac9 Binary files /dev/null and b/CPAN-Meta-2.150010.tar.gz differ diff --git a/perl-CPAN-Meta.spec b/perl-CPAN-Meta.spec new file mode 100644 index 0000000..7ef6ffa --- /dev/null +++ b/perl-CPAN-Meta.spec @@ -0,0 +1,63 @@ +Name: perl-CPAN-Meta +Version: 2.150010 +Release: 418 +Summary: The distribution metadata for a CPAN dist +License: GPL+ or Artistic +URL: https://metacpan.org/release/CPAN-Meta +Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker) >= 6.17 perl(Test::More) >= 0.88 coreutils findutils +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(CPAN::Meta::YAML) >= 0.011 perl(Encode) perl(JSON::PP) >= 2.27300 perl(version) >= 0.88 + +Obsoletes: perl-Parse-CPAN-Meta < 1:1.4422-2 + +%{?perl_default_filter} + +%description +Software distributions released to the CPAN include a META.json or, +for older distributions, META.yml, which describes the distribution, +its contents, and the requirements for building and installing the distribution. +The data structure stored in the META.json file is described in CPAN::Meta::Spec. + +CPAN::Meta provides a simple class to represent this distribution metadata (or distmeta), +along with some helpful methods for interrogating that data. + +%package_help + +%prep +%autosetup -n CPAN-Meta-%{version} -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 +%make_build + +%install +%make_install + +%check +make test + +%pre + +%preun + +%post + +%postun + +%files +%defattr(-,root,root) +%license LICENSE +%doc Changes history README t/ +%{perl_vendorlib}/* + +%files help +%defattr(-,root,root) +%doc CONTRIBUTING.mkdn Todo +%{_mandir}/*/* + +%changelog +* Mon Sep 2 2019 openEuler Buildteam - 2.150010-418 +- Package init