Package init
This commit is contained in:
commit
50312c499c
BIN
Module-CoreList-5.20180920.tar.gz
Normal file
BIN
Module-CoreList-5.20180920.tar.gz
Normal file
Binary file not shown.
55
perl-Module-CoreList.spec
Normal file
55
perl-Module-CoreList.spec
Normal file
@ -0,0 +1,55 @@
|
||||
Name: perl-Module-CoreList
|
||||
Epoch: 1
|
||||
Version: 5.20180920
|
||||
Release: 2
|
||||
Summary: what modules shipped with versions of perl
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Module-CoreList
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-CoreList-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl perl-generators perl-interpreter perl(Config) perl(List::Util) perl(strict)
|
||||
BuildRequires: perl(version) perl(ExtUtils::MakeMaker) perl(warnings) perl(Test::More) make
|
||||
Requires: perl(List::Util) perl(version) perl(feature) perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Provides: perl-Module-CoreList-tools
|
||||
Obsoletes: perl-Module-CoreList-tools
|
||||
|
||||
%description
|
||||
Module::CoreList provides information on which core and dual-life modules shipped with each
|
||||
version of perl. It provides a number of mechanisms for querying this information. There is
|
||||
a utility called corelist provided with this module which is a convenient way of querying
|
||||
from the command-line. There is a functional programming API available for programmers to
|
||||
query information. Programmers may also query the contained hash structures to find relevant
|
||||
information.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n Module-CoreList-%{version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL NO_PACKLIST=1 INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README Changes
|
||||
%{_bindir}/corelist
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:5.20180920-2
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user