[packages/qca-qt5] - updated to 2.3.9, updated dependencies
qboosh
qboosh at pld-linux.org
Tue Oct 22 21:15:21 CEST 2024
commit 5411575b9314e3c68929208f00d08b04560300d5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Oct 22 21:08:28 2024 +0200
- updated to 2.3.9, updated dependencies
qca-qt5.spec | 46 ++++++++++++++++++++++++----------------------
1 file changed, 24 insertions(+), 22 deletions(-)
---
diff --git a/qca-qt5.spec b/qca-qt5.spec
index b11758c..e4bac2e 100644
--- a/qca-qt5.spec
+++ b/qca-qt5.spec
@@ -1,24 +1,28 @@
+# TODO: crypto plugin subpackages?
Summary: Qt Cryptographic Architecture (QCA) Library
Summary(pl.UTF-8): Biblioteka Qt Cryptographic Architecture (QCA)
Name: qca-qt5
-Version: 2.3.4
+Version: 2.3.9
Release: 1
License: LGPL v2.1
Group: Libraries
Source0: https://download.kde.org/stable/qca/%{version}/qca-%{version}.tar.xz
-# Source0-md5: 5a5398e9dc7fef37d1e7f070260f4886
+# Source0-md5: d8aaa46356a322464f65b04d00d2bac6
URL: https://invent.kde.org/libraries/qca
-BuildRequires: Qt5Core-devel
-BuildRequires: Qt5Gui-devel
-BuildRequires: Qt5Network-devel
-BuildRequires: Qt5Test-devel
-BuildRequires: cmake >= 2.8.2
-BuildRequires: libstdc++-devel
+BuildRequires: Qt5Core-devel >= 5.14
+# or botan3 (with C++20)
+BuildRequires: botan2-devel >= 2
+BuildRequires: cmake >= 3.16
+BuildRequires: cyrus-sasl-devel >= 2
+BuildRequires: libgcrypt-devel
+BuildRequires: libstdc++-devel >= 6:7
BuildRequires: nss-devel
-BuildRequires: openssl-devel >= 0.9.7d
+BuildRequires: openssl-devel >= 1.1.1
BuildRequires: pkcs11-helper-devel
+BuildRequires: pkgconfig
BuildRequires: qt5-build
BuildRequires: which
+Requires: Qt5Core >= 5.14
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -32,7 +36,8 @@ Summary: Qt Cryptographic Architecture (QCA) Library - development files
Summary(pl.UTF-8): Biblioteka Qt Cryptographic Architecture (QCA) - pliki dla programistów
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: Qt5Core-devel
+Requires: Qt5Core-devel >= 5.14
+Requires: libstdc++-devel >= 6:7
%description devel
Qt Cryptographic Architecture (QCA) Library - development files.
@@ -45,13 +50,11 @@ programistów.
%setup -q -n qca-%{version}
%build
-install -d build
-cd build
-%cmake \
+%cmake -B build \
-DQCA_INSTALL_IN_QT_PREFIX=ON \
- -DQCA_MAN_INSTALL_DIR=%{_mandir} \
- ..
-%{__make}
+ -DQCA_MAN_INSTALL_DIR=%{_mandir}
+
+%{__make} -C build
%install
rm -rf $RPM_BUILD_ROOT
@@ -68,13 +71,12 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README
-%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libqca-qt5.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libqca-qt5.so.2
%attr(755,root,root) %{_libdir}/qt5/bin/mozcerts-qt5
%attr(755,root,root) %{_libdir}/qt5/bin/qcatool-qt5
-#%{_prefix}/certs/rootcerts.pem
-%attr(755,root,root) %ghost %{_libdir}/libqca-qt5.so.2
-%attr(755,root,root) %{_libdir}/libqca-qt5.so.*.*
%dir %{_libdir}/qt5/plugins/crypto
+%attr(755,root,root) %{_libdir}/qt5/plugins/crypto/libqca-botan.so
%attr(755,root,root) %{_libdir}/qt5/plugins/crypto/libqca-cyrus-sasl.so
%attr(755,root,root) %{_libdir}/qt5/plugins/crypto/libqca-gcrypt.so
%attr(755,root,root) %{_libdir}/qt5/plugins/crypto/libqca-gnupg.so
@@ -87,8 +89,8 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(644,root,root,755)
-%{_includedir}/qt5/Qca-qt5
-%{_libdir}/cmake/Qca-qt5
%attr(755,root,root) %{_libdir}/libqca-qt5.so
+%{_includedir}/qt5/Qca-qt5
%{_pkgconfigdir}/qca2-qt5.pc
+%{_libdir}/cmake/Qca-qt5
%{_libdir}/qt5/mkspecs/features/crypto.prf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qca-qt5.git/commitdiff/5411575b9314e3c68929208f00d08b04560300d5
More information about the pld-cvs-commit
mailing list