]>
Commit | Line | Data |
---|---|---|
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 | # |
11 | Summary: SQLite library | |
12 | Summary(pl): Biblioteka SQLite | |
22ef5ab8 | 13 | Name: sqlite3 |
6f8673ba | 14 | Version: 3.3.6 |
140e6175 | 15 | Release: 1 |
17b8c9f1 | 16 | License: LGPL |
17 | Group: Libraries | |
18 | # Source0Download: http://sqlite.org/download.html | |
e56bde73 | 19 | Source0: http://sqlite.org/sqlite-%{version}.tar.gz |
6f8673ba | 20 | # Source0-md5: a2cb1fafad5c2587e513dcbd18ace097 |
a3d8a32d | 21 | Patch0: %{name}-sign-function.patch |
1cd2f537 | 22 | Patch1: %{name}-pkgconfig.patch |
17b8c9f1 | 23 | URL: http://sqlite.org/ |
24 | BuildRequires: autoconf | |
25 | BuildRequires: automake | |
26 | BuildRequires: libtool | |
27 | BuildRequires: readline-devel | |
1a6aae8d | 28 | %{?with_tcl:BuildRequires: tcl-devel} |
17b8c9f1 | 29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
ccaeded7 | 31 | %ifarch alpha %{x8664} |
0a0f5bcf AM |
32 | %undefine with_tests |
33 | %endif | |
34 | ||
c4d7d942 MŁ |
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 |
44 | SQLite is a C library that implements an SQL database engine. A large | |
45 | subset of SQL92 is supported. A complete database is stored in a | |
46 | single disk file. The API is designed for convenience and ease of use. | |
47 | Applications that link against SQLite can enjoy the power and | |
48 | flexiblity of an SQL database without the administrative hassles of | |
49 | supporting a separate database server. Because it omits the | |
50 | client-server interaction overhead and writes directly to disk, SQLite | |
51 | is also faster than the big database servers for most operations. In | |
52 | addition to the C library, the SQLite distribution includes a | |
53 | command-line tool for interacting with SQLite databases and SQLite | |
54 | bindings for Tcl/Tk. | |
55 | ||
56 | %description -l pl | |
57 |