Репозиторий Sisyphus
Последнее обновление: 22 мая 2019 | Пакетов: 17693 | Посещений: 13576039
en ru br
Репозитории ALT
S:3.27.2-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.4.2
Release: alt1

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

URL: http://www.sqlite.org/
Source: sqlite-3.4.2.tar
Patch: %name-%version-%release.patch

Requires: lib%name = %version-%release

# Automatically added by buildreq on Fri Aug 17 2007

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 fts2
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

%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 fts2
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 fts2 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-3.4.2
%patch -p1

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

make test

%install
%make_install install tcl_install fts2_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.3
mkdir -p %buildroot%pkgdocdir
install -p -m644 COPYING doc/*.* %buildroot%pkgdocdir/
mkdir -p %buildroot%_docdir/lemon
mv %buildroot%pkgdocdir/lemon.html %buildroot%_docdir/lemon/

%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
%_libdir/pkgconfig/%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 fts2
%dir %_libdir/sqlite3
%_libdir/sqlite3/fts2.so
#_libdir/sqlite3/fts2.a
#_libdir/sqlite3/fts2.la

%files doc
%dir %pkgdocdir
%pkgdocdir/*.*

%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