|
|
1e3e47 |
# SPDX-License-Identifier: MIT
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%global githubname QATzip
|
|
|
7ad426 |
%global libqatzip_soversion 3
|
|
|
1e3e47 |
|
|
|
1e3e47 |
Name: qatzip
|
|
|
7ad426 |
Version: 1.0.9
|
|
|
1e3e47 |
Release: 1%{?dist}
|
|
|
1e3e47 |
Summary: Intel QuickAssist Technology (QAT) QATzip Library
|
|
|
1e3e47 |
License: BSD
|
|
|
1e3e47 |
URL: https://github.com/intel/%{githubname}
|
|
|
7ad426 |
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
1e3e47 |
|
|
|
1e3e47 |
BuildRequires: gcc >= 4.8.5
|
|
|
1e3e47 |
BuildRequires: zlib-devel >= 1.2.7
|
|
|
7ad426 |
BuildRequires: qatlib-devel >= 22.07.0
|
|
|
7ad426 |
BuildRequires: autoconf automake libtool make lz4-devel
|
|
|
1e3e47 |
# The purpose of the package is to support hardware that only exists on x86_64 platforms
|
|
|
1e3e47 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1987280
|
|
|
1e3e47 |
ExclusiveArch: x86_64
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%description
|
|
|
1e3e47 |
QATzip is a user space library which builds on top of the Intel
|
|
|
1e3e47 |
QuickAssist Technology user space library, to provide extended
|
|
|
1e3e47 |
accelerated compression and decompression services by offloading the
|
|
|
1e3e47 |
actual compression and decompression request(s) to the Intel Chipset
|
|
|
1e3e47 |
Series. QATzip produces data using the standard gzip* format
|
|
|
1e3e47 |
(RFC1952) with extended headers. The data can be decompressed with a
|
|
|
1e3e47 |
compliant gzip* implementation. QATzip is designed to take full
|
|
|
1e3e47 |
advantage of the performance provided by Intel QuickAssist
|
|
|
1e3e47 |
Technology.
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%package libs
|
|
|
1e3e47 |
Summary: Libraries for the qatzip package
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%description libs
|
|
|
1e3e47 |
This package contains libraries for applications to use
|
|
|
1e3e47 |
the QATzip APIs.
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%package devel
|
|
|
1e3e47 |
Summary: Development components for the libqatzip package
|
|
|
1e3e47 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%description devel
|
|
|
1e3e47 |
This package contains headers and libraries required to build
|
|
|
1e3e47 |
applications that use the QATzip APIs.
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%prep
|
|
|
1e3e47 |
%autosetup -p0 -n %{githubname}-%{version}
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%build
|
|
|
1e3e47 |
%set_build_flags
|
|
|
1e3e47 |
|
|
|
7ad426 |
autoreconf -vif
|
|
|
1e3e47 |
./configure \
|
|
|
1e3e47 |
--bindir=%{_bindir} \
|
|
|
7ad426 |
--libdir=%{_libdir} \
|
|
|
1e3e47 |
--includedir=%{_includedir} \
|
|
|
1e3e47 |
--mandir=%{_mandir} \
|
|
|
1e3e47 |
--prefix=%{_prefix} \
|
|
|
1e3e47 |
--enable-symbol
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%make_build
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%install
|
|
|
1e3e47 |
%make_install
|
|
|
7ad426 |
rm %{buildroot}/%{_libdir}/libqatzip.a
|
|
|
7ad426 |
rm %{buildroot}/%{_libdir}/libqatzip.la
|
|
|
1e3e47 |
rm -vf %{buildroot}%{_mandir}/*.pdf
|
|
|
1e3e47 |
|
|
|
1e3e47 |
# Check section is not available for these functional and performance tests require special hardware.
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%files
|
|
|
1e3e47 |
%license LICENSE*
|
|
|
1e3e47 |
%{_mandir}/man1/qzip.1*
|
|
|
1e3e47 |
%{_bindir}/qzip
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%files libs
|
|
|
1e3e47 |
%license LICENSE*
|
|
|
7ad426 |
%{_libdir}/libqatzip.so.%{libqatzip_soversion}*
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%files devel
|
|
|
1e3e47 |
%doc docs/QATzip-man.pdf
|
|
|
1e3e47 |
%{_includedir}/qatzip.h
|
|
|
1e3e47 |
%{_libdir}/libqatzip.so
|
|
|
1e3e47 |
|
|
|
1e3e47 |
%changelog
|
|
|
7ad426 |
* Mon Aug 08 2022 Vladis Dronov <vdronov@redhat.com> - 1.0.9-1
|
|
|
7ad426 |
- Rebuild for qatzip v1.0.9 (bz 2047744)
|
|
|
7ad426 |
- Update to require qatlib-devel >= 22.07.0 due to soversion bump
|
|
|
7ad426 |
|
|
|
1e3e47 |
* Wed Feb 09 2022 Vladis Dronov <vdronov@redhat.com> - 1.0.7-1
|
|
|
1e3e47 |
- Rebuild for qatzip v1.0.7
|
|
|
1e3e47 |
- Fix snprintf truncation check (bz 2046925)
|
|
|
1e3e47 |
- Add -fstack-protector-strong build option (bz 2044889)
|
|
|
1e3e47 |
|
|
|
1e3e47 |
* Wed Oct 20 2021 Vladis Dronov <vdronov@redhat.com> - 1.0.6-5
|
|
|
1e3e47 |
- Add OSCI testing harness (bz 1874207)
|
|
|
1e3e47 |
|
|
|
1e3e47 |
* Mon Sep 13 2021 zm627 <zheng.ma@intel.com> - 1.0.6-3
|
|
|
1e3e47 |
- Rebuild for qatzip v1.0.6
|
|
|
1e3e47 |
|
|
|
1e3e47 |
* Sun Sep 12 2021 zm627 <zheng.ma@intel.com> - 1.0.6-2
|
|
|
1e3e47 |
- Upload new qatzip source package and rebuild
|
|
|
1e3e47 |
|
|
|
1e3e47 |
* Sun Sep 12 2021 zm627 <zheng.ma@intel.com> - 1.0.6-1
|
|
|
1e3e47 |
- Update to latest qatlib and qatzip upstream release
|
|
|
1e3e47 |
|
|
|
1e3e47 |
* Sun Sep 12 2021 zm627 <zheng.ma@intel.com> - 1.0.5-3
|
|
|
1e3e47 |
- Add ExcludeArch ticket number
|
|
|
1e3e47 |
|
|
|
1e3e47 |
* Sun Sep 12 2021 zm627 <zheng.ma@intel.com> - 1.0.5-2
|
|
|
1e3e47 |
- Rebuilt for qatlib v21.08
|
|
|
1e3e47 |
|
|
|
1e3e47 |
* Tue Jul 13 2021 Ma Zheng <zheng.ma@intel.com> - 1.0.5-1
|
|
|
1e3e47 |
- Initial version of RPM Package
|