Name: libsqlite2 Version: 2.8.17 Release: 4mamba Summary: An Embeddable SQL Database Engine Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.hwaci.com/sw/sqlite Source: http://www.hwaci.com/sw/sqlite/sqlite-%{version}.tar.gz Patch0: libsqlite2-2.8.17-no_tcl.patch License: Public Domain ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libncurses-devel BuildRequires: libreadline-devel ## AUTOBUILDREQ-END #BuildRequires: libtcl-devel #Obsoletes: sqlite BuildRoot: %{_tmppath}/%{name}-%{version}-root %description SQLite is a C library that implements an embeddable SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. %package devel Summary: Static libraries and headers for %{name} Group: Development/Libraries Obsoletes: sqlite-devel Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel SQLite is a C library that implements an embeddable SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. This package contains static libraries and header files need for development. %package tools Summary: Tools for %{name} Group: Applications/Databases Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools A standalone command-line access program (sqlite) that can be used to administer an SQLite database and which serves as an example of how to use the SQLite library. %prep %setup -q -n sqlite-%{version} %patch0 -p1 %build %configure \ --enable-utf8 # using UTF-8 instead of the iso8859 encoding # --enable-incore-db # in-ram databases for ATTACH DATABASE and sqlite_open %make make doc #make -k fulltest %install [ %{buildroot} != / ] && rm -rf "%{buildroot}" %makeinstall %ifarch x86_64 mv %{buildroot}%{_prefix}/lib %{buildroot}%{_prefix}/lib64 %endif install -D -m644 sqlite.1 %{buildroot}%{_mandir}/man1/sqlite.1 %clean [ %{buildroot} != / ] && rm -rf "%{buildroot}" %files %defattr(-, root, root) %{_libdir}/*.so.* %files devel %defattr(-, root, root) %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/* %doc doc/* %doc README %files tools %defattr(-, root, root) %{_bindir}/* %{_mandir}/man1/* %changelog * Sat Sep 20 2014 Silvan Calarco 2.8.17-4mamba - x86_64 rebuild with patch to disable broken tcl support * Wed Jun 20 2012 Silvan Calarco 2.8.17-3mamba - updated maintainer * Fri Jul 06 2007 Stefano Cotta Ramusino 2.8.17-2mamba - package name modified (was libsqlite) * Wed May 03 2006 Stefano Cotta Ramusino 2.8.17-1qilnx - update to version 2.8.17 by autospec * Mon Feb 21 2005 Davide Madrisan 2.8.16-1qilnx - update to version 2.8.16 by autospec * Tue Oct 05 2004 Davide Madrisan 2.8.15-2qilnx - specfile modified to match QiLinux standards - package name modified (was sqlite) - added missing BuildRequirements * Thu Sep 23 2004 Matteo Bernasconi 2.8.15-1qilnx - first build