diff --git a/.gitignore b/.gitignore index cdb7d62..5468184 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,29 @@ /wxsqlite3-4.8.2.tar.gz /wxsqlite3-4.9.10.tar.gz /wxsqlite3-4.9.11.tar.gz +/wxsqlite3-4.9.12.tar.gz +/wxsqlite3-4.10.0.tar.gz +/wxsqlite3-4.10.1.tar.gz +/wxsqlite3-4.10.2.tar.gz +/wxsqlite3-4.10.3.tar.gz +/wxsqlite3-4.10.4.tar.gz +/wxsqlite3-4.10.5.tar.gz +/wxsqlite3-4.10.6.tar.gz +/wxsqlite3-4.10.7.tar.gz +/wxsqlite3-4.10.8.tar.gz +/wxsqlite3-4.10.9.tar.gz +/wxsqlite3-4.10.10.tar.gz +/wxsqlite3-4.10.11.tar.gz +/wxsqlite3-4.10.12.tar.gz +/wxsqlite3-4.11.0.tar.gz +/wxsqlite3-4.11.1.tar.gz +/wxsqlite3-4.11.2.tar.gz +/wxsqlite3-4.12.0.tar.gz +/wxsqlite3-4.12.1.tar.gz +/wxsqlite3-4.12.2.tar.gz +/wxsqlite3-4.12.3.tar.gz +/wxsqlite3-4.12.4.tar.gz +/wxsqlite3-4.12.5.tar.gz +/wxsqlite3-4.12.6.tar.gz +/wxsqlite3-4.12.7.tar.gz +/wxsqlite3-5.0.1.tar.gz diff --git a/sources b/sources index e3300e6..4aee81a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wxsqlite3-4.9.11.tar.gz) = 1529ae04802fa1e43fe335455959de764fc3fa64c4717da0f1cc31b0dce9547cd4ad582a7170e1b1a0acd8a635415b5e2df32aca314ab80c72113b945d17fa0d +SHA512 (wxsqlite3-5.0.1.tar.gz) = 59c635a5254247276249f8c151ffae0ab8bdeb3f0c27a255313ba5e215f11c42b04699d23b217cf3fd446daec1b2f18376cb26761bc9fc528312fabeebe69f39 diff --git a/wxsqlite3.spec b/wxsqlite3.spec index 3d58995..e2b0e57 100644 --- a/wxsqlite3.spec +++ b/wxsqlite3.spec @@ -1,17 +1,13 @@ # wx-config -%if 0%{?fedora} >= 37 %global wxversion %(wx-config-3.2 --release) -%else -%global wxversion %(wx-config-3.1 --release) -%endif %global wxincdir %{_includedir}/wx-%{wxversion} Name: wxsqlite3 -Version: 4.9.11 +Version: 5.0.1 Release: 1%{?dist} Summary: C++ wrapper around the SQLite 3.x database -License: wxWidgets +License: LGPL-3.0-or-later WITH WxWindows-exception-3.1 URL: https://github.com/utelle/wxsqlite3 Source0: https://github.com/utelle/wxsqlite3/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -65,7 +61,7 @@ that use %{name}. %prep -%autosetup -n %{name}-%{version} +%autosetup -p1 -n %{name}-%{version} # activate correct build folder #mv build30 build @@ -87,18 +83,19 @@ chmod a-x include/wx/wxsqlite3.h src/wxsqlite3.cpp chmod -x LICENCE.txt readme.md %build +%set_build_flags + +# disable GCC LTO froür wxSQLite3 +export CFLAGS="%{build_cflags} -fno-lto" +export CXXFLAGS="%{build_cxxflags} -fno-lto" + #autoreconf --install --force autoreconf %configure --enable-shared=yes --enable-static=no --enable-codec=chacha20 \ --enable-codec=sqlcipher --enable-codec=rc4 --enable-codec=aes256 \ --enable-codec=aes128 # use correct wx-config file -%if 0%{?fedora} >= 37 sed -i -e 's|WX_CONFIG_NAME=wx-config|WX_CONFIG_NAME=wx-config-3.2|g' configure -%else -sed -i -e 's|WX_CONFIG_NAME=wx-config|WX_CONFIG_NAME=wx-config-3.1|g' configure -%endif - %make_build @@ -116,14 +113,8 @@ mv %{buildroot}%{_includedir}/wx %{buildroot}%{wxincdir} find %{buildroot} -name '*.la' -exec rm -f {} ';' -# install pkgconfig file -### mkdir -p %{buildroot}%{_libdir}/pkgconfig -###mv %{name}.pc %{buildroot}%{_libdir}/pkgconfig/%{name}.pc - - %ldconfig_scriptlets - %files %doc readme.md %license LICENCE.txt @@ -137,8 +128,97 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %files doc %doc docs/html - %changelog +* Fri Aug 14 2026 Martin Gansser 5.0.1-1 +- Update to 5.0.1 + +* Thu Aug 06 2026 Martin Gansser 4.12.7-1 +- Update to 4.12.7 + +* Fri Jul 17 2026 Martin Gansser 4.12.6-1 +- Update to 4.12.6 + +* Mon Jun 08 2026 Martin Gansser 4.12.5-1 +- Update to 4.12.5 + +* Thu May 07 2026 Martin Gansser 4.12.4-1 +- Update to 4.12.4 + +* Tue Apr 14 2026 Martin Gansser 4.12.3-1 +- Update to 4.12.3 + +* Fri Mar 20 2026 Martin Gansser 4.12.2-1 +- Update to 4.12.2 + +* Sat Mar 14 2026 Martin Gansser 4.12.1-1 +- Update to 4.12.1 + +* Wed Mar 11 2026 Martin Gansser 4.12.0-1 +- Update to 4.12.0 + +* Sat Jan 17 2026 Fedora Release Engineering - 4.11.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Tue Jan 13 2026 Martin Gansser 4.11.2-1 +- Update to 4.11.2 + +* Fri Dec 05 2025 Martin Gansser 4.11.1-1 +- Update to 4.11.1 + +* Sun Nov 09 2025 Martin Gansser 4.11.0-1 +- Update to 4.11.0 + +* Sat Aug 02 2025 Martin Gansser 4.10.12-1 +- Update to 4.10.12 + +* Fri Jul 25 2025 Fedora Release Engineering - 4.10.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sat Jul 19 2025 Martin Gansser 4.10.11-1 +- Update to 4.10.11 + +* Tue Jul 15 2025 Martin Gansser 4.10.10-1 +- Update to 4.10.10 + +* Thu Jul 10 2025 Martin Gansser 4.10.9-1 +- Update to 4.10.9 + +* Sat Jun 07 2025 Martin Gansser 4.10.8-1 +- Update to 4.10.8 + +* Sun Jun 01 2025 Martin Gansser 4.10.7-1 +- Update to 4.10.7 + +* Tue May 06 2025 Martin Gansser 4.10.6-1 +- Update to 4.10.6 + +* Tue Mar 04 2025 Martin Gansser 4.10.5-1 +- Update to 4.10.5 + +* Fri Feb 21 2025 Martin Gansser 4.10.4-1 +- Update to 4.10.4 + +* Tue Feb 11 2025 Martin Gansser 4.10.3-1 +- Update to 4.10.3 + +* Fri Jan 17 2025 Martin Gansser 4.10.2-1 +- Update to 4.10.2 + +* Tue Jan 07 2025 Martin Gansser 4.10.1-1 +- Update to 4.10.1 + +* Thu Jan 02 2025 Martin Gansser 4.10.0-1 +- Update to 4.10.0 + +* Wed Oct 23 2024 Martin Gansser 4.9.12-1 +- Update to 4.9.12 + +* Mon Sep 23 2024 Martin Gansser - 4.9.11-3 +- Migrate to SPDX license + +* Sat Jul 20 2024 Fedora Release Engineering - 4.9.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sun Jun 16 2024 Martin Gansser 4.9.11-1 - Update to 4.9.11