Recursively create a directory tree.epel9 imports/e9/perl-File-TreeCreate-0.0.1-1.el9
parent
fc2926ae6f
commit
02453159ee
@ -0,0 +1 @@
|
|||||||
|
/File-TreeCreate-[0-9.]*.tar.gz
|
@ -0,0 +1,54 @@
|
|||||||
|
Name: perl-File-TreeCreate
|
||||||
|
Version: 0.0.1
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Recursively create a directory tree
|
||||||
|
License: MIT
|
||||||
|
URL: https://metacpan.org/release/File-TreeCreate
|
||||||
|
Source0: https://cpan.metacpan.org/modules/by-module/File/File-TreeCreate-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
# Module Build
|
||||||
|
BuildRequires: coreutils
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl(Module::Build) >= 0.28
|
||||||
|
# Module Runtime
|
||||||
|
BuildRequires: perl(autodie)
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(File::Spec)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
# Test Suite
|
||||||
|
BuildRequires: perl(blib)
|
||||||
|
BuildRequires: perl(File::Path)
|
||||||
|
BuildRequires: perl(IO::Handle)
|
||||||
|
BuildRequires: perl(IPC::Open3)
|
||||||
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
|
# Dependencies
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
Recursively create a directory tree.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n File-TreeCreate-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Build.PL --installdirs=vendor
|
||||||
|
./Build
|
||||||
|
|
||||||
|
%install
|
||||||
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||||
|
%{_fixperms} -c %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/File/
|
||||||
|
%{_mandir}/man3/File::TreeCreate.3*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Aug 27 2021 Paul Howarth <paul@city-fan.org> - 0.0.1-1
|
||||||
|
- Initial RPM version
|
Loading…
Reference in new issue