File rubygem-sqlite3.spec of Package rubygem-sqlite3
#
# spec file for package rubygem-sqlite3 (Version 1.2.1)
#
# 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: rubygem-sqlite3
Version: 1.2.1
Release: 1
#
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
%define mod_name sqlite3-ruby
#
URL: http://sqlite-ruby.rubyforge.org/
# http://rubyforge.org/projects/sqlite-ruby
Source: http://rubyforge.org/frs/download.php/17095/sqlite3-ruby-1.2.1.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 --build-root=%{buildroot} %{S:0}
gem_build_cleanup %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
%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
* 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