Package init
This commit is contained in:
commit
34c57d7524
BIN
File-Path-2.16.tar.gz
Normal file
BIN
File-Path-2.16.tar.gz
Normal file
Binary file not shown.
58
perl-File-Path.spec
Normal file
58
perl-File-Path.spec
Normal file
@ -0,0 +1,58 @@
|
||||
Name: perl-File-Path
|
||||
Version: 2.16
|
||||
Release: 3
|
||||
Summary: Create or remove directory trees
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/pod/File::Path
|
||||
Source0: https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/File-Path-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: coreutils findutils make perl-generators perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(Test::More) >= 0.44
|
||||
BuildRequires: perl(strict) perl(Carp) perl(Cwd) perl(Exporter) perl(File::Basename) perl(File::Spec)
|
||||
BuildRequires: perl(vars) perl(base) perl(Config) perl(Errno) perl(Fcntl) perl(File::Spec::Functions)
|
||||
BuildRequires: perl(lib) perl(SelectSaver) perl(warnings)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Carp)
|
||||
|
||||
%description
|
||||
This module provides a convenient way to create directories
|
||||
of arbitrary depth and to delete an entire directory subtree
|
||||
from the filesystem.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n File-Path-%{version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc Changes
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sat Aug 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.16-3
|
||||
- rebuild package
|
||||
|
||||
* Mon Aug 26 2019 hexiaowen <hexiaowen@huawei.com> - 2.16-2
|
||||
- fix type
|
||||
|
||||
* Mon Aug 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.16-1
|
||||
- Package Init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user