From 849f120f23d43e4629cb6912ce102fa7e8b2d9fd Mon Sep 17 00:00:00 2001 From: Iain Arnell Date: Mon, 10 Oct 2011 05:12:50 +0200 Subject: [PATCH] initial import (rhbz#744522) --- .gitignore | 1 + perl-Moo.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+) create mode 100644 perl-Moo.spec diff --git a/.gitignore b/.gitignore index e69de29..10aa25f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Moo-0.009010.tar.gz diff --git a/perl-Moo.spec b/perl-Moo.spec new file mode 100644 index 0000000..57215d9 --- /dev/null +++ b/perl-Moo.spec @@ -0,0 +1,51 @@ +Name: perl-Moo +Version: 0.009010 +Release: 1%{?dist} +Summary: Minimalist Object Orientation (with Moose compatibility) +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Moo/ +Source0: http://www.cpan.org/authors/id/M/MS/MSTROUT/Moo-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Class::Method::Modifiers) >= 1.05 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strictures) >= 1.001001 +BuildRequires: perl(Test::Fatal) >= 0.003 +BuildRequires: perl(Test::More) >= 0.96 +Requires: perl(Class::Method::Modifiers) >= 1.05 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module is an extremely light-weight, high-performance Moose +replacement. It also avoids depending on any XS modules to allow simple +deployments. The name Moo is based on the idea that it provides almost -but +not quite- two thirds of Moose. + +%prep +%setup -q -n Moo-%{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 {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Oct 02 2011 Iain Arnell 0.009010-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..3fec3e9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +474b3dd37189b7a5056ec6d2d25096d2 Moo-0.009010.tar.gz