From 0e3acc7af666f461059d8ad12677077b944424a1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:51:17 +0100 Subject: [PATCH] updated maintainer [release 2.8.17-3mamba;Wed Jun 20 2012] --- README.md | 3 ++ libsqlite2.spec | 102 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) create mode 100644 libsqlite2.spec diff --git a/README.md b/README.md index 7db0b34..ca6e4c7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libsqlite2 +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. + diff --git a/libsqlite2.spec b/libsqlite2.spec new file mode 100644 index 0000000..e7c175c --- /dev/null +++ b/libsqlite2.spec @@ -0,0 +1,102 @@ +Name: libsqlite2 +Version: 2.8.17 +Release: 3mamba +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 +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 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 \ No newline at end of file