Package init
This commit is contained in:
commit
9bc3bac9e7
BIN
CPAN-Meta-2.150010.tar.gz
Normal file
BIN
CPAN-Meta-2.150010.tar.gz
Normal file
Binary file not shown.
63
perl-CPAN-Meta.spec
Normal file
63
perl-CPAN-Meta.spec
Normal file
@ -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 <buildteam@openeuler.org> - 2.150010-418
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user