package created by autospec [release 0.38-1mamba;Mon Feb 21 2011]

This commit is contained in:
gil 2024-01-06 08:58:58 +01:00
parent 0b58451d4e
commit 0f8af20cce
2 changed files with 56 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# perl-File-Copy-Recursive
This module copies and moves directories recursively (or single files, well... singley) to
an optional depth and attempts to preserve each file or directory's mode.

View File

@ -0,0 +1,53 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-File-Copy-Recursive
Version: 0.38
Release: 1mamba
Summary: File::Copy::Recursive - Perl extension for recursively copying files and directories
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/D/DM/DMUEY/File-Copy-Recursive-%{version}.tar.gz
License: GPL, Artistic
BuildRequires: perl(Test::More)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Spec)
BuildRequires: perl-devel
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This module copies and moves directories recursively (or single files, well... singley) to
an optional depth and attempts to preserve each file or directory's mode.
%prep
%setup -q -n File-Copy-Recursive-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{perl_vendorlib}/File/*
%{_mandir}/man3/*.3pm.gz
%doc Changes README
%changelog
* Mon Feb 21 2011 gil <puntogil@libero.it> 0.38-1mamba
- package created by autospec