perl-File-Copy-Recursive/perl-File-Copy-Recursive.spec

Name: perl-File-Copy-Recursive
Summary: Copy files recusively
Version: 0.38
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/File-Copy-Recursive/
Description: This module has 3 functions, one to copy files only, one to copy directories only and one to do either depending on the argument's type.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Daniel Muey <dmuey$cpan,org>

### EL6 ships with perl-File-Copy-Recursive-0.38-4.el6
%{?el6:# Tag: rfx}

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name File-Copy-Recursive

Summary: Copy files recusively
Name: perl-File-Copy-Recursive
Version: 0.38
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/File-Copy-Recursive/

Source: http://www.cpan.org/modules/by-module/File/File-Copy-Recursive-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
This module has 3 functions, one to copy files only, one to copy directories
only and one to do either depending on the argument's type.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man3/File::Copy::Recursive.3pm*
%dir %{perl_vendorlib}/File/
%dir %{perl_vendorlib}/File/Copy/
#%{perl_vendorlib}/File/Copy/Recursive/
%{perl_vendorlib}/File/Copy/Recursive.pm

%changelog
* Mon Jul  6 2009 Christoph Maser <cmr@financial.com> - 0.38-1
- Updated to version 0.38.

* Mon Oct 13 2008 Dag Wieers <dag@wieers.com> - 0.37-1
- Updated to release 0.37.

* Mon May 05 2008 Dag Wieers <dag@wieers.com> - 0.36-1
- Updated to release 0.36.

* Fri Nov 09 2007 Dag Wieers <dag@wieers.com> - 0.35-1
- Updated to release 0.35.

* Mon Jun 18 2007 Dries Verachtert <dries@ulyssis.org> - 0.33-1
- Updated to release 0.33.

* Sun Apr 29 2007 Dries Verachtert <dries@ulyssis.org> - 0.31-1
- Updated to release 0.31.

* Wed Jan 03 2007 Dries Verachtert <dries@ulyssis.org> - 0.30-1
- Updated to release 0.30.

* Tue Nov 14 2006 Dries Verachtert <dries@ulyssis.org> - 0.29-1
- Updated to release 0.29.

* Mon Sep 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.28-1
- Updated to release 0.28.

* Fri Jun  2 2006 Dries Verachtert <dries@ulyssis.org> - 0.23-1
- Updated to release 0.23.

* Sun Mar 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.19-1
- Updated to release 0.19.

* Thu Dec 15 2005 Dries Verachtert <dries@ulyssis.org> - 0.16-1
- Initial package.