2007-01-18 02:52:44 +00:00
|
|
|
Name: perl-File-Copy-Recursive
|
2007-05-14 10:08:09 +00:00
|
|
|
Version: 0.33
|
2007-05-14 10:33:05 +00:00
|
|
|
Release: 2%{?dist}
|
2007-01-18 02:52:44 +00:00
|
|
|
Summary: Extension for recursively copying files and directories
|
|
|
|
License: GPL or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/File-Copy-Recursive/
|
|
|
|
Source0: http://www.cpan.org/modules/by-module/File/File-Copy-Recursive-%{version}.tar.gz
|
2007-01-18 02:56:04 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2007-01-18 02:52:44 +00:00
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2007-05-14 10:33:05 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2007-03-12 04:09:22 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2007-01-18 02:52:44 +00:00
|
|
|
BuildRequires: perl(File::Copy)
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module copies and moves directories recursively 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 INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/File
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2007-05-14 10:33:05 +00:00
|
|
|
* Mon May 14 2007 Ralf Corsépius <rc040203@freenet.de> - 0.33-2
|
|
|
|
- BR: perl(Test::More).
|
|
|
|
|
2007-05-14 10:08:09 +00:00
|
|
|
* Mon May 14 2007 Ralf Corsépius <rc040203@freenet.de> - 0.33-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2007-03-12 04:09:22 +00:00
|
|
|
* Mon Mar 12 2007 Ralf Corsépius <rc040203@freenet.de> - 0.31-2
|
|
|
|
- BR: perl(ExtUtils::MakeMaker).
|
|
|
|
|
2007-03-02 08:02:32 +00:00
|
|
|
* Fri Mar 02 2007 Ralf Corsépius <rc040203@freenet.de> - 0.31-1
|
2007-03-02 05:54:56 +00:00
|
|
|
- Upstream update.
|
|
|
|
|
2007-01-18 02:56:04 +00:00
|
|
|
* Thu Jan 18 2007 Ralf Corsépius <rc040203@freenet.de> - 0.30-2
|
|
|
|
- Cosmetics.
|
|
|
|
|
2007-01-18 02:52:44 +00:00
|
|
|
* Wed Jan 17 2007 Ralf Corsépius <rc040203@freenet.de> - 0.30-1
|
|
|
|
- Initial Fedora submission.
|