Name: perl-MooseX-Types-Perl Version: 0.101340 Release: 1%{?dist} Summary: Moose types that check against Perl syntax License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooseX-Types-Perl/ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/MooseX-Types-Perl-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(MooseX::Types) BuildRequires: perl(MooseX::Types::Moose) BuildRequires: perl(Params::Util) BuildRequires: perl(Test::More) BuildRequires: perl(version) >= 0.82 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description This library provides Moose types for checking things (mostly strings) against syntax that is, or is a reasonable subset of, Perl syntax. %prep %setup -q -n MooseX-Types-Perl-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Jun 07 2010 Iain Arnell 0.101340-1 - Specfile autogenerated by cpanspec 1.78.