From 984de54caf726a894ab8b3efeb7aa07e649649e8 Mon Sep 17 00:00:00 2001 From: David Dick Date: Jul 21 2014 20:48:45 +0000 Subject: Initial import (#1118960). --- diff --git a/.gitignore b/.gitignore index e69de29..a4b8ecd 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Clone-PP-1.06.tar.gz diff --git a/perl-Clone-PP.spec b/perl-Clone-PP.spec new file mode 100644 index 0000000..eebe6fd --- /dev/null +++ b/perl-Clone-PP.spec @@ -0,0 +1,50 @@ +Name: perl-Clone-PP +Version: 1.06 +Release: 1%{?dist} +Summary: Recursively copy Perl data-types +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Clone-PP/ +Source0: http://www.cpan.org/modules/by-module/Clone/Clone-PP-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Benchmark) +BuildRequires: perl(Carp) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides a general-purpose clone function to make deep copies +of Perl data structures. It calls itself recursively to copy nested hash, +array, scalar and reference types, including tied variables and objects. + +%prep +%setup -q -n Clone-PP-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Jul 21 2014 David Dick - 1.06-1 +- Initial release diff --git a/sources b/sources index e69de29..dfc2903 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1aa5a17c47f168488d013bd6051658fa Clone-PP-1.06.tar.gz