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