%define realname Catalyst-Plugin-Session-State-Cookie %define name perl-%{realname} %define version 0.02 %define release %mkrel 1 Summary: Cookie-baseD session plugin for Catalyst Name: %{name} Version: %{version} Release: %{release} License: Artistic/GPL Group: Development/Perl URL: http://search.cpan.org/dist/%{realname}/ Source: http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/%{realname}-%{version}.tar.bz2 BuildRequires: perl-devel BuildRequires: perl-Catalyst >= 5.49 BuildRequires: perl-Catalyst-Plugin-Session BuildRequires: perl-Test-MockObject BuildArch: noarch Buildroot: %{_tmppath}/%{name}-root %description In order for Catalyst::Plugin::Session to work the session ID needs to be stored on the client, and the session data needs to be stored on the server. This plugin stores the session ID on the client using the cookie mechanism. %prep %setup -q -n %{realname}-%{version} %build %__perl Makefile.PL INSTALLDIRS=vendor < /dev/null %make %check %__make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %files %defattr(-,root,root) %doc README %{perl_vendorlib}/Catalyst/Plugin/* %{_mandir}/*/* %clean rm -rf $RPM_BUILD_ROOT %changelog * Tue Jan 03 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.02-1mdk - 0.02 * Tue Dec 20 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.01-2mdk - Add BuildRequires * Fri Dec 16 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.01-1mdk - Initial MDV RPM