Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
devel
>
sqlite2
> sqlite2.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File sqlite2.spec of Package sqlite2 (Revision 6)
Currently displaying revision
6
,
show latest
%define __arch_install_post /bin/true Name: sqlite2 Version: 2.8.17 Release: 3%{?dist} Summary: Embeddable SQL engine in a C library Group: System Environment/Libraries License: Public Domain URL: http://www.sqlite.org/ Source0: http://www.sqlite.org/sqlite-%{version}.tar.gz Patch1: sqlite-2.8.15.rpath.patch Patch2: sqlite-2.8.15-makefile.patch Patch3: sqlite-2.8.3.test.rh9.patch Patch4: sqlite-64bit-fixes.patch Patch5: sqlite-2.8.15-arch-double-differences.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: ncurses-devel readline-devel tcl-devel gcc gcc-c++ Obsoletes: sqlite < 3 %description SQLite is a small, fast, embeddable SQL database engine that supports most of SQL92, including transactions with atomic commit and rollback, subqueries, compound queries, triggers, and views. A complete database is stored in a single cross-platform disk file. The native C/C++ API is simple and easy to use. Bindings for other languages are also available. %package devel Summary: Development files for SQLite Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig Obsoletes: sqlite-devel < 3 %description devel SQLite is a small, fast, embeddable SQL database engine that supports most of SQL92, including transactions with atomic commit and rollback, subqueries, compound queries, triggers, and views. This package contains static library and header files for developing applications using sqlite. %package tcl Summary: Tcl bindings for sqlite Group: System Environment/Libraries Requires: tcl >= 8.3.3, %{name} = %{version}-%{release} Obsoletes: sqlite-tcl < 3 %description tcl SQLite is a small, fast, embeddable SQL database engine that supports most of SQL92, including transactions with atomic commit and rollback, subqueries, compound queries, triggers, and views. This package contains tcl bindings for sqlite. %prep %setup -q -n sqlite-%{version} %patch1 -p1 -b .rpath %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 sed -i.rpath 's!__VERSION__!%{version}!g' Makefile.in # Patch additional /usr/lib locations where we don't have $(libdir) # to substitute with. sed -i.lib 's!@exec_prefix@/lib!%{_libdir}!g' Makefile.in %build CFLAGS="$RPM_OPT_FLAGS -DNDEBUG=1" %configure --enable-utf8 --disable-static make make tclsqlite libtclsqlite.la doc #obs. make test doesn't like root %if %{fedora} < 9 make test %endif %install rm -rf $RPM_BUILD_ROOT DIRECTORY=$RPM_BUILD_ROOT%{_libdir}/sqlite-%version install -d $DIRECTORY echo 'package ifneeded sqlite 2 [list load [file join $dir libtclsqlite.so]]' > $DIRECTORY/pkgIndex.tcl %makeinstall install -D -m 0644 sqlite.1 $RPM_BUILD_ROOT%{_mandir}/man1/sqlite.1 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_bindir}/sql* %{_libdir}/libsql*.so.* %{_mandir}/man1/* %files devel %defattr(-,root,root,-) %doc README doc/* %{_libdir}/libsql*.so %{_includedir}/* %{_libdir}/pkgconfig/* %files tcl %defattr(-,root,root,-) %doc doc/tclsqlite.html %exclude %{_bindir}/tclsqlite %{_libdir}/sqlite-%version %changelog * Sat Apr 19 2008 Remi Collet <rpms@famillecollet.com> 2.8.17-3.fc9.remi - rebuild for F9 without "make test" :'( * Fri Nov 09 2007 Remi Collet <rpms@famillecollet.com> 2.8.17-2.fc8.remi - rebuild for F8 * Sat May 26 2007 Remi Collet <rpms@famillecollet.com> 2.8.17-2.el{4,5}.remi - rebuild for EL4 & EL5 * Sun Sep 10 2006 Mike McGrath <imlinux@gmail.com> 2.8.17-2 - New upstream source * Tue Feb 28 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 2.8.16-3 - Rebuild for Fedora Extras 5 * Sat Nov 26 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 2.8.16-2 - Disable static libs * Fri May 20 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 2.8.16-1 - Name change to sqlite2 - Dropped Epoch - Added Obsoletes to all subpackages - Minor cosmetic changes * Wed Feb 16 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:2.8.16-1 - Update to 2.8.16 bug-fix release + update patches. * Tue Feb 15 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.8.15-2 - add sqlite-64bit-fixes.patch and sqlite-2.8.15-arch-double-differences.patch fixes x86_64; Both were found in a mandrake srpm - remove exclusive arch ix86; hopefully this fixes ppc also * Sun Jan 23 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:2.8.15-1 - Add exclusive arch ix86 for now (make test segfaults on x86_64). - Update makefile patch, $(exec_prefix)/lib -> $(libdir), and substitute additional /usr/lib locations in %%prep for multilib people to play with. * Sun Sep 26 2004 Adrian Reber <adrian@lisas.de> - 0:2.8.15-0.fdr.1 - Update to 2.8.15 - Update patches * Fri Jun 19 2004 Nils O. Selåsdal <NOS@Utel.no> - 0:2.8.14-0.fdr.1 - Update to 2.8.14 - Update patches - --enable-releasemode - small spec file tweaks * Sat Dec 27 2003 Jean-Luc Fontaine <jfontain@free.fr> - 0:2.8.6-0.fdr.6 - in tcl rpm, removed tclsqlite, moved shared library in own sqlite sub-directory add added pkgIndex.tcl file to make package dynamically loadable in a Tcl interpreter - in build requirements, work around tcl-devel and tk-devel packages non existence in RH 8.0 and 9 - in tcl rpm, added tcl package requirement - in tcl rpm, post ldconfig is not necessary * Wed Nov 12 2003 Nils O. Selåsdal <NOS@Utel.no> - 0:2.8.6-0.fdr.5 - BuildRequires tcl-devel - small .spec tweaks * Tue Oct 28 2003 Nils O. Selåsdal <NOS@Utel.no> - 0:2.8.6-0.fdr.4 - exclude libtclsqlite.a * Mon Oct 27 2003 Nils O. Selåsdal <NOS@Utel.no> - 0:2.8.6-0.fdr.3 - Fix readme -> README * Mon Oct 27 2003 Nils O. Selåsdal <NOS@Utel.no> - 0:2.8.6-0.fdr.2 - Better summary/description - Add patch for not using rpath - Add patch that builds tclsqlite (From Anvil's package) - Add patch that fixes the tests (From Anvil's package) - New tcl subpackage - Also make the tests during build - Build docs, and include them in -devel * Fri Oct 10 2003 Nils O. Selåsdal <NOS@Utel.no> - 0:2.8.6-0.fdr.1 - Initial RPM release.