2024-09-10 09:02:31 +08:00
|
|
|
# Define the directory where the OpenSSL engines are installed
|
|
|
|
|
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
|
|
|
|
|
%global githubname QAT_Engine
|
|
|
|
|
|
|
|
|
|
Name: qatengine
|
|
|
|
|
Version: 1.6.1
|
2024-11-14 11:31:46 +08:00
|
|
|
Release: 2
|
2024-09-10 09:02:31 +08:00
|
|
|
Summary: Intel QuickAssist Technology (QAT) OpenSSL Engine
|
|
|
|
|
|
|
|
|
|
License: BSD and OpenSSL
|
|
|
|
|
URL: https://github.com/intel/%{githubname}
|
|
|
|
|
Source0: %{githubname}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: x86_64
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: openssl-devel >= 1.1.1
|
|
|
|
|
BuildRequires: qatlib-devel
|
|
|
|
|
BuildRequires: intel-ipp-crypto-mb-devel
|
|
|
|
|
BuildRequires: intel-ipsec-mb-devel
|
|
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Documentation files for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
The %{name}-doc package contains documentation files for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{githubname}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -ivf
|
|
|
|
|
# Enable QAT_HW & QAT_SW Co-existence acceleration
|
|
|
|
|
%configure --enable-qat_sw --with-qat_hw_dir=/usr --with-openssl_install_dir=/usr
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
2024-11-14 11:31:46 +08:00
|
|
|
rm %{buildroot}/%{_libdir}/engines-3/qatengine.la
|
2024-09-10 09:02:31 +08:00
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE*
|
|
|
|
|
%{enginesdir}/%{name}.so
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%doc README.md docs*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-11-14 11:31:46 +08:00
|
|
|
* Thu Nov 14 2024 Aichun Shi <aichun.shi@intel.com> - 1.6.1-2
|
|
|
|
|
- Fix CI issue
|
|
|
|
|
|
2024-09-10 09:02:31 +08:00
|
|
|
* Wed Aug 28 2024 Aichun Shi <aichun.shi@intel.com> - 1.6.1-1
|
|
|
|
|
- Initial package
|