From b1773fe5f1b809b1da2b9ccf38f0519fcd993a4d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 10 2022 07:06:50 +0000 Subject: import qatlib-21.11.0-1.el8 --- diff --git a/.gitignore b/.gitignore index f9f2fc6..d9f0152 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/qatlib-21.05.0.tar.gz +SOURCES/qatlib-21.11.0.tar.gz diff --git a/.qatlib.metadata b/.qatlib.metadata index 8d7adbd..2337ebd 100644 --- a/.qatlib.metadata +++ b/.qatlib.metadata @@ -1 +1 @@ -547b994a7a504a3f2f6bbf3cf1896e2fb599623a SOURCES/qatlib-21.05.0.tar.gz +e6362cc84b97e17beda16b83e51d956bc2097d24 SOURCES/qatlib-21.11.0.tar.gz diff --git a/SPECS/qatlib.spec b/SPECS/qatlib.spec index 823b2f6..086e912 100644 --- a/SPECS/qatlib.spec +++ b/SPECS/qatlib.spec @@ -1,10 +1,10 @@ # SPDX-License-Identifier: MIT -%global libqat_soversion 0 +%global libqat_soversion 2 %global libusdm_soversion 0 Name: qatlib -Version: 21.05.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,8 +59,7 @@ sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool %install %make_install -rm %{buildroot}/%{_libdir}/libqat-%{version}.so -rm %{buildroot}/%{_libdir}/libusdm-%{version}.so +make DESTDIR=%{buildroot} samples-install rm %{buildroot}/%{_libdir}/libqat.la rm %{buildroot}/%{_libdir}/libusdm.la @@ -86,7 +92,35 @@ 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 +* Thu Nov 11 2021 Vladis Dronov - 21.11.0-1 +- Update to qatlib 21.11 (bz 1960303) +- Add qatlib-tests package +- Add OSCI testing harness + * Fri Aug 27 2021 Vladis Dronov - 21.05.0-2 - Add documentation files to the main package