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