Name: perl-MooseX-Types-Structured Version: 0.19 Release: 1%{?dist} Summary: Structured Type Constraints for Moose License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooseX-Types-Structured/ Source0: http://www.cpan.org/authors/id/F/FL/FLORA/MooseX-Types-Structured-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.8.0 BuildRequires: perl(Devel::PartialDump) >= 0.10 BuildRequires: perl(Moose) >= 0.63 BuildRequires: perl(MooseX::Types) >= 0.08 BuildRequires: perl(Sub::Exporter) >= 0.982 BuildRequires: perl(Test::Exception) >= 0.27 Requires: perl(Devel::PartialDump) >= 0.10 Requires: perl(Moose) >= 0.63 Requires: perl(MooseX::Types) >= 0.08 Requires: perl(Sub::Exporter) >= 0.982 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description A structured type constraint is a standard container Moose type constraint, such as an ArrayRef or HashRef, which has been enhanced to allow you to explicitly name all the allowed type constraints inside the structure. The generalized form is: %prep %setup -q -n MooseX-Types-Structured-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$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 README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Dec 13 2009 Dave Cross 0.19-1 - Specfile autogenerated by cpanspec 1.77.