43 lines
1.0 KiB
RPMSpec
43 lines
1.0 KiB
RPMSpec
Name: perl-ExtUtils-Config
|
|
Version: 0.008
|
|
Release: 19
|
|
Summary: A wrapper for perl's configuration
|
|
License: GPL+ or Artistic
|
|
URL: https://metacpan.org/release/ExtUtils-Config
|
|
Source0: https://cpan.metacpan.org/modules/by-module/ExtUtils/ExtUtils-Config-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: coreutils findutils make perl-generators perl-interpreter
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
Requires: perl(:MODULE_COMPAT_%(perl -V:version | cut -d"'" -f 2))
|
|
|
|
%description
|
|
This package contains the module that provides a wrapper for perl's configuration.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n ExtUtils-Config-%{version} -p1
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{buildroot}
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%license LICENSE
|
|
%{perl_vendorlib}/ExtUtils/
|
|
|
|
%files help
|
|
%doc Changes README
|
|
%{_mandir}/man3/ExtUtils::Config.3*
|
|
|
|
%changelog
|
|
* Sat Feb 29 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.008-19
|
|
- Package init
|