%define realname Catalyst-Plugin-Session-Store-File %define abbrevname Catalyst-P-S-Store-File %define name perl-%{abbrevname} %define modprefix Catalyst %define version 0.09 %define release %mkrel 4 Summary: File storage backend for session data Name: %{name} Version: %{version} Release: %{release} License: Artistic/GPL Group: Development/Perl URL: http://search.cpan.org/dist/%{realname}/ Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{modprefix}/%{realname}-%{version}.tar.bz2 %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildRequires: perl(Cache::Cache) >= 1.02 BuildRequires: perl(Catalyst) >= 5 BuildRequires: perl(Catalyst::Plugin::Session) >= 0.01 BuildRequires: perl(Class::Accessor::Fast) >= 0.22 BuildRequires: perl(Class::Data::Inheritable) >= 0.04 BuildRequires: perl(Module::Build) Provides: perl-%{realname} Obsoletes: perl-%{realname} BuildArch: noarch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Catalyst::Plugin::Session::Store::File is an easy to use storage plugin for Catalyst that uses an simple file to act as a shared memory interprocess cache. It is based on Cache::FileCache. %prep %setup -q -n %{realname}-%{version} sed -i.DOS -e 's/\r//g' CHANGES sed -i.DOS -e 's/\r//g' README %build %{__perl} Build.PL installdirs=vendor ./Build %check ./Build test %install %{__rm} -rf %{buildroot} ./Build install destdir=%{buildroot} %files %defattr(-,root,root) %doc CHANGES README %{perl_vendorlib}/%{modprefix} %{_mandir}/*/* %clean rm -rf %{buildroot} %changelog * Wed Jul 30 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.09-4mdv2009.0 + Revision: 255585 - rebuild * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.09-2mdv2008.1 + Revision: 136678 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.09-2mdv2008.0 + Revision: 85976 - rebuild * Sat Aug 05 2006 Scott Karns <scottk@mandriva.org> 0.09-1mdv2007.0 - 0.09 - Updated spec to use Module::Build - Renamed from Catalyst-Plugin-Session-Store-File to meet joliet filename length constraint * Fri May 05 2006 Scott Karns <scottk@mandriva.org> 0.07-2mdk - Updated BuildRequires - Updated to comply with Mandriva perl packaging policies * Tue Jan 03 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.07-1mdk - 0.07 * Tue Dec 20 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.05-2mdk - Add BuildRequires * Fri Dec 16 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.05-1mdk - Initial MDV RPM