diff --git a/.cvsignore b/.cvsignore index e69de29..96181b8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Moose-Autobox-0.09.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..29a6d13 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Moose-Autobox-0_09-1_fc11:HEAD:perl-Moose-Autobox-0.09-1.fc11.src.rpm:1252031403 diff --git a/perl-Moose-Autobox.spec b/perl-Moose-Autobox.spec new file mode 100644 index 0000000..f62fd32 --- /dev/null +++ b/perl-Moose-Autobox.spec @@ -0,0 +1,66 @@ +Name: perl-Moose-Autobox +Version: 0.09 +Release: 1%{?dist} +# lib/Moose/Autobox.pm -> GPL+ or Artistic +License: GPL+ or Artistic +Group: Development/Libraries +Summary: Autoboxed wrappers for native Perl datatypes +Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Moose-Autobox-%{version}.tar.gz +Url: http://search.cpan.org/dist/Moose-Autobox +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch + +BuildRequires: perl(autobox) >= 2.23 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 +BuildRequires: perl(Moose) >= 0.42 +BuildRequires: perl(Perl6::Junction) >= 1.40000 +BuildRequires: perl(Test::Exception) >= 0.21 +BuildRequires: perl(Test::More) >= 0.62 + +# not automagically picked up +Requires: perl(autobox) + +%{?perl_default_filter} + +%description +Moose::Autobox provides an implementation of SCALAR, ARRAY, HASH & CODE +for use with autobox. + + +%prep +%setup -q -n Moose-Autobox-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' + +%{_fixperms} %{buildroot}/* + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes README examples/ +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + +%changelog +* Mon Aug 31 2009 Chris Weyl 0.09-1 +- submission + +* Fri Aug 07 2009 Chris Weyl 0.09-0 +- initial RPM packaging +- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) + diff --git a/sources b/sources index e69de29..be6fee1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c6f9e74a9054ce59da4d593836d9d05f Moose-Autobox-0.09.tar.gz