5 %define tarversion 3180000
6 Summary: Embeddable SQL Database Engine
7 Url: http://www.sqlite.org/
9 Source0: sqlite-autoconf-%tarversion.tar.gz
10 Source1: baselibs.conf
11 Source1001: sqlite.manifest
12 BuildRequires: readline-devel
13 BuildRequires: pkgconfig(pkg-config)
14 Requires: libsqlite = %{version}
18 SQLite is a C library that implements an embeddable SQL database
19 engine. Programs that link with the SQLite library can have SQL
20 database access without running a separate RDBMS process.
22 SQLite is not a client library used to connect to a big database
23 server. SQLite is a server and the SQLite library reads and writes
24 directly to and from the database files on disk.
26 SQLite can be used via the sqlite command line tool or via any
27 application that supports the Qt database plug-ins.
30 Summary: Shared libraries for the Embeddable SQL Database Engine
31 Group: System/Database
34 %description -n libsqlite
35 This package contains the shared libraries for the Embeddable SQL
38 SQLite is a C library that implements an embeddable SQL database
39 engine. Programs that link with the SQLite library can have SQL
40 database access without running a separate RDBMS process.
42 SQLite is not a client library used to connect to a big database
43 server. SQLite is a server and the SQLite library reads and writes
44 directly to and from the database files on disk.
46 SQLite can be used via the sqlite command line tool or via any
47 application that supports the Qt database plug-ins.
50 Summary: Embeddable SQL Database Engine
51 Group: Development/Libraries
53 Requires: libsqlite = %{version}
55 Provides: sqlite3-devel = %{version}
56 Obsoletes: sqlite3-devel < %{version}
59 SQLite is a C library that implements an embeddable SQL database
60 engine. Programs that link with the SQLite library can have SQL
61 database access without running a separate RDBMS process.
63 SQLite is not a client library used to connect to a big database
64 server; SQLite is the server. The SQLite library reads and writes
65 directly to and from the database files on disk.
67 SQLite can be used via the sqlite command-line tool or via any
68 application which supports the Qt database plug-ins.
71 %setup -q -n sqlite-autoconf-%tarversion
75 CFLAGS=`echo %{optflags} |sed -e 's/-ffast-math//g'`
76 %{?asan:CFLAGS+=" -lpthread -ldl "}
79 %configure -disable-dependency-tracking \
80 --enable-dynamic-extensions=no \
91 %post -n libsqlite -p /sbin/ldconfig
93 %postun -n libsqlite -p /sbin/ldconfig
96 %manifest %{name}.manifest
101 %manifest %{name}.manifest
102 %defattr(-,root,root)
103 %{_libdir}/libsqlite*.so.*
106 %manifest %{name}.manifest
107 %defattr(-,root,root)
109 %{_libdir}/libsqlite*.so
110 %{_libdir}/pkgconfig/sqlite3.pc