diff --git a/.gitignore b/.gitignore index e69de29..fd4a9f5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/qatengine-0.6.3.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..f2da1c7 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# qatengine + +The qatengine package diff --git a/qatengine.spec b/qatengine.spec new file mode 100644 index 0000000..87784ad --- /dev/null +++ b/qatengine.spec @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: MIT + +%global githubname QAT_Engine +%global enginesdir %(pkg-config --variable=enginesdir libcrypto) + +Name: qatengine +Version: 0.6.3 +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 and OpenSSL +URL: https://github.com/intel/%{githubname} +Source0: https://github.com/intel/%{githubname}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc make pkg-config +BuildRequires: autoconf automake libtool +BuildRequires: openssl-devel >= 1.1.1 +BuildRequires: qatlib-devel >= 20.10.0 +# https://bugzilla.redhat.com/show_bug.cgi?id=1909065 +ExcludeArch: %{arm} aarch64 %{power64} s390x i686 + +%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 %{githubname}-%{version} + +%build +autoreconf -ivf +%configure +%make_build + +%install +%make_install + +%files +%license LICENSE* +%doc README.md +%{enginesdir}/qatengine.so +%exclude %{enginesdir}/qatengine.la + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.6.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Nov 30 2020 Yogaraj Alamenda 0.6.3-1 +- Update to qatengine v0.6.3 +- Update License and library installation + +* Wed Nov 18 2020 Dinesh Balakrishnan 0.6.2-1 +- Update to qatengine v0.6.2 +- Address review comments + +* Tue Sep 08 2020 Dinesh Balakrishnan 0.6.1-1 +- Initial version of rpm package diff --git a/sources b/sources new file mode 100644 index 0000000..6a7d288 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (qatengine-0.6.3.tar.gz) = 8cdadbeb339ac7b7ef2f5ef9e66a54f5cfeb6432a5b2ad6b0c118111b2f1956cdeb273ac69ceeb0e5be55091d65179d88d57f8c316ded5c7e35fe68775e31fdc