You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.3 KiB
55 lines
1.3 KiB
3 years ago
|
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
|