package created by autospec [release 0.38-1mamba;Mon Feb 21 2011]
This commit is contained in:
parent
0b58451d4e
commit
0f8af20cce
@ -1,2 +1,5 @@
|
|||||||
# perl-File-Copy-Recursive
|
# 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.
|
||||||
|
|
||||||
|
53
perl-File-Copy-Recursive.spec
Normal file
53
perl-File-Copy-Recursive.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user