Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c750a1671c | ||
|
|
0c5c3faa04 | ||
|
|
cfecc06b92 | ||
|
|
018acbad4c | ||
|
|
68a4f5c557 |
3 changed files with 52 additions and 11 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -18,3 +18,4 @@
|
|||
/wxsqlite3-6feb9d1.tar.gz
|
||||
/wxsqlite3-91de286.tar.gz
|
||||
/wxsqlite3-4.5.1.tar.gz
|
||||
/wxsqlite3-4.8.2.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (wxsqlite3-4.5.1.tar.gz) = e9a5c888ca61a5b3f1bf1247b44dab938646eda7b215ec7a8f2f993d26b1785d40343abfb66d9e99aad39a8028ba64ce54d29fb76ecdd0550820b6c1295438bb
|
||||
SHA512 (wxsqlite3-4.8.2.tar.gz) = 828ecbfd9f3d3babb464f96f129f072f04f4113b70b25cc1ede2a08da1c7ba675fc4ff9e565d6361a3935e5199a0958c3acec317d44b5d19a3ec928b9141c887
|
||||
|
|
|
|||
|
|
@ -1,9 +1,14 @@
|
|||
%global wxversion %(wx-config-3.0 --release)
|
||||
# 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.5.1
|
||||
Release: 4%{?dist}
|
||||
Version: 4.8.2
|
||||
Release: 6%{?dist}
|
||||
Summary: C++ wrapper around the SQLite 3.x database
|
||||
|
||||
License: wxWidgets
|
||||
|
|
@ -11,10 +16,10 @@ URL: https://github.com/utelle/wxsqlite3
|
|||
Source0: https://github.com/utelle/wxsqlite3/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
# don't %%build the included wxSQLite+ application
|
||||
BuildRequires: make
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: wxGTK3-devel
|
||||
BuildRequires: wxGTK-devel
|
||||
BuildRequires: sqlite-devel
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: dos2unix
|
||||
|
|
@ -44,7 +49,7 @@ added in version 1.9.8.
|
|||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: wxGTK3-devel%{?_isa}
|
||||
Requires: wxGTK-devel%{?_isa}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
|
|
@ -84,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
|
||||
|
|
@ -104,8 +117,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
|
||||
### mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
||||
###mv %{name}.pc %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
|
@ -126,6 +139,33 @@ mv %{name}.pc %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
|||
|
||||
|
||||
%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
|
||||
|
||||
* Mon Aug 08 2022 Martin Gansser <martinkg@fedoraproject.org> 4.8.2-3
|
||||
- Set wxversion to 3.0 for fedora <= 36
|
||||
|
||||
* Sun Aug 07 2022 Martin Gansser <martinkg@fedoraproject.org> 4.8.2-2
|
||||
- Set wxversion to 3.2 for fedora} >= 37
|
||||
|
||||
* Fri Aug 05 2022 Martin Gansser <martinkg@fedoraproject.org> 4.8.2-1
|
||||
- Update to 4.8.2
|
||||
|
||||
* Thu Aug 04 2022 Scott Talbert <swt@techie.net> - 4.5.1-7
|
||||
- Rebuild with wxWidgets 3.2
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue