SHA256
1
0
forked from pool/sqlite3
2011-01-17 08:09:26 +00:00
committed by Git OBS Bridge
parent 6ad6b199b7
commit bdb8e41a5e
7 changed files with 44 additions and 32 deletions

View File

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

View File

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

View File

@@ -1,13 +0,0 @@
--- sqlite-tcl/configure.in
+++ sqlite-tcl/configure.in
@@ -73,8 +73,8 @@
TEA_ADD_SOURCES([tclsqlite3.c])
TEA_ADD_HEADERS([])
-TEA_ADD_INCLUDES([-I\"`\${CYGPATH} \${srcdir}/generic`\"])
-TEA_ADD_LIBS([])
+TEA_ADD_INCLUDES([-I\"`\${CYGPATH} \${srcdir}/generic`\" -I\"`\${CYGPATH} \${srcdir}/..`\"])
+TEA_ADD_LIBS([-L\"`\${CYGPATH} \${srcdir}/../.libs`\" -lsqlite3])
TEA_ADD_CFLAGS([-DSQLITE_ENABLE_FTS3=1])
TEA_ADD_STUB_SOURCES([])
TEA_ADD_TCL_SOURCES([])

View File

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

3
sqlite-tea.tar.bz2 Normal file
View File

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

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Thu Jan 13 14:08:55 UTC 2011 - max@novell.com
- Adjust the package to the new upstream tarball naming and
version numbering scheme.
- New version: 3.7.4:
* Added the sqlite3_blob_reopen() interface to allow an
existing sqlite3_blob object to be rebound to a new row.
* Use the new sqlite3_blob_reopen() interface to improve the
performance of FTS.
* VFSes that do not support shared memory are allowed to access
WAL databases if PRAGMA locking_mode is set to EXCLUSIVE.
* Enhancements to EXPLAIN QUERY PLAN.
* Added the sqlite3_stmt_readonly() interface.
* Added PRAGMA checkpoint_fullfsync.
* Added the SQLITE_FCNTL_FILE_POINTER option to
sqlite3_file_control().
* Added support for FTS4 and enhancements to the FTS matchinfo()
function.
* Added the test_superlock.c module which provides example code
for obtaining an exclusive lock to a rollback or WAL database.
* Added the test_multiplex.c module which provides an example
VFS that provides multiplexing (sharding) of a DB, splitting
it over multiple files of fixed size.
* A very obscure bug associated with the or optimization was
fixed.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 17 17:06:54 UTC 2010 - max@novell.com Wed Nov 17 17:06:54 UTC 2010 - max@novell.com

View File

@@ -18,9 +18,10 @@
# norootforbuild # norootforbuild
%if 0%{?!tcl_archdir:1} %if 0%{?!tcl_archdir:1}
# %tcl_archdir didn't exist before openSUSE 11.0 # tcl_archdir didn't exist before openSUSE 11.0
%define tcl_archdir %(echo 'puts [lindex $tcl_pkgPath 0]'|tclsh) %define tcl_archdir %{expand:%(echo 'puts [lindex $tcl_pkgPath 0]' | tclsh)}
%endif %endif
%define tarversion %{expand:%(echo 'puts [format "%d%02d%02d%02d" {*}[split "%{version}.0" .]]' | tclsh)}
# #
%if 0%{?suse_version} >= 1100 %if 0%{?suse_version} >= 1100
# The package naming scheme changed starting with openSUSE 11.0 # The package naming scheme changed starting with openSUSE 11.0
@@ -38,7 +39,7 @@ License: Public Domain, Freeware
Group: Productivity/Databases/Servers Group: Productivity/Databases/Servers
Summary: Embeddable SQL Database Engine Summary: Embeddable SQL Database Engine
Url: http://www.sqlite.org/ Url: http://www.sqlite.org/
Version: 3.7.3 Version: 3.7.4
Release: 1 Release: 1
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
@@ -50,10 +51,9 @@ Requires: libsqlite3-0 = %version
%endif %endif
Provides: sqlite = %version Provides: sqlite = %version
Obsoletes: sqlite < %version Obsoletes: sqlite < %version
Source0: http://www.sqlite.org/sqlite-amalgamation-%version.tar.bz2 Source0: sqlite-autoconf-%tarversion.tar.bz2
Source1: sqlite-tcl.tar.bz2 Source1: sqlite-tea.tar.bz2
Source3: baselibs.conf Source3: baselibs.conf
Patch0: sqlite-tcl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@@ -152,23 +152,20 @@ Authors:
D. Richard Hipp <drh@hwaci.com> D. Richard Hipp <drh@hwaci.com>
%prep %prep
%setup -q -a 1 -q -n sqlite-%version %setup -q -a 1 -q -n sqlite-autoconf-%tarversion
%patch0
%build %build
%configure --disable-static %configure --disable-static
make make
cd sqlite-tcl cd tea
autoconf %configure --with-tcl=%_libdir --with-system-sqlite
export CFLAGS="%optflags -fno-strict-aliasing"
%configure --with-tcl=%_libdir
make make
%install %install
make install DESTDIR=%buildroot make install DESTDIR=%buildroot
rm %buildroot/%_libdir/*.la rm %buildroot/%_libdir/*.la
install -d %buildroot%_mandir/man1/ install -d %buildroot%_mandir/man1/
cd sqlite-tcl cd tea
make install DESTDIR=%buildroot libdir=%tcl_archdir make install DESTDIR=%buildroot libdir=%tcl_archdir
cd .. cd ..