File ruby-mysql.spec of Package ruby-mysql
#
# spec file for package ruby-mysql (Version 2.7.4)
#
# 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: ruby-mysql
Version: 2.7.4
Release: 1
#
License: Other uncritical OpenSource License
Group: Development/Languages/Ruby
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: mysql-devel ruby-devel
%define rb_pkg mysql-ruby
#
URL: http://www.tmtm.org/en/mysql/ruby/
Source: http://tmtm.org/downloads/mysql/ruby/%{rb_pkg}-%{version}.tar.gz
Patch: ruby-mysql-2.7.3_gcc4.patch
#
Summary: MySQL bindings for Ruby
%description
This is the MySQL API module for Ruby. It provides the same functions
for Ruby programs that the MySQL C API provides for C programs.
%prep
%setup -n %{rb_pkg}-%{version}
%patch
%build
ruby -rvendor-specific extconf.rb --with-mysql-config
%{__make}
%install
%makeinstall
%clean
%{__rm} -rf %{buildroot};
%files
%defattr(-,root,root)
%doc README* COPYING* *css test.rb
%{_libdir}/ruby/vendor_ruby/%{rb_ver}/%{rb_arch}/mysql.so
%changelog
* Fri Aug 31 2007 - mrueckert@suse.de
- update to version 2.7.4:
* BUG: Mysql::Stmt#execute memory leak.
* Mon Mar 12 2007 - mrueckert@suse.de
- remove openssl-devel again. the mysql-devel package got fixed.
* Mon Mar 12 2007 - mrueckert@suse.de
- update to version 2.7.3:
* BUG: Mysql#query with block is stopped when last query failed.
- additional changes from 2.7.2:
* BUG: Mysql::Stmt#result_metadata don't return nil.
(Thanks to Hidetoshi)
* BUG: Mysql#close check mysql_errno.
* BUG: multistatement Mysql#query with block ignore error.
* extconf.rb for Visual C++. (Thanks to Shugo Maeda)
* support MySQL BIT type.
* add Mysql::Field::TYPE_BIT, TYPE_NEWDECIMAL.
- updated ruby-mysql-2.7_gcc4.patch
new name: ruby-mysql-2.7.3_gcc4.patch
* Sat Sep 30 2006 - mrueckert@suse.de
- install into vendor_ruby
* Sun Jun 04 2006 - mrueckert@suse.de
- Update to version 2.7.1
* change free() to xfree()
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Sep 26 2005 - mrueckert@suse.de
- update to 2.7
- get rid of a useless ri doc file it would just break other
packages
* Thu Sep 01 2005 - mrueckert@suse.de
- dont build into site_ruby
- removed site_ruby
- build documentation
* Mon Aug 22 2005 - ro@suse.de
- added directories to filelist
* Mon Aug 22 2005 - ro@suse.de
- added ruby-devel to nfb
* Tue Aug 16 2005 - mrueckert@suse.de
- Initial package with version 2.6.3