package init

This commit is contained in:
openeuler-basic 2020-02-29 13:04:19 +08:00
parent 08a5c3d015
commit 52961eef31
2 changed files with 44 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,44 @@
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