fix default to QSQLITE3 for database backend [release 1.13.0-3mamba;Tue Sep 30 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 20:13:28 +01:00
parent 41e19fb83d
commit 3223e8228c

View File

@ -1,6 +1,6 @@
Name: akonadi
Version: 1.13.0
Release: 2mamba
Release: 3mamba
Summary: PIM Storage Service
Group: System/Libraries
Vendor: openmamba
@ -12,9 +12,6 @@ Patch0: %{name}-restore-builtin-automoc4.patch
Patch1: %{name}-1.1.1-mysql_conf.patch
Patch2: %{name}-1.4.0-sqlite_default.patch
License: LGPL
BuildRequires: cmake
# Akonadi server requires the mysqld binary
BuildRequires: mysql
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libboost-devel
@ -25,6 +22,7 @@ BuildRequires: libsoprano-devel
BuildRequires: libstdc++6-devel
BuildRequires: mysql
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: automoc4
BuildRequires: libsqlite-devel
Requires: libakonadi = %{?epoch:%epoch:}%{version}-%{release}
@ -64,7 +62,7 @@ This package contains static libraries and header files need for development.
%build
%cmake -d build \
-DCONFIG_INSTALL_DIR:PATH=%{_sysconfdir} \
-DDATABASE_BACKEND=SQLITE3 \
-DDATABASE_BACKEND=SQLITE \
-DINSTALL_QSQLITE_IN_QT_PREFIX:BOOL=ON \
-DQT_PLUGINS_DIR=%{_qt4_plugindir}
@ -125,6 +123,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%{_libdir}/pkgconfig/akonadi.pc
%changelog
* Tue Sep 30 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.0-3mamba
- fix default to QSQLITE3 for database backend
* Sun Aug 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.0-2mamba
- install qt sqlite3 plugin in correct directory