%define module DBIx-Recordset %define name perl-%{module} %define version 0.26 %define release %mkrel 5 Summary: Perl extension for DBI recordsets Name: %{name} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Source0: %{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module}/ BuildRoot: %{_tmppath}/%{name}-%{version}-%release}-buildroot/ BuildRequires: perl-DBI BuildRequires: perl-devel BuildRequires: perl-DBD-Pg Requires: perl-DBI perl Requires: perl-base >= 2:5.8.7 BuildArch: noarch %description DBIx::Recordset is a perl module for abstraction and simplification of database access. The goal is to make standard database access (select/insert/update/delete) easier to handle and independend of the underlying DBMS. Special attention is made on web applications to make it possible to handle the state-less access and to process the posted data of formfields, but DBIx::Recordset is not limited to web applications. %prep %setup -q -n %{module}-%{version} %build chmod 644 Changes Recordset.pm perl -pi -e 's/\cM//' Changes perl Makefile.PL INSTALLDIRS=vendor << EOF EOF make %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %files %defattr(-,root,root) %doc Changes README TODO %{_mandir}/*/* %{perl_vendorlib}/DBIx %changelog * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.26-5mdv2009.0 + Revision: 256588 - rebuild * Thu Dec 20 2007 Olivier Blin <oblin@mandriva.com> 0.26-3mdv2008.1 + Revision: 135833 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Jan 14 2007 Olivier Thauvin <nanardon@mandriva.org> 0.26-3mdv2007.0 + Revision: 108544 - rebuild + Guillaume Rousse <guillomovitch@mandriva.org> - Import perl-DBIx-Recordset * Wed Nov 09 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.26-2mdk - Fix URL, summary, description, build, install, line endings and permissions - Require DBI and perl-base by hand since perl.req doesn't seem to find it * Tue Nov 09 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.26-1mdk - 0.26 * Thu Apr 22 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.25a-1mdk - 0.25a * Wed Feb 25 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.24-8mdk - rebuild - own dir