Name: perl-CatalystX-Component-Traits Version: 0.10 Release: 1%{?dist} # lib/CatalystX/Component/Traits.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: Automatic Trait Loading and Resolution for Source: http://search.cpan.org/CPAN/authors/id/R/RK/RKITOVER/CatalystX-Component-Traits-%{version}.tar.gz Url: http://search.cpan.org/dist/CatalystX-Component-Traits BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(Catalyst::Runtime) >= 5.80005 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Module::Pluggable) >= 3.9 BuildRequires: perl(Moose::Autobox) BuildRequires: perl(MooseX::Traits::Pluggable) >= 0.08 BuildRequires: perl(namespace::autoclean) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::More) BuildRequires: perl(CPAN) # optional tests BuildRequires: perl(Test::Pod) # autoreq really doesn't have a clue when it comes to Moosey bits Requires: perl(Catalyst::Runtime) >= 5.80005 Requires: perl(Moose::Autobox) Requires: perl(MooseX::Traits::Pluggable) >= 0.08 %{?perl_default_filter} %description Adds a "COMPONENT" method to your Catalyst component base class that reads the optional 'traits' parameter from app and component config and instantiates the component subclass with those traits using MooseX::Traits/new_with_traits from MooseX::Traits::Pluggable. %prep %setup -q -n CatalystX-Component-Traits-%{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 %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Fri Sep 04 2009 Chris Weyl 0.10-1 - submission - add standard req/prov filter - auto-update to 0.10 (by cpan-spec-update 0.01) - altered br on perl(MooseX::Traits::Pluggable) (0.06 => 0.08) - added a new br on CPAN (inc::Module::AutoInstall found) - added a new req on perl(Catalyst::Runtime) (version 5.80005) - added a new req on perl(Moose::Autobox) (version 0) - added a new req on perl(MooseX::Traits::Pluggable) (version 0.08) * Sat Aug 08 2009 Chris Weyl 0.08-1 - submission * Fri Aug 07 2009 Chris Weyl 0.08-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)