commit 0ef2bce685b853592db15277b912cf74d6027ce0 Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Tue Mar 25 04:06:57 2014 +0100 Initial import. .gitignore | 1 + perl-Data-Perl.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 67 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..a416b8c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Data-Perl-0.002007.tar.gz diff --git a/perl-Data-Perl.spec b/perl-Data-Perl.spec new file mode 100644 index 0000000..4ba298f --- /dev/null +++ b/perl-Data-Perl.spec @@ -0,0 +1,65 @@ +Name: perl-Data-Perl +Version: 0.002007 +Release: 2%{?dist} +Summary: Base classes wrapping fundamental Perl data types +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Data-Perl/ +Source0: http://www.cpan.org/authors/id/M/MA/MATTP/Data-Perl-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(constant) +BuildRequires: perl(Class::Method::Modifiers) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(List::MoreUtils) +BuildRequires: perl(List::Util) +BuildRequires: perl(Module::Runtime) +BuildRequires: perl(parent) +BuildRequires: perl(Role::Tiny) +BuildRequires: perl(Role::Tiny::With) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strictures) +BuildRequires: perl(Test::Deep) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::Output) + +# rpm's automatick deptracking misses to add this: +Requires: perl(Exporter) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Data::Perl is a collection of classes that wrap fundamental data types +that exist in Perl. These classes and methods as they exist today are an +attempt to mirror functionality provided by Moose's Native Traits. One +important thing to note is all classes currently do no validation on +constructor input. + +%prep +%setup -q -n Data-Perl-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Mar 23 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 0.002007-2 +- Reflect initial review. + +* Fri Mar 21 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 0.002007-1 +- Initial Fedora package. diff --git a/sources b/sources index e69de29..ba6cec1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +19c842c0c411d044ee26b719da9315c0 Data-Perl-0.002007.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel