Name: qca Version: 2.3.12 Release: 1%{?dist} Summary: Qt Cryptographic Architecture License: LGPL-2.1-or-later URL: https://userbase.kde.org/QCA Source0: https://download.kde.org/stable/qca/%{version}/qca-%{version}.tar.xz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libgcrypt-devel BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libssl) BuildRequires: pkgconfig(Qt6Core) BuildRequires: pkgconfig(Qt6Core5Compat) %description QCA aims to provide a straightforward and cross-platform crypto API, using Qt data types. Built Qt6-only, with only the OpenSSL (ossl) backend plugin -- the one KWallet actually needs (BUILD_PLUGINS=ossl, a real upstream CMake option) -- skipping botan/cyrus-sasl/nss/pkcs11 which aren't packaged on this target. %package -n qca-qt6 Summary: Qt6 Cryptographic Architecture %description -n qca-qt6 QCA aims to provide a straightforward and cross-platform crypto API, using Qt data types (Qt6 build). %package -n qca-qt6-devel Summary: Development files for qca-qt6 Requires: qca-qt6%{?_isa} = %{version}-%{release} %description -n qca-qt6-devel %{summary}. %package -n qca-qt6-ossl Summary: OpenSSL plugin for qca-qt6 Requires: qca-qt6%{?_isa} = %{version}-%{release} %description -n qca-qt6-ossl The OpenSSL backend plugin for qca-qt6. %prep %autosetup -n qca-%{version} %build %cmake -Wno-dev \ -DBUILD_TESTS:BOOL=OFF \ -DQCA_INSTALL_IN_QT_PREFIX:BOOL=ON \ -DQCA_BINARY_INSTALL_DIR:STRING=%{_bindir} \ -DQCA_MAN_INSTALL_DIR:PATH=%{_mandir} \ -DBUILD_PLUGINS=ossl \ -DQT6=ON \ -DQCA_PLUGINS_INSTALL_DIR:PATH=%{_qt6_plugindir} \ -DQCA_LIBRARY_INSTALL_DIR:PATH=%{_qt6_libdir} \ -DQCA_FEATURE_INSTALL_DIR:PATH=%{_qt6_archdatadir}/mkspecs/features \ -DQCA_INCLUDE_INSTALL_DIR:PATH=%{_qt6_headerdir} \ -DQCA_PRIVATE_INCLUDE_INSTALL_DIR:PATH=%{_qt6_headerdir} %cmake_build %install %cmake_install %files -n qca-qt6 %doc README TODO %license COPYING %{_bindir}/mozcerts-qt6 %{_bindir}/qcatool-qt6 %{_mandir}/man1/qcatool-qt6.1* %{_qt6_libdir}/libqca-qt6.so.2* %dir %{_qt6_plugindir}/crypto/ %files -n qca-qt6-devel %{_qt6_headerdir}/QtCrypto %{_qt6_libdir}/libqca-qt6.so %{_libdir}/pkgconfig/qca2-qt6.pc %{_libdir}/cmake/Qca-qt6/ %files -n qca-qt6-ossl %{_qt6_plugindir}/crypto/libqca-ossl.so %changelog * Sat Aug 29 2026 Smech - 2.3.12-1 - Real upstream source, Qt6-only, ossl-only backend plugin