%define upstream_name DBIx-ContextualFetch %define upstream_version 1.03 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 summary: Add contextual fetches to DBI license: Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/%{upstream_name}-%{upstream_version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description It always struck me odd that DBI didn't take much advantage of Perl's context sensitivity. DBIx::ContextualFetch redefines some of the various fetch methods to fix this oversight. It also adds a few new methods for convenience (though not necessarily efficiency). %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README Changes %{perl_vendorlib}/DBIx %{_mandir}/*/* %changelog * Wed Jul 29 2009 Jérôme Quelin <jquelin@mandriva.org> 1.30.0-1mdv2010.0 + Revision: 403096 - rebuild using %%perl_convert_version * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.03-5mdv2009.0 + Revision: 256584 - rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Wed Dec 19 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.03-3mdv2008.1 + Revision: 133632 - rebuild + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Fri Nov 24 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.03-2mdv2007.0 + Revision: 86970 - rebuild - Import perl-DBIx-ContextualFetch * Thu Sep 29 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.03-1mdk - New release 1.03 - spec rewrite * Thu Mar 17 2005 Bruno Cornec <bcornec@mandrakesoft.org> 1.02-1mdk - Initial build.