parent
6a787fde75
commit
59ea70faee
@ -0,0 +1 @@
|
||||
Moose-Autobox-0.09.tar.gz
|
@ -0,0 +1 @@
|
||||
perl-Moose-Autobox-0_09-1_fc11:HEAD:perl-Moose-Autobox-0.09-1.fc11.src.rpm:1252031403
|
@ -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 <cweyl@alumni.drew.edu> 0.09-1
|
||||
- submission
|
||||
|
||||
* Fri Aug 07 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.09-0
|
||||
- initial RPM packaging
|
||||
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
|
||||
|
Loading…
Reference in new issue