import qatengine-1.6.0-2.el10

i10c-beta changed/i10c-beta/qatengine-1.6.0-2.el10
MSVSphere Packaging Team 2 months ago
commit 7bf883c9c9
Signed by: sys_gitsync
GPG Key ID: B2B0B9F29E528FE8

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/qatengine-1.6.0.tar.gz

@ -0,0 +1 @@
a92fcfe9ccfbf243fb606ed7699bb5b4c57da327 SOURCES/qatengine-1.6.0.tar.gz

@ -0,0 +1,83 @@
# SPDX-License-Identifier: MIT
# Define the directory where the OpenSSL engines are installed
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
Name: qatengine
Version: 1.6.0
Release: 2%{?dist}
Summary: Intel QuickAssist Technology (QAT) OpenSSL Engine
# Most of the source code is BSD, with the following exceptions:
# - e_qat.txt, e_qat_err.c, and e_qat_err.h are OpenSSL
# - qat/config/* are (BSD or GPLv2), but are not used during compilation
# - qat_contig_mem/* are GPLv2, but are not used during compilation
License: BSD-3-Clause AND OpenSSL
URL: https://github.com/intel/QAT_Engine
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# https://bugzilla.redhat.com/show_bug.cgi?id=1909065
ExclusiveArch: x86_64
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: libtool
BuildRequires: openssl-devel >= 1.1.1
BuildRequires: qatlib-devel >= 23.02.0
%if !0%{?rhel}
BuildRequires: intel-ipp-crypto-mb-devel >= 1.0.6
BuildRequires: intel-ipsec-mb-devel >= 1.3.0
BuildRequires: openssl
%endif
%description
This package provides the Intel QuickAssist Technology OpenSSL Engine
(an OpenSSL Plug-In Engine) which provides cryptographic acceleration
for both hardware and optimized software using Intel QuickAssist Technology
enabled Intel platforms.
%prep
%autosetup -n QAT_Engine-%{version}
%build
autoreconf -ivf
%if !0%{?rhel}
# Enable QAT_HW & QAT_SW Co-existence acceleration
%configure --enable-qat_sw
%else
# QAT_HW only acceleration for RHEL
%configure
%endif
%make_build
%install
%make_install
%if 0%{?rhel}
find %{buildroot} -name "*.la" -delete
%endif
%if !0%{?rhel}
%check
export OPENSSL_ENGINES=%{buildroot}%{enginesdir}
openssl engine -v %{name}
%endif
%files
%license LICENSE*
%doc README.md docs*
%{enginesdir}/%{name}.so
%changelog
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.6.0-2
- Rebuilt for MSVSphere 10
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.6.0-2
- Bump release for June 2024 mass rebuild
* Fri Mar 22 2024 Vladis Dronov <vdronov@redhat.com> - 1.6.0-1
- Update to qatengine v1.6.0 (RHEL-20177)
* Fri Jan 26 2024 Vladis Dronov <vdronov@redhat.com> - 1.5.0-3
- Initial import
Loading…
Cancel
Save