File perl-DBD-CSV.spec of Package perl-DBD-CSV
#
# spec file for package perl-DBD-CSV (Version 0.22)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-DBD-CSV
BuildRequires: perl-DBI perl-SQL-Statement perl-Text-CSV_XS
Summary: The DBD::CSV module is yet another driver for the DBI
Version: 0.22
Release: 119
License: GPL v2 or later
Group: Development/Libraries/Perl
Source0: DBD-CSV-%{version}.tar.bz2
Url: http://search.cpan.org/~jzucker/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: perl-DBI perl-SQL-Statement perl-Text-CSV_XS
Requires: perl = %{perl_version}
AutoReqProv: on
Obsoletes: perl_csv
Provides: perl_csv
%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.
Authors:
--------
Jochen Wiedmann<joe@ispsoft.de>
Jeff Zucker <jeff@vpservices.com>
%prep
%setup -q -n DBD-CSV-%{version}
%build
find . -type f -exec chmod a-x '{}' \;
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
make
rm -vf t/40bindparam*
%check
make test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc ChangeLog README
%{perl_vendorarch}/auto/DBD
%{perl_vendorlib}/DBD
%{perl_vendorlib}/Bundle
%{_mandir}/man3/*
/var/adm/perl-modules/%{name}
%changelog
* Fri Aug 01 2008 cthiel@suse.de
- fix build
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 29 2005 dmueller@suse.de
- add norootforbuild
* Fri Jul 29 2005 cthiel@suse.de
- update to version 0.22
* Mon Aug 09 2004 ro@suse.de
- update to 0.21
- t/40bindparam.t does still fail (but update is needed
because of the fileconflict with perl-DBI)
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Fri Jul 18 2003 nashif@suse.de
- fixed file list
* Tue Jul 01 2003 ro@suse.de
- use perl_process_packlist macro
* Fri Jun 13 2003 nashif@suse.de
- Fixed file list
* Tue Dec 03 2002 ro@suse.de
- repack tar archive with uids < 65536
* Mon Jul 08 2002 nashif@suse.de
- Update to version 0.2002
* Tue Dec 11 2001 nashif@suse.de
- Update to version 0.1029
* Thu Oct 11 2001 nashif@suse.de
- Update to version 0.1027
- Fix bug#11747
* Fri Feb 23 2001 nashif@suse.de
- Update to version 0.1025
* Wed Dec 13 2000 nashif@suse.de
- Changed Requires to new long package names
* Wed Nov 08 2000 nashif@suse.de
- Changed to long package name
- Changed neededforbuild
* Tue Sep 26 2000 nashif@suse.de
- Initial Release (Version 0.1022)