Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37405563
en ru br
Репозитории ALT
S:3.42.0-alt1
5.1: 3.7.2-alt1.M50P.1
4.1: 3.5.9-alt2.M41.1
4.0: 3.4.2-alt1
3.0: 3.2.2-alt1
www.altlinux.org/Changes

Группа :: Разработка/Базы Данных
Пакет: sqlite3

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: sqlite3
Version: 3.5.9
Release: alt2.M41.1

Summary: An Embeddable SQL Database Engine
License: Public Domain
Group: Development/Databases

URL: http://www.sqlite.org/
Source0: sqlite-%version.tar
Source1: %name-docsrc.tar
Patch: %name-%version-%release.patch

Requires: lib%name = %version-%release

# Automatically added by buildreq on Sat May 24 2008

BuildRequires: gcc-c++ gcc-fortran libreadline-devel tcl-devel

%package -n lib%name
Summary: An Embeddable SQL Database Engine (shared library)
Group: System/Libraries

%package -n lib%name-devel
Summary: An Embeddable SQL Database Engine (header files)
Group: Development/Databases
Requires: lib%name = %version-%release

%package -n lib%name-devel-static
Summary: An Embeddable SQL Database Engine (static library)
Group: Development/Databases
Requires: lib%name-devel = %version-%release

%package tcl
Summary: An Embeddable SQL Database Engine (TCL bindings)
Group: Development/Tcl
Requires: lib%name = %version-%release

%package fts3
Summary: Full Text Search backend for the SQLite database engine
Group: Development/Databases
Requires: lib%name = %version-%release

%package doc
Summary: An Embeddable SQL Database Engine (documentation)
Group: Development/Documentation
Conflicts: %name < 3.3.8-alt1
BuildArch: noarch

%package -n lemon
Summary: The Lemon Parser Generator
Group: Development/Other

%description
SQLite is a C library that implements an SQL database engine.
Programs that link with the SQLite library can have SQL database
access without running a separate RDBMS process.

%description -n lib%name
SQLite is a C library that implements an SQL database engine.
Programs that link with the SQLite library can have SQL database
access without running a separate RDBMS process.

%description -n lib%name-devel
SQLite is a C library that implements an SQL database engine.
Programs that link with the SQLite library can have SQL database
access without running a separate RDBMS process.

%description -n lib%name-devel-static
SQLite is a C library that implements an SQL database engine.
Programs that link with the SQLite library can have SQL database
access without running a separate RDBMS process.

%description tcl
SQLite is a C library that implements an SQL database engine.
Programs that link with the SQLite library can have SQL database
access without running a separate RDBMS process.

%description fts3
SQLite is a C library that implements an SQL database engine.
Programs that link with the SQLite library can have SQL database
access without running a separate RDBMS process.

The fts3 loadable module implements full text search, see
http://www.sqlite.org/cvstrac/wiki?p=FtsOne
http://www.sqlite.org/cvstrac/wiki?p=FtsTwo

%description doc
SQLite is a C library that implements an SQL database engine.
Programs that link with the SQLite library can have SQL database
access without running a separate RDBMS process.

%description -n lemon
Lemon is an LALR(1) parser generator for C or C++. It does the same
job as bison and yacc. But lemon is not another bison or yacc
clone. It uses a different grammar syntax which is designed to reduce
the number of coding errors. Lemon also uses a more sophisticated
parsing engine that is faster than yacc and bison and which is both
reentrant and thread-safe. Furthermore, Lemon implements features
that can be used to eliminate resource leaks, making is suitable for
use in long-running programs such as graphical user interfaces or
embedded controllers.

%prep
%setup -q -n sqlite-%version -a1
%patch -p1
rm aclocal.m4 config.guess config.sub configure ltmain.sh

%build
autoreconf -i
# maybe add -lhistory; cf. [devel] libreadline add_history
%configure --enable-threadsafe --enable-readline --with-readline-lib=-lreadline --disable-amalgamation --enable-load-extension
%make_build all libtcl%name.la fts3.la

make -C docsrc DOC=. SRC=..

%def_with test
%if_with test
# XXX src/main.c leaks due to SQLITE_ENABLE_FTS3
rm -fv test/malloc6.test test/mallocG.test
make test
%endif

%install
%make_install install tcl_install fts3_install DESTDIR=%buildroot
install -pD -m644 %name.1 %buildroot%_man1dir/%name.1

install -pD -m755 lemon %buildroot%_bindir/lemon
install -pD -m644 lemon.1 %buildroot%_man1dir/lemon.1
install -pD -m644 lempar.c %buildroot%_datadir/lemon/lempar.c

%define pkgdocdir %_docdir/sqlite-3.5
install -pD -m644 COPYING %buildroot%pkgdocdir/COPYING
cp -a docsrc/doc %buildroot%pkgdocdir/html
install -pD -m644 doc/lemon.html %buildroot%_docdir/lemon/lemon.html

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files
%_bindir/%name
%_man1dir/%name.*

%files -n lib%name
%_libdir/lib%name.so.?*
%dir %pkgdocdir
%pkgdocdir/COPYING

%files -n lib%name-devel
%_includedir/sqlite3.h
%_includedir/sqlite3ext.h
%_libdir/lib%name.so
#_libdir/lib%name.la
%_pkgconfigdir/%name.pc

%files -n lib%name-devel-static
%_libdir/lib%name.a

%files tcl
%_tcllibdir/libtcl%name.so*
#_tcllibdir/libtcl%name.a
#_tcllibdir/libtcl%name.la
%dir %_tcldatadir/sqlite3
%_tcldatadir/sqlite3/pkgIndex.tcl

%files fts3
%dir %_libdir/sqlite3
%_libdir/sqlite3/fts3.so
#_libdir/sqlite3/fts3.a
#_libdir/sqlite3/fts3.la

%files doc
%dir %pkgdocdir
%pkgdocdir/html

%files -n lemon
%_bindir/lemon
%_man1dir/lemon.*
%_datadir/lemon/
%dir %_docdir/lemon
%_docdir/lemon/lemon.html

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin