Summary(pl.UTF-8): Biblioteka Qt Cryptographic Architecture (QCA)
Name: qca
Version: 2.1.3
-Release: 3
+Release: 4
License: LGPL v2.1
Group: Libraries
Source0: http://download.kde.org/stable/qca/%{version}/src/%{name}-%{version}.tar.xz
# Source0-md5: 5019cc29efcf828681cd93164238ce26
Patch0: openssl.patch
+Patch1: qt5.patch
URL: http://delta.affinix.com/qca/
BuildRequires: Qt5Core-devel
BuildRequires: Qt5Gui-devel
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
install -d build4
--- /dev/null
+--- qca-2.1.3/CMakeLists.txt.orig 2019-10-15 19:40:02.865390511 +0200
++++ qca-2.1.3/CMakeLists.txt 2019-10-15 19:52:34.177220661 +0200
+@@ -49,6 +49,7 @@
+ # Do not automatically link Qt executables to qtmain target on Windows.
+ # QCA exucatables use console mode only. Not need to link against qtmain.lib.
+ set(Qt5_NO_LINK_QTMAIN ON)
++ set(CMAKE_CXX_STANDARD 11)
+ find_package(Qt5Core QUIET)
+ mark_as_advanced(Qt5Core_DIR)
+ endif()