SHA256
1
0
forked from pool/sqlite3

- The Tcl bindings for SQLite are now part of the Tcl core, so the

sqlite3-tcl subpackage is no longer needed.

OBS-URL: https://build.opensuse.org/package/show/server:database/sqlite3?expand=0&rev=74
This commit is contained in:
Reinhard Max 2013-08-12 22:33:07 +00:00 committed by Git OBS Bridge
parent a35e0c1d2a
commit c77337250e
4 changed files with 11 additions and 33 deletions

View File

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

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 12 22:31:19 UTC 2013 - max@suse.com
- The Tcl bindings for SQLite are now part of the Tcl core, so the
sqlite3-tcl subpackage is no longer needed.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 20 12:09:38 UTC 2013 - max@suse.com Wed Mar 20 12:09:38 UTC 2013 - max@suse.com

View File

@ -17,9 +17,9 @@
Name: sqlite3 Name: sqlite3
Version: 3.7.16 Version: 3.7.17
Release: 0 Release: 0
%define tarversion 3071600 %define tarversion 3071700
Summary: Embeddable SQL Database Engine Summary: Embeddable SQL Database Engine
License: SUSE-Public-Domain License: SUSE-Public-Domain
Group: Productivity/Databases/Servers Group: Productivity/Databases/Servers
@ -27,7 +27,6 @@ Url: http://www.sqlite.org/
# #
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: readline-devel BuildRequires: readline-devel
BuildRequires: tcl-devel
%if 0%{?suse_version:1} %if 0%{?suse_version:1}
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
%endif %endif
@ -43,10 +42,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Obsoletes: sqlite-64bit Obsoletes: sqlite-64bit
%endif %endif
# #
%if 0%{?suse_version} < 1100
%define tcl_archdir %(echo 'puts [lindex $tcl_pkgPath 0]'|tclsh)
%endif
%description %description
SQLite is a C library that implements an embeddable SQL database SQLite is a C library that implements an embeddable SQL database
engine. Programs that link with the SQLite library can have SQL engine. Programs that link with the SQLite library can have SQL
@ -98,18 +93,6 @@ directly to and from the database files on disk.
SQLite can be used via the sqlite command-line tool or via any SQLite can be used via the sqlite command-line tool or via any
application which supports the Qt database plug-ins. application which supports the Qt database plug-ins.
%package tcl
Summary: Tcl binding for SQLite
Group: Development/Libraries/Tcl
%description tcl
This package contains laguage bindings from the Tcl programming
language SQLite.
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.
%prep %prep
%setup -q -n sqlite-autoconf-%tarversion %setup -q -n sqlite-autoconf-%tarversion
@ -117,16 +100,10 @@ database access without running a separate RDBMS process.
export CFLAGS="%optflags -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS4" export CFLAGS="%optflags -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS4"
%configure --disable-static %configure --disable-static
make make
cd tea
export CFLAGS=-I..
export LDFLAGS=-L../.libs
%configure --with-tcl=%_libdir --enable-symbols --with-system-sqlite
%install %install
make install DESTDIR=%buildroot make install DESTDIR=%buildroot
rm %buildroot/%_libdir/*.la rm %buildroot/%_libdir/*.la
cd tea
make install DESTDIR=%buildroot libdir=%tcl_archdir
%post -n libsqlite3-0 -p /sbin/ldconfig %post -n libsqlite3-0 -p /sbin/ldconfig
@ -147,9 +124,4 @@ make install DESTDIR=%buildroot libdir=%tcl_archdir
%_libdir/libsqlite*.so %_libdir/libsqlite*.so
%_libdir/pkgconfig/sqlite3.pc %_libdir/pkgconfig/sqlite3.pc
%files tcl
%defattr(-,root,root)
%tcl_archdir
%doc %_mandir/mann/*
%changelog %changelog