From 645b3fbe0bbe4b2ae619898cccf1b850b123ef0b Mon Sep 17 00:00:00 2001 From: Giovanni Cabiddu Date: Wed, 10 Nov 2021 07:47:07 -0500 Subject: [PATCH] Update to qatlib 21.11 Signed-off-by: Giovanni Cabiddu --- .gitignore | 1 + qatlib.spec | 39 +++++++++++++++++++++++++++++++++++++-- sources | 2 +- 3 files changed, 39 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1387db4..e61193a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /qatlib-21.05.0.tar.gz /qatlib-21.08.0.tar.gz +/qatlib-21.11.0.tar.gz diff --git a/qatlib.spec b/qatlib.spec index 0a4968f..b78fad4 100644 --- a/qatlib.spec +++ b/qatlib.spec @@ -3,8 +3,8 @@ %global libqat_soversion 2 %global libusdm_soversion 0 Name: qatlib -Version: 21.08.0 -Release: 2%{?dist} +Version: 21.11.0 +Release: 1%{?dist} Summary: Intel QuickAssist user space library # The entire source code is released under BSD. # For a breakdown of inbound licenses see the INSTALL file. @@ -39,6 +39,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package contains headers and libraries required to build applications that use the Intel QuickAssist APIs. +%package tests +Summary: Sample applications that use qatlib +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tests +This package contains sample applications that use the Intel QuickAssists APIs. + %prep %autosetup @@ -52,6 +59,7 @@ sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool %install %make_install +make DESTDIR=%{buildroot} samples-install rm %{buildroot}/%{_libdir}/libqat.la rm %{buildroot}/%{_libdir}/libusdm.la @@ -84,7 +92,34 @@ exit 0 %{_libdir}/libusdm.so %{_includedir}/qat +%files tests +%attr(0754,-,qat) %{_bindir}/cpa_sample_code +%attr(0754,-,qat) %{_bindir}/dc_dp_sample +%attr(0754,-,qat) %{_bindir}/dc_stateless_sample +%attr(0754,-,qat) %{_bindir}/dc_stateless_multi_op_sample +%attr(0754,-,qat) %{_bindir}/algchaining_sample +%attr(0754,-,qat) %{_bindir}/ccm_sample +%attr(0754,-,qat) %{_bindir}/cipher_sample +%attr(0754,-,qat) %{_bindir}/gcm_sample +%attr(0754,-,qat) %{_bindir}/hash_file_sample +%attr(0754,-,qat) %{_bindir}/hash_sample +%attr(0754,-,qat) %{_bindir}/ipsec_sample +%attr(0754,-,qat) %{_bindir}/ssl_sample +%attr(0754,-,qat) %{_bindir}/sym_dp_sample +%attr(0754,-,qat) %{_bindir}/dh_sample +%attr(0754,-,qat) %{_bindir}/eddsa_sample +%attr(0754,-,qat) %{_bindir}/prime_sample +%attr(0754,-,qat) %{_bindir}/hkdf_sample +%attr(0754,-,qat) %{_bindir}/ec_montedwds_sample +%{_datadir}/qat/calgary +%{_datadir}/qat/calgary32 +%{_datadir}/qat/canterbury + %changelog +* Wed Nov 10 2021 Giovanni Cabiddu - 21.11.0-1 +- Update to qatlib 21.11 +- Add qatlib-tests package + * Tue Sep 14 2021 Sahana Prasad - 21.08.0-2 - Rebuilt with OpenSSL 3.0.0 diff --git a/sources b/sources index 98faecf..ae0d9aa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (qatlib-21.08.0.tar.gz) = b936d0a4f3a724226417b1d051b35c6efd63f5d638b1144bd8749729ac8e5a34ef2eb5d9104714b730591f863f53fbe58c2bca165a654db2fc3f41b847ffab78 +SHA512 (qatlib-21.11.0.tar.gz) = 740fa282ee540ba74e14ed07b4c79d3af239809c2b6216361b23ccc4787ee378a7a7c336c71087d4a1a59da22db7d5cdef7290ceb7f8e879feaf70f766119dfb