You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.8 KiB
70 lines
1.8 KiB
Name: perl-Moose-Autobox
|
|
Version: 0.09
|
|
Release: 2%{?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 Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.09-2
|
|
- rebuild against perl 5.10.1
|
|
|
|
* 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)
|
|
|