%define module CGI-Session %define name perl-%{module} %define version 4.35 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Persistent session data in CGI applications License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/CGI/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildRequires: perl(CGI) BuildRequires: perl(DBI) BuildRequires: perl(DB_File) BuildRequires: perl(FreezeThaw) BuildRequires: perl(CGI::Simple) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description CGI-Session is a Perl5 library that provides an easy, reliable and modular session management system across HTTP requests. Persistency is a key feature for such applications as shopping carts, login/authentication routines, and application that need to carry data accross HTTP requests. CGI::Session does that and many more %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check rm -f t/g4_mysql.t # no database available for testing %{__make} test %install %{__rm} -rf %{buildroot} %makeinstall_std %{__rm} -f %{buildroot}%{perl_archlib}/perllocal.pod %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README INSTALL %{perl_vendorlib}/CGI %{_mandir}/*/* %changelog * Thu Jul 17 2008 Guillaume Rousse <guillomovitch@mandriva.org> 4.35-1mdv2009.0 + Revision: 236715 - update to new version 4.35 * Thu Jul 10 2008 Guillaume Rousse <guillomovitch@mandriva.org> 4.33-1mdv2009.0 + Revision: 233336 - update to new version 4.33 * Mon Jun 23 2008 Guillaume Rousse <guillomovitch@mandriva.org> 4.32-1mdv2009.0 + Revision: 227967 - update to new version 4.32 * Sat May 10 2008 Guillaume Rousse <guillomovitch@mandriva.org> 4.30-1mdv2009.0 + Revision: 205413 - update to new version 4.30 * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 4.20-1mdv2008.1 + Revision: 136678 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Mon Jan 22 2007 Guillaume Rousse <guillomovitch@mandriva.org> 4.20-1mdv2007.0 + Revision: 111628 - new version * Sat Oct 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 4.14-1mdv2007.1 + Revision: 73407 - import perl-CGI-Session-4.14-1mdv2007.0 * Tue Jul 11 2006 Guillaume Rousse <guillomovitch@mandriva.org> 4.14-1mdv2007.0 - new version * Wed May 10 2006 Nicolas Lécureuil <neoclust@mandriva.org> 4.13-1mdk - New release 4.13 * Sun Apr 09 2006 Guillaume Rousse <guillomovitch@mandriva.org> 4.12-1mdk - New version - better summary - better source URL - better buildrequires syntax * Fri Mar 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 4.10-1mdk - New release 4.10 * Sat Mar 18 2006 Guillaume Rousse <guillomovitch@mandriva.org> 4.09-1mdk - New release 4.09 * Thu Mar 16 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 4.08-1mdk - 4.08 * Wed Mar 08 2006 Oden Eriksson <oeriksson@mandriva.com> 4.03-3mdk - fix deps * Sat Oct 08 2005 Nicolas Lécureuil <neoclust@mandriva.org> 4.03-2mdk - Fix BuildRequires - %%mkrel * Fri Oct 07 2005 Guillaume Rousse <guillomovitch@mandriva.org> 4.03-1mdk - New release 4.03 * Wed Sep 07 2005 Guillaume Rousse <guillomovitch@mandriva.org> 4.02-1mdk - New release 4.02 - spec cleanup - tests - better url * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 3.95-4mdk - fix buildrequires in a backward compatible way * Thu Jul 22 2004 Guillaume Rousse <guillomovitch@mandrake.org> 3.95-3mdk - rpmbuildupdate aware * Wed Feb 25 2004 Guillaume Rousse <guillomovitch@mandrake.org> 3.95-2mdk - fixed dir ownership (distlint)