Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9972b60bfd | ||
|
|
45b5562783 |
1 changed files with 19 additions and 4 deletions
|
|
@ -1,13 +1,14 @@
|
||||||
# wx-config
|
# wx-config
|
||||||
%global wxversion %(wx-config-3.1 --release)
|
|
||||||
%if 0%{?fedora} >= 37
|
%if 0%{?fedora} >= 37
|
||||||
%global wxversion %(wx-config-3.2 --release)
|
%global wxversion %(wx-config-3.2 --release)
|
||||||
|
%else
|
||||||
|
%global wxversion %(wx-config-3.1 --release)
|
||||||
%endif
|
%endif
|
||||||
%global wxincdir %{_includedir}/wx-%{wxversion}
|
%global wxincdir %{_includedir}/wx-%{wxversion}
|
||||||
|
|
||||||
Name: wxsqlite3
|
Name: wxsqlite3
|
||||||
Version: 4.8.2
|
Version: 4.8.2
|
||||||
Release: 4%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: C++ wrapper around the SQLite 3.x database
|
Summary: C++ wrapper around the SQLite 3.x database
|
||||||
|
|
||||||
License: wxWidgets
|
License: wxWidgets
|
||||||
|
|
@ -88,9 +89,17 @@ chmod -x LICENCE.txt readme.md
|
||||||
%build
|
%build
|
||||||
#autoreconf --install --force
|
#autoreconf --install --force
|
||||||
autoreconf
|
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
|
# 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
|
%make_build
|
||||||
|
|
||||||
# build docs
|
# build docs
|
||||||
|
|
@ -130,6 +139,12 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Aug 10 2022 Martin Gansser <martinkg@fedoraproject.org> 4.8.2-4
|
||||||
- Set wxversion to 3.1 for fedora <= 36
|
- Set wxversion to 3.1 for fedora <= 36
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue