Name: perl-CatalystX-Component-Traits Version: 0.14 Release: 1%{?dist} Summary: Automatic Trait Loading and Resolution for Catalyst Components License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CatalystX-Component-Traits/ Source0: http://www.cpan.org/authors/id/R/RK/RKITOVER/CatalystX-Component-Traits-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Catalyst::Runtime) >= 5.80005 BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Module::Pluggable) >= 3.9 BuildRequires: perl(MooseX::Traits::Pluggable) >= 0.08 BuildRequires: perl(namespace::autoclean) Requires: perl(Catalyst::Runtime) >= 5.80005 Requires: perl(List::MoreUtils) Requires: perl(MooseX::Traits::Pluggable) >= 0.08 Requires: perl(namespace::autoclean) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Adds a "COMPONENT" in Catalyst::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 "new_with_traits" in MooseX::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 $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 * Tue Mar 09 2010 Dave Cross 0.14-1 - Specfile autogenerated by cpanspec 1.77.