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