Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > ab456713841de839fef10aa531db26d3 > files > 2

perl-DBD-CSV-0.220.0-1mdv2010.0.src.rpm

%define	upstream_name    DBD-CSV
%define	upstream_version 0.22

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:	Perl module to access CSV files through DBI
License:	GPL
Group:		Development/Perl
Url:		http://search.cpan.org/dist/%{upstream_name}
Source0:	http://search.cpan.org/CPAN/authors/id/J/JZ/JZUCKER/%{upstream_name}-%{upstream_version}.tar.bz2

Buildrequires:	perl-DBI
BuildRequires:	perl-Text-CSV_XS >= 0.16
BuildRequires:  perl-SQL-Statement >= 0.1011
Buildarch:	noarch
Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}

%description
DBD::CSV is a Perl module that provides 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 seperated values).  Such files are
mostly used for exporting MS Access and MS Excel data.

%prep 
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make
make test

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc ChangeLog README
%{perl_vendorlib}/Bundle/DBD/*
%{perl_vendorlib}/DBD/*
%{_mandir}/*/*


%changelog
* Wed Jul 29 2009 Jérôme Quelin <jquelin@mandriva.org> 0.220.0-1mdv2010.0
+ Revision: 403091
- rebuild using %%perl_convert_version

* Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.22-4mdv2009.0
+ Revision: 241202
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Mon Aug 20 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.22-2mdv2008.0
+ Revision: 67485
- buildrequires obsoletes buildprereq


* Thu Sep 29 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.22-2mdk
- remove -q

* Mon May 02 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.22-1mdk
- 0.22
- spec cleanup

* Wed May 19 2004 Michael Scherer <misc@mandrake.org> 0.21-1mdk
- new version
- rpmbuildupdate aware
- new url
- automatic requires

* Tue Aug 12 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.2002-6mdk
- rebuild
- rm -rf $RPM_BUILD_ROOT in %%install, not %%prep
- use %%makeinstall_std macro

* Wed Jul 23 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.2002-5mdk
- buildrequires from Michael Scherer

* Wed May 28 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.2002-4mdk
- rebuild for new auto{prov,req}

* Mon May 05 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.2002-3mdk
- buildrequires

* Fri Jan 24 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.2002-2mdk
- rebuild

* Wed Jul 24 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.2002-1mdk
- 0.2002

* Fri Mar 01 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.1030-1mdk
- 0.1030

* Thu Aug 23 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.1027-1mdk
- updated to 0.1027

* Tue Sep 12 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.1023-1mdk
- updated to 0.1023

* Sat Jul 22 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.1022-3mdk
- build for new perl
- macroization

* Mon May 01 2000 Vincent Danen <vdanen@linux-mandrake.com> 0.1022-2mdk
- fix group

* Wed Mar 08 2000 Vincent Danen <vdanen@linux-mandrake.com>
- 0.1022

* Tue Mar 07 2000 Vincent Danen <vdanen@linux-mandrake.com>
- initial specfile
- bzip sources