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.
84 lines
2.5 KiB
84 lines
2.5 KiB
Name: perl-MooseX-Types-Common
|
|
Summary: A library of commonly used type constraints
|
|
Version: 0.001003
|
|
Release: 1%{?dist}
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
Source0: http://search.cpan.org/CPAN/authors/id/A/AR/ARCANEZ/MooseX-Types-Common-%{version}.tar.gz
|
|
URL: http://search.cpan.org/dist/MooseX-Types-Common
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(Capture::Tiny)
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
BuildRequires: perl(Moose) >= 0.39
|
|
BuildRequires: perl(MooseX::Types) >= 0.04
|
|
BuildRequires: perl(Test::Exception)
|
|
BuildRequires: perl(Test::More) >= 0.62
|
|
|
|
Requires: perl(Moose) >= 0.39
|
|
Requires: perl(MooseX::Types) >= 0.04
|
|
|
|
|
|
%{?perl_default_filter}
|
|
%{?perl_default_subpackage_tests}
|
|
|
|
%description
|
|
A set of commonly-used type constraints that do not ship with Moose
|
|
by default.
|
|
|
|
|
|
%prep
|
|
%setup -q -n MooseX-Types-Common-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{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
|
|
|
|
%files
|
|
%doc README Changes
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%changelog
|
|
* Sat Oct 01 2011 Iain Arnell <iarnell@gmail.com> 0.001003-1
|
|
- update to latest upstream version
|
|
- clean up spec for modern rpmbuild
|
|
- BR Capture::Tiny for improved test coverage
|
|
|
|
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.001002-5
|
|
- Perl mass rebuild
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.001002-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.001002-3
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.001002-2
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Sun Mar 14 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.001002-1
|
|
- update by Fedora::App::MaintainerTools 0.006
|
|
- PERL_INSTALL_ROOT => DESTDIR
|
|
- updating to latest GA CPAN version (0.001002)
|
|
- added a new req on perl(Moose) (version 0.39)
|
|
- added a new req on perl(MooseX::Types) (version 0.04)
|
|
|
|
* Sat Feb 06 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.001001-1
|
|
- submission
|
|
|
|
* Sat Feb 06 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.001001-0
|
|
- initial RPM packaging
|
|
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
|