intel-qatengine: init package
Signed-off-by: Aichun Shi <aichun.shi@intel.com> (cherry picked from commit 0c4d737deb65f014005b3f7979f6a3ead0cb318a)
This commit is contained in:
parent
76203342a5
commit
4d408d3617
BIN
QAT_Engine-1.6.1.tar.gz
Normal file
BIN
QAT_Engine-1.6.1.tar.gz
Normal file
Binary file not shown.
60
qatengine.spec
Normal file
60
qatengine.spec
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
# 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
|
||||||
|
Release: 1
|
||||||
|
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
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE*
|
||||||
|
%{enginesdir}/%{name}.so
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%doc README.md docs*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Aug 28 2024 Aichun Shi <aichun.shi@intel.com> - 1.6.1-1
|
||||||
|
- Initial package
|
||||||
Loading…
x
Reference in New Issue
Block a user