Name: perl-MooseX-Types-Common Version: 0.001001 Release: 1%{?dist} # lib/MooseX/Types/Common.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: A library of commonly used type constraints Source: http://search.cpan.org/CPAN/authors/id/G/GR/GRODITI/MooseX-Types-Common-%{version}.tar.gz Url: http://search.cpan.org/dist/MooseX-Types-Common BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(Moose) >= 0.39 BuildRequires: perl(MooseX::Types) >= 0.04 BuildRequires: perl(Test::More) >= 0.62 BuildRequires: perl(Test::Exception) %{?perl_default_filter} %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 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 README Changes %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Sat Feb 06 2010 Chris Weyl 0.001001-1 - submission * Sat Feb 06 2010 Chris Weyl 0.001001-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)