Package init
This commit is contained in:
commit
fd905d35ff
BIN
ExtUtils-Install-2.14.tar.gz
Normal file
BIN
ExtUtils-Install-2.14.tar.gz
Normal file
Binary file not shown.
61
perl-ExtUtils-Install.spec
Normal file
61
perl-ExtUtils-Install.spec
Normal file
@ -0,0 +1,61 @@
|
||||
Name: perl-ExtUtils-Install
|
||||
Version: 2.14
|
||||
Release: 419
|
||||
Summary: Install Perl files from here to there
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/ExtUtils-Install
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-Install-2.14.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils make
|
||||
BuildRequires: perl-interpreter perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(lib) perl(strict) sed
|
||||
BuildRequires: perl(AutoSplit) perl(Carp) perl(Config)
|
||||
BuildRequires: perl(Cwd) perl(Exporter) perl(File::Basename)
|
||||
BuildRequires: perl(File::Compare) perl(File::Copy) perl(File::Find)
|
||||
BuildRequires: perl(File::Path) perl(File::Spec) perl(vars)
|
||||
BuildRequires: perl(diagnostics) perl(ExtUtils::MM)
|
||||
BuildRequires: perl(File::Temp) perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(AutoSplit) perl(Data::Dumper) perl(File::Compare)
|
||||
Recommends: perl(POSIX)
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
Perl modules installing and uninstalling
|
||||
|
||||
%package help
|
||||
Summary: Documents for %{name}
|
||||
Buildarch: noarch
|
||||
Requires: man
|
||||
|
||||
%description help
|
||||
Man pages and other related documents for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -n ExtUtils-Install-2.14 -p1
|
||||
rm -rf t/lib/Test
|
||||
sed -i -e '/^t\/lib\/Test\//d' MANIFEST
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sat Sep 14 2019 zhangsaisai <zhangsaisai@huawei.com> - 2.14-419
|
||||
- Package Init
|
||||
Loading…
x
Reference in New Issue
Block a user