Name: perl-DBD-CSV Version: 0.30 Release: 1%{?dist} Summary: DBI driver for CSV files Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/DBD-CSV/ Source0: http://search.cpan.org/CPAN/authors/id/H/HM/HMBRAND/DBD-CSV-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(DBD::File) >= 0.38 BuildRequires: perl(DBI) >= 1.611 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(SQL::Statement) >= 1.25 BuildRequires: perl(Text::CSV_XS) >= 0.71 BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # Requires >= 1.25, but 1.27 is recommedned Requires: perl(SQL::Statement) >= 1.25 # Requires >= 0.71, but 0.73 is recommended Requires: perl(Text::CSV_XS) >= 0.71 %description The DBD::CSV module is yet another driver for the DBI (Database independent interface for Perl). This one is based on the SQL "engine" SQL::Statement and the abstract DBI driver DBD::File and implements access to so-called CSV files (Comma separated values). Such files are mostly used for exporting MS Access and MS Excel data. %prep %setup -q -n DBD-CSV-%{version} chmod -c a-x ChangeLog README lib/DBD/*.pm lib/Bundle/DBD/*.pm %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog README %{perl_vendorlib}/Bundle/ %{perl_vendorlib}/DBD/ %{_mandir}/man3/*.3pm* %changelog * Mon Jul 12 2010 Petr Pisar <ppisar@redhat.com> - 0.30-1 - 0.30 bump (bug #613251) * Tue Jun 8 2010 Petr Pisar <ppisar@redhat.com> - 0.29-1 - 0.29 bump * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.27-2 - Mass rebuild with perl-5.12.0 * Thu Mar 11 2010 Marcela MaÅ¡láÅová <mmaslano@redhat.com> - 0.27-1 - update - replace DESTDIR * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.22-9 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Feb 2 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-6 - rebuild for new perl * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-5.1 - correct license tag - add BR: perl(ExtUtils::MakeMaker) * Tue Sep 26 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-5 - Added perl(SQL::Statement) to requirements list (#208012). * Thu Sep 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-4 - Rebuild for FC6. * Fri Feb 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-3 - Rebuild for FC5 (perl 5.8.8). * Sat Dec 17 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-2 - Missing build requirement: DBD::File >= 0.30. * Sun Sep 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-1 - First build.