From 56ac1430610e35c2d402ce0a879a03d2f75a08e6 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Dec 07 2021 18:36:00 +0000 Subject: import qatlib-21.11.0-1.el9 --- 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 feed8c4..70fa7d5 100644 --- a/SPECS/qatlib.spec +++ b/SPECS/qatlib.spec @@ -1,9 +1,9 @@ # SPDX-License-Identifier: MIT -%global libqat_soversion 0 +%global libqat_soversion 2 %global libusdm_soversion 0 Name: qatlib -Version: 21.05.0 +Version: 21.11.0 Release: 1%{?dist} Summary: Intel QuickAssist user space library # The entire source code is released under BSD. @@ -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 2012939) +- Add qatlib-tests package +- Add OSCI testing harness + * Mon Aug 16 2021 Vladis Dronov - 21.05.0-1 - Update to qatlib 21.05 with openssl-3 support (bz 1920444, bz 1953498) - Add documentation files to a package