Name: perl-Catalyst-Model-Adaptor Version: 0.10 Release: 1%{?dist} Summary: Use a plain class as a Catalyst model License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Catalyst-Model-Adaptor/ Source0: http://www.cpan.org/authors/id/B/BO/BOBTFISH/Catalyst-Model-Adaptor-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(Catalyst::Runtime) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(MRO::Compat) BuildRequires: perl(ok) BuildRequires: perl(Test::More) BuildRequires: perl(Test::WWW::Mechanize::Catalyst) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description The idea is that you don't want your Catalyst model to be anything other than a line or two of glue. Using this module ensures that your Model classes are separate from your application and therefore are well- abstracted, reusable, and easily testable. %prep %setup -q -n Catalyst-Model-Adaptor-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{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 %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Sep 30 2011 Iain Arnell 0.10-1 - Specfile autogenerated by cpanspec 1.78.