Version 3.7.5; Split off the Tcl bindings

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=37
This commit is contained in:
Reinhard Max 2011-02-03 14:57:53 +00:00 committed by Git OBS Bridge
parent 920ea3af16
commit a6e2b1cae7
5 changed files with 39 additions and 49 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:171e3b61fe89d50603b5606ade77aa23f6c0aca51e3982ea4539967f70e3962d
size 1148037

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:caeb0e4e873e47ebfcff28ec8333d438921317aaf7e46fcedfc171018db4ceb1
size 1153265

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5850f13f56fc0e20cf187be40e6b93aed436aa9ff3a8fc91a03d0a2c28c8070
size 106874

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Feb 3 14:52:19 UTC 2011 - max@novell.com
- New Version: 3.7.5:
* Added the sqlite3_vsnprintf() interface.
* Added the SQLITE_DBSTATUS_LOOKASIDE_HIT,
SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE, and
SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL options for the
sqlite3_db_status() interface.
* Added the SQLITE_OMIT_AUTORESET compile-time option.
* Added the SQLITE_DEFAULT_FOREIGN_KEYS compile-time option.
* Updates to sqlite3_stmt_readonly() so that its result is
well-defined for all prepared statements and so that it works
with VACUUM.
* Added the "-heap" option to the command-line shell
* Fix a bug involving frequent changes in and out of WAL mode
and VACUUM that could (in theory) cause database corruption.
* Enhance the sqlite3_trace() mechanism so that nested SQL
statements such as might be generated by virtual tables are
shown but are shown in comments and without parameter
expansion. This greatly improves tracing output when using the
FTS3/4 and/or RTREE virtual tables.
* Change the xFileControl() methods on all built-in VFSes to
return SQLITE_NOTFOUND instead of SQLITE_ERROR for an
unrecognized operation code.
* The SQLite core invokes the SQLITE_FCNTL_SYNC_OMITTED file
control to the VFS in place of a call to xSync if the database
has PRAGMA synchronous set to OFF.
- Split off sqlite3-tcl into a separate source package.
-------------------------------------------------------------------
Thu Jan 13 14:08:55 UTC 2011 - max@novell.com

View File

@ -17,11 +17,7 @@
# norootforbuild
%if 0%{?!tcl_archdir:1}
# tcl_archdir didn't exist before openSUSE 11.0
%define tcl_archdir %{expand:%(echo 'puts [lindex $tcl_pkgPath 0]' | tclsh)}
%endif
%define tarversion %{expand:%(echo 'puts [format "%d%02d%02d%02d" {*}[split "%{version}.0" .]]' | tclsh)}
%define tarversion %{expand:%(IFS=.; a="%{version}"; printf "%d%02d%02d%02d" $a)}
#
%if 0%{?suse_version} >= 1100
# The package naming scheme changed starting with openSUSE 11.0
@ -31,7 +27,7 @@
%endif
Name: sqlite3
BuildRequires: pkg-config readline-devel tcl-devel
BuildRequires: pkg-config readline-devel
%if %{?suse_version:1}%{?!suse_version:0}
BuildRequires: update-desktop-files
%endif
@ -39,7 +35,7 @@ License: Public Domain, Freeware
Group: Productivity/Databases/Servers
Summary: Embeddable SQL Database Engine
Url: http://www.sqlite.org/
Version: 3.7.4
Version: 3.7.5
Release: 1
# bug437293
%ifarch ppc64
@ -52,8 +48,7 @@ Requires: libsqlite3-0 = %version
Provides: sqlite = %version
Obsoletes: sqlite < %version
Source0: sqlite-autoconf-%tarversion.tar.bz2
Source1: sqlite-tea.tar.bz2
Source3: baselibs.conf
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -104,27 +99,6 @@ Authors:
%endif
%package tcl
License: Public Domain, Freeware
Group: Development/Libraries/Tcl
Summary: Tcl binding for SQLite
Provides: sqlite-tcl = %version
Obsoletes: sqlite-tcl < %version
%description tcl
SQLite is a C library that implements an embeddable SQL database
engine. Programs that link with the SQLite library can have SQL
database access without running a separate RDBMS process.
This package contains an extension for the Tcl programming language to
access SQLite databases.
Authors:
--------
D. Richard Hipp <drh@hwaci.com>
%package devel
License: Public Domain, Freeware
Group: Development/Libraries/C and C++
@ -152,22 +126,15 @@ Authors:
D. Richard Hipp <drh@hwaci.com>
%prep
%setup -q -a 1 -q -n sqlite-autoconf-%tarversion
%setup -n sqlite-autoconf-%tarversion
%build
%configure --disable-static
make
cd tea
%configure --with-tcl=%_libdir --with-system-sqlite
make
%install
make install DESTDIR=%buildroot
rm %buildroot/%_libdir/*.la
install -d %buildroot%_mandir/man1/
cd tea
make install DESTDIR=%buildroot libdir=%tcl_archdir
cd ..
%clean
rm -rf %buildroot
@ -196,11 +163,6 @@ cd ..
%endif
%_libdir/libsqlite*.so.*
%files tcl
%defattr(-,root,root)
%tcl_archdir
%doc %_mandir/mann/*
%files devel
%defattr(-,root,root)
/usr/include/*.h