Name: perl-Dancer-Plugin-DBIC Version: 0.1504 Release: 1%{?dist} Summary: DBIx::Class interface for Dancer applications License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Dancer-Plugin-DBIC/ Source0: http://www.cpan.org/authors/id/I/IR/IRONCAMEL/Dancer-Plugin-DBIC-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Dancer) BuildRequires: perl(DBIx::Class) BuildRequires: perl(DBIx::Class::Schema::Loader) >= 0.07002 BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(Dancer) Requires: perl(DBIx::Class) Requires: perl(DBIx::Class::Schema::Loader) >= 0.07002 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This plugin provides an easy way to obtain DBIx::Class::ResultSet instances via the the function schema(), which it automatically imports. You just need to point to a dsn in your Dancer configuration file. So you no longer have to write boilerplate DBIC setup code. %prep %setup -q -n Dancer-Plugin-DBIC-%{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 dist.ini LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Mar 09 2011 Dave Cross 0.1504-1 - Specfile autogenerated by cpanspec 1.78.