update to 2.3.4 [release 2.3.4-1mamba;Tue Dec 07 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 05:28:59 +01:00
parent 80e0c1a207
commit d7ee1c9d2f

View File

@ -1,34 +1,34 @@
%define majorminor %(echo %version | cut -d. -f 1-2)
Name: libqca
Version: 2.3.1
Version: 2.3.4
Release: 1mamba
Summary: Qt Cryptographic Architecture (QCA)
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://delta.affinix.com/qca/
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://userbase.kde.org/QCA
Source: https://download.kde.org/stable/qca/%{version}/qca-%{version}.tar.xz
#Source: http://download.kde.org/stable/qca-qt5/%{version}/src/qca-qt5-%{version}.tar.xz
Patch0: qca-2.0.3-gcc-4.7.patch
Patch1: libqca-2.1.0.3-qt5-5.5.patch
Patch2: libqca-2.1.0.3-use-Q_SLOT-and-Q_SIGNAL.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
%ifnarch arm
BuildRequires: libbotan-devel
%endif
BuildRequires: libgcc
BuildRequires: libgcrypt-devel
BuildRequires: libgpg-error-devel
BuildRequires: libnspr-devel
BuildRequires: libnss-devel
BuildRequires: libopenssl-devel
BuildRequires: libqt4-devel
BuildRequires: libqt5-devel
BuildRequires: libsasl2-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Taking a hint from the similarly-named Java Cryptography Architecture, QCA aims to provide a straightforward and cross-platform crypto API, using Qt datatypes and conventions.
@ -49,8 +49,7 @@ Requires: %{name}-qt5 = %{?epoch:%epoch:}%{version}-%{release}
%description qt5-devel
Taking a hint from the similarly-named Java Cryptography Architecture, QCA aims to provide a straightforward and cross-platform crypto API, using Qt datatypes and conventions.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%debug_package
@ -62,12 +61,10 @@ This package contains static libraries and header files need for development.
%build
%cmake -d build \
-DQCA_SUFFIX=qt5 \
-DBUILD_TESTS=OFF \
-DQCA_INSTALL_IN_QT_PREFIX=ON \
-DCMAKE_CXX_FLAGS="%{optflags} -Wno-narrowing"
# -DQCA_INSTALL_IN_QT_PREFIX=ON \
%make
%install
@ -82,34 +79,31 @@ This package contains static libraries and header files need for development.
%files qt5
%defattr(-,root,root)
%{_bindir}/mozcerts-qt5
%{_bindir}/qcatool-qt5
%dir %{_libdir}/qca-qt5/crypto
%{_libdir}/qca-qt5/crypto/libqca-*.so
%{_libdir}/qt5/bin/mozcerts-qt5
%{_libdir}/qt5/bin/qcatool-qt5
%{_libdir}/qt5/mkspecs/features/crypto.prf
%{_qt5_libdir}/libqca-qt5.so.*
#%dir %{_libdir}/qt5/plugins/crypto
#%{_libdir}/qt5/plugins/crypto/libqca-*.so
#%{_datadir}/qt5/man/man1/qcatool-qt5.1
%{_mandir}/man1/qcatool-qt5.1*
%{_libdir}/qt5/plugins/crypto/libqca-*.so
%{_datadir}/qt5/man/man1/qcatool-qt5.1
%doc COPYING
%files qt5-devel
%defattr(-,root,root)
# fixme
/usr/mkspecs/features/crypto.prf
%dir %{_includedir}/Qca-qt5
%{_includedir}/Qca-qt5/*
%dir %{_includedir}/qt5/Qca-qt5
%{_includedir}/qt5/Qca-qt5/*
%{_qt5_libdir}/libqca-qt5.so
%dir %{_libdir}/cmake/Qca-qt5
%{_libdir}/cmake/Qca-qt5/Qca-qt5Config.cmake
%{_libdir}/cmake/Qca-qt5/Qca-qt5ConfigVersion.cmake
%{_libdir}/cmake/Qca-qt5/Qca-qt5Targets-noconfig.cmake
%{_libdir}/cmake/Qca-qt5/Qca-qt5Targets.cmake
#%{_libdir}/qt5/mkspecs/features/crypto.prf
%{_libdir}/pkgconfig/qca2-qt5.pc
#%doc README TODO
%changelog
* Tue Dec 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.4-1mamba
- update to 2.3.4
* Mon Jul 06 2020 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
- automatic version update by autodist