Name: perl-Dancer-Plugin-Cache-CHI Version: 1.3.0 Release: 1%{?dist} Summary: Dancer plugin to cache response content (and anything else) License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Dancer-Plugin-Cache-CHI/ Source0: http://www.cpan.org/authors/id/Y/YA/YANICK/Dancer-Plugin-Cache-CHI-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(CHI) BuildRequires: perl(Dancer) >= 1.1904 BuildRequires: perl(Dancer::Factory::Hook) BuildRequires: perl(Dancer::Hook) BuildRequires: perl(Dancer::Plugin) BuildRequires: perl(Dancer::Response) BuildRequires: perl(Dancer::SharedData) BuildRequires: perl(Dancer::Test) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) Requires: perl(CHI) Requires: perl(Dancer) >= 1.1904 Requires: perl(Dancer::Factory::Hook) Requires: perl(Dancer::Hook) Requires: perl(Dancer::Plugin) Requires: perl(Dancer::Response) Requires: perl(Dancer::SharedData) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This plugin provides Dancer with an interface to a CHI cache. Also, it includes a mechanism to easily cache the response of routes. %prep %setup -q -n Dancer-Plugin-Cache-CHI-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE META.json README README.mkdn %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Jan 17 2012 Dave Cross 1.3.0-1 - Specfile autogenerated by cpanspec 1.78.