- Update to 4.9.11 * Upgrade to SQLite3 Multiple Ciphers version 1.8.6 (based on SQLite 3.46.0) - Update to 4.9.10 * Upgrade to SQLite3 Multiple Ciphers version 1.8.4 (based on SQLite 3.45.2) * Disable user authentication extension in build files by default - Update to 4.9.9 * Upgrade to SQLite3 Multiple Ciphers version 1.8.2 (based on SQLite 3.45.0) - Update to 4.9.8 * Upgrade to SQLite3 Multiple Ciphers version 1.8.0 (based on SQLite 3.44.1) * Added new cipher scheme Ascon-128 (Lightweight Authenticated Encryption) - Update to 4.9.7 * Upgrade to SQLite3 Multiple Ciphers version 1.7.4 (based on SQLite 3.44.0) * Prevent crashes due to uninitialized cipher tables OBS-URL: https://build.opensuse.org/request/show/1184832 OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxsqlite3?expand=0&rev=21
100 lines
3.3 KiB
RPMSpec
100 lines
3.3 KiB
RPMSpec
#
|
|
# spec file for package wxsqlite3
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define wx_version_pkgname %(wx-config --version | sed 's@^\\([^\\.]\\+\\.[^\\.]\\+\\)\\(.*\\)@\\1@;s@\\.@_@')
|
|
%define wx_version_soname %(wx-config --version | sed 's@^\\([^\\.]\\+\\.[^\\.]\\+\\)\\(.*\\)@\\1@')
|
|
%define sover 0
|
|
%if 0%{?suse_version} > 1315
|
|
BuildRequires: wxWidgets-devel >= 3
|
|
%else
|
|
%define _use_internal_dependency_generator 0
|
|
%define __find_requires %{wx_requires}
|
|
BuildRequires: wxWidgets-3_0-devel
|
|
%endif
|
|
Name: wxsqlite3
|
|
Version: 4.9.11
|
|
Release: 0
|
|
Summary: C++ wrapper around SQLite 3.x
|
|
License: SUSE-wxWidgets-3.1
|
|
URL: https://github.com/utelle/wxsqlite3
|
|
Source0: https://github.com/utelle/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: autoconf >= 2.69
|
|
BuildRequires: automake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libtool
|
|
|
|
%description
|
|
wxSQLite3 is a C++ wrapper around the public domain SQLite 3.x database
|
|
and is specifically designed for use in programs based on the wxWidgets
|
|
library.
|
|
|
|
%package -n libwxcode_gtk2u_wxsqlite3-%{wx_version_pkgname}-%{sover}
|
|
Summary: C++ wrapper around SQLite 3.x
|
|
|
|
%description -n libwxcode_gtk2u_wxsqlite3-%{wx_version_pkgname}-%{sover}
|
|
wxSQLite3 is a C++ wrapper around the public domain SQLite 3.x database
|
|
and is specifically designed for use in programs based on the wxWidgets
|
|
library.
|
|
|
|
%package devel
|
|
Summary: C++ wrapper around SQLite 3.x - Development Files
|
|
Requires: libwxcode_gtk2u_wxsqlite3-%{wx_version_pkgname}-%{sover} = %{version}
|
|
|
|
%description devel
|
|
wxSQLite3 is a C++ wrapper around the public domain SQLite 3.x database
|
|
and is specifically designed for use in programs based on the wxWidgets
|
|
library.
|
|
|
|
%prep
|
|
: wx_version_pkgname: %{wx_version_pkgname}
|
|
: wx_version_soname: %{wx_version_soname}
|
|
wx-config --version
|
|
%autosetup
|
|
|
|
%build
|
|
CFLAGS='%{optflags} -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unused-function'
|
|
CXXFLAGS="${CFLAGS}"
|
|
autoreconf -fi
|
|
%configure \
|
|
--enable-shared \
|
|
--disable-static
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%post -n libwxcode_gtk2u_wxsqlite3-%{wx_version_pkgname}-%{sover} -p /sbin/ldconfig
|
|
%postun -n libwxcode_gtk2u_wxsqlite3-%{wx_version_pkgname}-%{sover} -p /sbin/ldconfig
|
|
|
|
%files -n libwxcode_gtk2u_wxsqlite3-%{wx_version_pkgname}-%{sover}
|
|
%license LICENCE.txt
|
|
%doc readme.md
|
|
%{_libdir}/libwxcode_gtk2u_wxsqlite3-%{wx_version_soname}.so.%{sover}*
|
|
|
|
%files devel
|
|
%license LICENCE.txt
|
|
%dir %{_includedir}/wx
|
|
%{_includedir}/wx/wxsqlite3.h
|
|
%{_includedir}/wx/wxsqlite3_version.h
|
|
%{_includedir}/wx/wxsqlite3def.h
|
|
%{_libdir}/libwxcode_gtk2u_wxsqlite3-%{wx_version_soname}.so
|
|
%{_libdir}/pkgconfig/wxsqlite3.pc
|
|
|
|
%changelog
|