]> git.pld-linux.org Git - packages/sqlite3.git/blame - sqlite3.spec
- tcl broken
[packages/sqlite3.git] / sqlite3.spec
CommitLineData
c743401f
AM
1# TODO:
2# - fix lib64 in tcl module
e36c6f85 3# - tcl is more broken: WARNING: couldn't load file "/tmp/B.c9eef4/sqlite3-3.2.8-root-builder/usr/lib/tcl8.4/sqlite3/libtclsqlite3.so": /tmp/B.c9eef4/sqlite3-3.2.8-root-builder/usr/lib/tcl8.4/sqlite3/libtclsqlite3.so: cannot open shared object file: No such file or directory
7c673bd5
JB
4# - date test fail on tcl8.5 because of missing tcl library initialization
5# (and thus unavailable clock command)
17b8c9f1 6#
7# Conditional build:
8%bcond_without tests # don't run tests
1a6aae8d 9%bcond_without tcl # disable tcl extension
10%bcond_without docs # disable documentation building
17b8c9f1 11#
12Summary: SQLite library
13Summary(pl): Biblioteka SQLite
22ef5ab8 14Name: sqlite3
c7df642f 15Version: 3.3.8
140e6175 16Release: 1
17b8c9f1 17License: LGPL
18Group: Libraries
19# Source0Download: http://sqlite.org/download.html
e56bde73 20Source0: http://sqlite.org/sqlite-%{version}.tar.gz
c7df642f 21# Source0-md5: 2b2b0f967b6c5df1a5d495067c092d11
a3d8a32d 22Patch0: %{name}-sign-function.patch
1cd2f537 23Patch1: %{name}-pkgconfig.patch
17b8c9f1 24URL: http://sqlite.org/
25BuildRequires: autoconf
26BuildRequires: automake
27BuildRequires: libtool
28BuildRequires: readline-devel
1a6aae8d 29%{?with_tcl:BuildRequires: tcl-devel}
17b8c9f1 30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
ccaeded7 32%ifarch alpha %{x8664}
0a0f5bcf
AM
33%undefine with_tests
34%endif
35
c4d7d942
36# disabling tcl currently breaks making test target,
37# some hack in Makefile needs to be done
b197e0ac 38%if !%{with tcl}
c4d7d942
39%undefine with_tests
40%endif
41
c743401f
AM
42%define _ulibdir /usr/lib
43
17b8c9f1 44%description
45SQLite is a C library that implements an SQL database engine. A large
46subset of SQL92 is supported. A complete database is stored in a
47single disk file. The API is designed for convenience and ease of use.
48Applications that link against SQLite can enjoy the power and
49flexiblity of an SQL database without the administrative hassles of
50supporting a separate database server. Because it omits the
51client-server interaction overhead and writes directly to disk, SQLite
52is also faster than the big database servers for most operations. In
53addition to the C library, the SQLite distribution includes a
54command-line tool for interacting with SQLite databases and SQLite
55bindings for Tcl/Tk.
56
57%description -l pl
58