import qatlib-22.07.0-1.el8
This commit is contained in:
parent
b6124cd6c3
commit
6ee57d23e6
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/qatlib-21.11.0.tar.gz
|
SOURCES/qatlib-22.07.0.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
e6362cc84b97e17beda16b83e51d956bc2097d24 SOURCES/qatlib-21.11.0.tar.gz
|
00c56119a51b6da207c0d009f343dcf90e595ef9 SOURCES/qatlib-22.07.0.tar.gz
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
%global libqat_soversion 2
|
%global libqat_soversion 3
|
||||||
%global libusdm_soversion 0
|
%global libusdm_soversion 0
|
||||||
Name: qatlib
|
Name: qatlib
|
||||||
Version: 21.11.0
|
Version: 22.07.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Intel QuickAssist user space library
|
Summary: Intel QuickAssist user space library
|
||||||
# The entire source code is released under BSD.
|
# The entire source code is released under BSD.
|
||||||
@ -11,13 +11,12 @@ Summary: Intel QuickAssist user space library
|
|||||||
License: BSD and (BSD or GPLv2)
|
License: BSD and (BSD or GPLv2)
|
||||||
URL: https://github.com/intel/%{name}
|
URL: https://github.com/intel/%{name}
|
||||||
Source0: https://github.com/intel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/intel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: systemd gcc make autoconf automake libtool systemd-devel openssl-devel zlib-devel
|
BuildRequires: systemd gcc make autoconf automake libtool systemd-devel openssl-devel zlib-devel yasm
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
|
Recommends: qatlib-service
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1897661
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1897661
|
||||||
ExcludeArch: %{arm} aarch64 %{power64} s390x i686
|
ExcludeArch: %{arm} aarch64 %{power64} s390x i686
|
||||||
|
|
||||||
%{?systemd_requires}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Intel QuickAssist Technology (Intel QAT) provides hardware acceleration
|
Intel QuickAssist Technology (Intel QAT) provides hardware acceleration
|
||||||
for offloading security, authentication and compression services from the
|
for offloading security, authentication and compression services from the
|
||||||
@ -46,6 +45,15 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
%description tests
|
%description tests
|
||||||
This package contains sample applications that use the Intel QuickAssists APIs.
|
This package contains sample applications that use the Intel QuickAssists APIs.
|
||||||
|
|
||||||
|
%package service
|
||||||
|
Summary: A daemon for qatlib resources management
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
%{?systemd_requires}
|
||||||
|
|
||||||
|
%description service
|
||||||
|
This package contains a daemon that manages QAT resources for the Intel
|
||||||
|
QuickAssist Technology user space library (qatlib).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup
|
||||||
|
|
||||||
@ -62,18 +70,20 @@ sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|||||||
make DESTDIR=%{buildroot} samples-install
|
make DESTDIR=%{buildroot} samples-install
|
||||||
rm %{buildroot}/%{_libdir}/libqat.la
|
rm %{buildroot}/%{_libdir}/libqat.la
|
||||||
rm %{buildroot}/%{_libdir}/libusdm.la
|
rm %{buildroot}/%{_libdir}/libusdm.la
|
||||||
|
rm %{buildroot}/%{_libdir}/libqat.a
|
||||||
|
rm %{buildroot}/%{_libdir}/libusdm.a
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
getent group qat >/dev/null || groupadd -r qat
|
getent group qat >/dev/null || groupadd -r qat
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%post
|
%post service
|
||||||
%systemd_post qat.service
|
%systemd_post qat.service
|
||||||
|
|
||||||
%preun
|
%preun service
|
||||||
%systemd_preun qat.service
|
%systemd_preun qat.service
|
||||||
|
|
||||||
%postun
|
%postun service
|
||||||
%systemd_postun_with_restart qat.service
|
%systemd_postun_with_restart qat.service
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -81,11 +91,6 @@ exit 0
|
|||||||
%license LICENSE*
|
%license LICENSE*
|
||||||
%{_libdir}/libqat.so.%{libqat_soversion}*
|
%{_libdir}/libqat.so.%{libqat_soversion}*
|
||||||
%{_libdir}/libusdm.so.%{libusdm_soversion}*
|
%{_libdir}/libusdm.so.%{libusdm_soversion}*
|
||||||
%{_sbindir}/qatmgr
|
|
||||||
%{_sbindir}/qat_init.sh
|
|
||||||
%{_unitdir}/qat.service
|
|
||||||
%{_mandir}/man8/qat_init.sh.8*
|
|
||||||
%{_mandir}/man8/qatmgr.8*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libqat.so
|
%{_libdir}/libqat.so
|
||||||
@ -93,6 +98,7 @@ exit 0
|
|||||||
%{_includedir}/qat
|
%{_includedir}/qat
|
||||||
|
|
||||||
%files tests
|
%files tests
|
||||||
|
%doc quickassist/lookaside/access_layer/src/sample_code/README.txt
|
||||||
%attr(0754,-,qat) %{_bindir}/cpa_sample_code
|
%attr(0754,-,qat) %{_bindir}/cpa_sample_code
|
||||||
%attr(0754,-,qat) %{_bindir}/dc_dp_sample
|
%attr(0754,-,qat) %{_bindir}/dc_dp_sample
|
||||||
%attr(0754,-,qat) %{_bindir}/dc_stateless_sample
|
%attr(0754,-,qat) %{_bindir}/dc_stateless_sample
|
||||||
@ -115,7 +121,18 @@ exit 0
|
|||||||
%{_datadir}/qat/calgary32
|
%{_datadir}/qat/calgary32
|
||||||
%{_datadir}/qat/canterbury
|
%{_datadir}/qat/canterbury
|
||||||
|
|
||||||
|
%files service
|
||||||
|
%{_sbindir}/qatmgr
|
||||||
|
%{_sbindir}/qat_init.sh
|
||||||
|
%{_unitdir}/qat.service
|
||||||
|
%{_mandir}/man8/qatmgr.8*
|
||||||
|
%{_mandir}/man8/qat_init.sh.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 22 2022 Vladis Dronov <vdronov@redhat.com> - 22.07.0-1
|
||||||
|
- Update to qatlib 22.07 (bz 2040743)
|
||||||
|
- Moved qat.service to separate rpm
|
||||||
|
|
||||||
* Thu Nov 11 2021 Vladis Dronov <vdronov@redhat.com> - 21.11.0-1
|
* Thu Nov 11 2021 Vladis Dronov <vdronov@redhat.com> - 21.11.0-1
|
||||||
- Update to qatlib 21.11 (bz 1960303)
|
- Update to qatlib 21.11 (bz 1960303)
|
||||||
- Add qatlib-tests package
|
- Add qatlib-tests package
|
||||||
|
Loading…
Reference in New Issue
Block a user