Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Martin Gansser
9972b60bfd Update wxsqlite3.spec to enable encryption 2022-10-17 15:51:55 +02:00
Martin Gansser
45b5562783 Use correct wx-config file in configure 2022-08-13 15:38:36 +02:00

View file

@ -1,13 +1,14 @@
# wx-config
%global wxversion %(wx-config-3.1 --release)
%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.8.2
Release: 4%{?dist}
Release: 6%{?dist}
Summary: C++ wrapper around the SQLite 3.x database
License: wxWidgets
@ -88,9 +89,17 @@ chmod -x LICENCE.txt readme.md
%build
#autoreconf --install --force
autoreconf
%configure --enable-shared=yes --enable-static=no
%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
#sed -i -e 's|WX_CONFIG_NAME=wx-config|WX_CONFIG_NAME=wx-config-3.0|g' configure
%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
# build docs
@ -130,6 +139,12 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%changelog
* Mon Oct 17 2022 Martin Gansser <martinkg@fedoraproject.org> 4.8.2-6
- Update wxsqlite3.spec to enable encryption
* Fri Aug 12 2022 Martin Gansser <martinkg@fedoraproject.org> 4.8.2-5
- Use correct wx-config file in configure
* Wed Aug 10 2022 Martin Gansser <martinkg@fedoraproject.org> 4.8.2-4
- Set wxversion to 3.1 for fedora <= 36