libsqlite2/libsqlite2.spec

102 lines
3.0 KiB
RPMSpec

Name: libsqlite2
Version: 2.8.17
Release: 3mamba
Summary: An Embeddable SQL Database Engine
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.hwaci.com/sw/sqlite
Source: http://www.hwaci.com/sw/sqlite/sqlite-%{version}.tar.gz
License: Public Domain
BuildRequires: libtcl-devel
BuildRequires: libncurses-devel
BuildRequires: libreadline-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}
%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
install -D -m644 sqlite.1 %{buildroot}%{_mandir}/man1/sqlite.1
%clean
[ %{buildroot} != / ] && rm -rf "%{buildroot}"
%files
%defattr(-, root, root)
%{_libdir}/*.so.*
%doc README
%files devel
%defattr(-, root, root)
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%doc doc/*
%files tools
%defattr(-, root, root)
%{_bindir}/*
%{_mandir}/man1/*
%changelog
* Wed Jun 20 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.17-3mamba
- updated maintainer
* Fri Jul 06 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.8.17-2mamba
- package name modified (was libsqlite)
* Wed May 03 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.8.17-1qilnx
- update to version 2.8.17 by autospec
* Mon Feb 21 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.8.16-1qilnx
- update to version 2.8.16 by autospec
* Tue Oct 05 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.8.15-2qilnx
- specfile modified to match QiLinux standards
- package name modified (was sqlite)
- added missing BuildRequirements
* Thu Sep 23 2004 Matteo Bernasconi <voyagernm@virgilio.it> 2.8.15-1qilnx
- first build