File rubygem-sqlite3.spec of Package rubygem-sqlite3

#
# spec file for package rubygem-sqlite3 (Version 1.2.5)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           rubygem-sqlite3
Version:        1.2.5
Release:        3.1
%define mod_name sqlite3-ruby
#
Group:          Development/Languages/Ruby
License:        BSD 3-Clause
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rubygems_with_buildroot_patch
BuildRequires:  sqlite-devel > 3
BuildRequires:  swig
Requires:       rubygems >= 0.8.11
#
Url:            http://sqlite-ruby.rubyforge.org/
#               http://rubyforge.org/projects/sqlite-ruby
Source:         http://rubyforge.org/frs/download.php/60923/sqlite3-ruby-1.2.5.gem
Source1:        rubygem-native-rpmlintrc
#
Summary:        A Ruby interface for the SQLite3 database engine
%description
A Ruby interface for the SQLite3 database engine.



Authors:
--------
    Jamis Buck

%prep
%build
%install
%gem_install %{S:0}
%gem_cleanup

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/

%changelog
* Mon Oct 26 2009 mrueckert@suse.de
- update to version 1.2.5
  * Check for illegal nil before executing SQL [Erik Veenstra]
  * Switch to Hoe for gem task management and packaging.
  * Advertise rake-compiler as development dependency.
  * Build gem binaries for Windows.
  * Improved Ruby 1.9 support compatibility.
  * Taint returned values. Patch #20325.
- fixes missing license file (bnc#549261)
* Fri Jan 16 2009 mrueckert@suse.de
- update to version 1.2.4
  - Fix incorrect permissions on database.rb and translator.rb
    [Various]
  - Avoid using Object#extend for greater speedups [Erik Veenstra]
  - Ruby 1.9 compatibility tweaks for Array#zip [jimmy88@gmail.com]
  - Fix linking against Ruby 1.8.5
    [Rob Holland <rob@inversepath.com>]
  - Make the table_info method adjust the returned default value
    for the rows so that the sqlite3 change in 3.3.8 and greater
    can be handled transparently [Jamis Buck
    <jamis@37signals.com>]
  - Ruby 1.9 compatibility tweaks [Roman Le Negrate
    <roman2k@free.fr>]
  - Various performance enhancements [thanks Erik Veenstra]
  - Correct busy_handler documentation
    [Rob Holland <rob@inversepath.com>]
  - Use int_bind64 on Fixnum values larger than a 32bit C int can
    take. [Rob Holland <rob@inversepath.com>]
  - Work around a quirk in SQLite's error reporting by calling
    sqlite3_reset to produce a more informative error code upon a
    failure from sqlite3_step. [Rob Holland <rob@inversepath.com>]
  - Various documentation, test, and style tweaks
    [Rob Holland <rob@inversepath.com>]
  - Be more granular with time/data translation
    [Rob Holland <rob@inversepath.com>]
  - Use Date directly for parsing rather than going via Time
    [Rob Holland <rob@inversepath.com>]
  - Check for the rt library and fdatasync so we link against that
    when needed [Rob Holland <rob@inversepath.com>]
  - Rename data structures to avoid collision on win32. based on
    patch by: Luis Lavena [Rob Holland <rob@inversepath.com>]
  - Add test for defaults [Daniel Rodríguez Troitiño]
  - Correctly unquote double-quoted pragma defaults
    [Łukasz Dargiewicz <lukasz.dargiewicz@gmail.com>]
* Tue May 22 2007 mrueckert@suse.de
- update to version 1.2.1
  Only a single change in this release: sqlite3 3.3.8 and higher
  have changed the format of the 'dflt_value' column for the
  table_info pragma.  This caused breakage in apps that depend on
  that pragma, like Ruby on Rails. This release makes the
  Database#table_info helper check the libversion, and adjust the
  dflt_value column accordingly. If you want the new format and not
  the old, you can invoke the table_info pragma directly, instead
  of using the helper.
- added rubygem-native-rpmlintrc
* Fri Oct 20 2006 mrueckert@suse.de
- use gem_build_cleanup
* Wed Jun 21 2006 mrueckert@suse.de
- use rubygems_with_buildroot_patch instead of the versioned
  buildrequires
* Tue Jun 20 2006 mrueckert@suse.de
- remove build files
- added swig to the buildrequires
* Mon Jun 19 2006 mrueckert@suse.de
- Initial package version 1.1.0
openSUSE Build Service is sponsored by