perl-DBD-mysql/perl-DBD-mysql.spec

104 lines
3.0 KiB
RPMSpec

#
# spec file for package perl-DBD-mysql (Version 4.00)
#
# Copyright (c) 2007 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-mysql
BuildRequires: mysql-devel perl-DBI perl-Data-ShowTable
URL: http://cpan.org/modules/by-module/DBD/
License: Artistic License
Group: Development/Libraries/Perl
Obsoletes: mysqperl perl-Msql-Mysql-modules
Provides: mysqperl perl-Msql-Mysql-modules
Requires: perl-DBI perl-Data-ShowTable
Requires: perl = %{perl_version}
Autoreqprov: on
Version: 4.00
Release: 1
Summary: Interface to the MySQL database
Group: Development/Libraries/Perl
Source: http://www.cpan.org/modules/by-module/Mysql/DBD-mysql-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define _prefix /usr
%description
A Perl5 Database Interface to the MySQL database
Authors:
--------
Jochen Wiedmann <joe@ispsoft.de>
%prep
%setup -q -n DBD-mysql-%{version}
%build
perl Makefile.PL --verbose
make
#make test
%install
%perl_make_install
%perl_process_packlist
%clean
# Clear up the mess
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc ChangeLog README INSTALL.html TODO
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/DBD
%{perl_vendorarch}/Bundle/DBD
%{perl_vendorarch}/DBD
/var/adm/perl-modules/perl-DBD-mysql
%changelog -n perl-DBD-mysql
* Tue Jan 02 2007 - anicka@suse.cz
- update to 4.00
* fixed varying number of columns in multiple result sets
* reworked patch for sqlstate
* cleaned up much code that failed between versions
* Tested this with 5.1, 5.0, 4.1, 4.0.
* added fbind and bind alloc to dbd_st_describe. This was
causing a crash when using with mod_perl
* Thu Oct 19 2006 - anicka@suse.cz
- update to 3.0008
* Added multiple fixes to dbd_st_prepare which fixed variable
overwrite and unset increment counter. Also improved loop which
checks statements for presence of "LIMIT" by using a pointer
as opposed to char array increment variable.
* Fixed declaration of "row" in mysql_st_internal_execute
which caused compile errors on some platforms
* Fixed casting of num_params to unsigned int in calls to NewZ
in mysql.xs
* Wed Sep 13 2006 - anicka@suse.cz
- update to 3.0007
* bugfixes
* Cleaned up tests to make sure test table is dropped
at end of test.
* Thu Jul 13 2006 - anicka@suse.cz
- update to 3.0006
* many bugfixes
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 - dmueller@suse.de
- add norootforbuild
* Fri Jul 29 2005 - mjancar@suse.cz
- update to 3.0002
* Thu Aug 19 2004 - mjancar@suse.cz
- update to 2.9004
* Wed Mar 31 2004 - kukuk@suse.de
- Replace perl-Msql-Mysql-modules
* Mon Mar 08 2004 - mjancar@suse.cz
- new package to replace perl-Msql-Mysql-modules