# TODO:
# - some tests fail with tcl8.5, it's tcl fault,
# if someone REALLY cares (s)he can look into it
+# - alpha build fail:
+# tclsh ./tool/mksqlite3c.tcl
+# tclsh: allocatestack.c:404: allocate_stack: Assertion `size != 0' failed.
+# make: *** [sqlite3.c] Aborted
#
# Conditional build:
%bcond_with tests # run tests
%undefine with_tests
%endif
-%define _ulibdir /usr/lib
-%define tclver %(rpm -q --qf '%{V}' tcl)
+%define _ulibdir /usr/lib
+%define tclver 8.5
Summary: SQLite library
Summary(pl.UTF-8): Biblioteka SQLite
Name: sqlite3
-Version: 3.5.5
+Version: 3.6.3
Release: 1
License: LGPL
Group: Libraries
-# Source0Download: http://sqlite.org/download.html
-Source0: http://sqlite.org/sqlite-%{version}.tar.gz
-# Source0-md5: 1174fc9074db2aa49bd17f3dc2607067
+# Source0Download: http://www.sqlite.org/download.html
+Source0: http://www.sqlite.org/sqlite-%{version}.tar.gz
+# Source0-md5: 671d2715f33158abc47a7a2ddd6066c5
Patch0: %{name}-sign-function.patch
Patch1: %{name}-pkgconfig.patch
-URL: http://sqlite.org/
+URL: http://www.sqlite.org/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
%files devel
%defattr(644,root,root,755)
-%doc doc/lemon.html doc/report1.txt
%attr(755,root,root) %{_libdir}/libsqlite3.so
%{_libdir}/libsqlite3.la
%{_includedir}/sqlite3.h