%define sourcever 3430200 Summary: A portable, high level programming interface to various calling conventions Name: sqlite Version: 3.43.2 Release: 1%{?dist} License: Public Domain URL: http://www.sqlite.org Group: System Environment/GeneralLibraries Vendor: VMware, Inc. Distribution: Photon Source0: http://sqlite.org/2022/%{name}-autoconf-%{sourcever}.tar.gz %define sha512 %{name}=2cb69335aad278c175e680783081bdf48110c31ed31abb6b44b9a012f92ec67cca49c3bf3ec8212c3c9d72a3ec5d5a48ae556d04262bfa23882b6b05140d5901 Obsoletes: sqlite-autoconf Obsoletes: sqlite-devel <= 3.27.2-5 Requires: sqlite-libs = %{version}-%{release} Provides: sqlite3 %description This package contains most of the static files that comprise the www.sqlite.org website including all of the SQL Syntax and the C/C++ interface specs and other miscellaneous documentation. %package devel Summary: sqlite3 link library & header files Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel The sqlite devel package include the needed library link and header files for development. %package libs Summary: sqlite3 library Group: Libraries Provides: pkgconfig(sqlite3) Obsoletes: libsqlite Obsoletes: sqlite-autoconf %description libs The sqlite3 library. %prep %autosetup -p1 -n %{name}-autoconf-%{sourcever} %build export CFLAGS="%{optflags} \ -DSQLITE_ENABLE_FTS3=1 \ -DSQLITE_ENABLE_COLUMN_METADATA=1 \ -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \ -DSQLITE_SECURE_DELETE=1" %configure --disable-static %make_build %install %make_install %{?_smp_mflags} install -D -m644 sqlite3.1 %{buildroot}%{_mandir}/man1/sqlite3.1 find %{buildroot}%{_libdir} -name '*.la' -delete rm -rf %{buildroot}%{_infodir} %{_fixperms} %{buildroot}/* %if 0%{?with_check} %check make %{?_smp_mflags} check %endif %post libs /sbin/ldconfig %postun libs /sbin/ldconfig %clean rm -rf %{buildroot}/* %files %defattr(-,root,root) %{_bindir}/* %{_mandir}/man1/* %files devel %defattr(-,root,root) %{_libdir}/libsqlite3.so %{_libdir}/pkgconfig/* %{_includedir}/* %files libs %defattr(-,root,root) %{_libdir}/libsqlite3.so.0.8.6 %{_libdir}/libsqlite3.so.0 %changelog * Mon Mar 04 2024 Nitesh Kumar 3.43.2-1 - Version upgrade to v3.43.2 * Tue Jan 09 2024 Srish Srinivasan 3.40.1-2 - Patched CVE-2023-7104 * Wed Jan 11 2023 Oliver Kurth 3.40.1-1 - bump version to 3.40.1 * Wed Dec 21 2022 Shreenidhi Shedi 3.39.4-2 - Bump version as a part of readline upgrade * Wed Aug 17 2022 Gerrit Photon 3.39.4-1 - Automatic Version Bump * Sat Jul 30 2022 Shreenidhi Shedi 3.39.2-1 - Upgrade to v3.39.2, this also fixes CVE-2021-20227 * Tue Apr 13 2021 Gerrit Photon 3.35.5-1 - Automatic Version Bump * Fri Aug 28 2020 Gerrit Photon 3.33.0-1 - Automatic Version Bump * Fri Jul 03 2020 Shreyas B 3.32.1-1 - Upgrade to 3.32.1 & fix CVE-2020-15358 - CVE-2020-13630 CVE-2020-13434 CVE-2020-13435 CVE-2020-13631 CVE-2020-13632 * Thu May 14 2020 Ankit Jain 3.31.1-1 - Updated to 3.31.1 * Sun Feb 3 2019 Michelle Wang 3.26.0-1 - Upgrade to 3.26.0 for a critical Vulnerability named 'Magallan'. * Fri Sep 21 2018 Srinidhi Rao 3.25.1-1 - Upgrade to version 3.25.1 * Tue Feb 20 2018 Xiaolin Li 3.22.0-1 - Upgrade to version 3.22.0 * Fri Nov 10 2017 Xiaolin Li 3.21.0-1 - Upgrade to version 3.21.0 * Fri Jul 14 2017 Dheeraj Shetty 3.19.3-1 - Upgrading to version 3.19.0 and adding patch for CVE-2017-10989 * Thu Jun 29 2017 Divya Thaluru 3.18.0-2 - Added obseletes for deprecated sqlite-autoconf package * Fri Apr 7 2017 Alexey Makhalov 3.18.0-1 - Version update - Package rename: sqlite-autoconf -> sqlite * Wed Nov 16 2016 Alexey Makhalov 3.11.0-4 - Added -devel and -libs subpackages * Tue Oct 04 2016 ChangLee 3.11.0-3 - Modified %check * Tue May 24 2016 Priyesh Padmavilasom 3.11.0-2 - GA - Bump release of all rpms * Tue Feb 23 2016 Xiaolin Li 3.11.0-1 - Updated to version 3.11.0 * Wed Feb 03 2016 Anish Swaminathan - 3.8.3.1-2 - Fix versioning * Tue Oct 7 2014 Divya Thaluru 3080301-1 - Initial build. First version