diff --git a/qatzip.spec b/qatzip.spec index 5ce41a3d67dbe642ad72ee3617d0f6f6265e89c6..ddb88cdab8522185a3d5e515664722d56294ef13 100644 --- a/qatzip.spec +++ b/qatzip.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global githubname QATzip %global libqatzip_soversion 3 @@ -11,24 +11,30 @@ License: BSD URL: https://github.com/intel/%{githubname} Source0: https://github.com/intel/%{githubname}/archive/v%{version}.tar.gz -BuildRequires: gcc >= 4.8.5 -BuildRequires: zlib-devel >= 1.2.7 -BuildRequires: qatlib-devel >= 22.07.0 -BuildRequires: autoconf automake libtool make lz4-devel +BuildRequires: gcc >= 4.8.5 autoconf automake libtool make +BuildRequires: zlib-devel >= 1.2.7 lz4-devel qatlib-devel >= 22.07.0 + # The purpose of the package is to support hardware that only exists on x86_64 platforms -# https://bugzilla.redhat.com/show_bug.cgi?id=1987280 ExclusiveArch: x86_64 %description -QATzip is a user space library which builds on top of the Intel -QuickAssist Technology user space library, to provide extended -accelerated compression and decompression services by offloading the -actual compression and decompression request(s) to the Intel Chipset -Series. QATzip produces data using the standard gzip* format -(RFC1952) with extended headers. The data can be decompressed with a -compliant gzip* implementation. QATzip is designed to take full -advantage of the performance provided by Intel QuickAssist -Technology. +Intel QATzip is a software library designed to provide hardware-assisted +compression and decompression acceleration for data processing applications. +It works in conjunction with Intel QuickAssist Technology (QAT) hardware, +which is a specialized hardware accelerator for cryptographic and compression +workloads. QATzip supports a variety of compression algorithms, including GZIP, +DEFLATE, and LZ77. These algorithms can be used to reduce the size of data, +improve network and storage efficiency, and increase data transfer rates. +The library provides an API that enables developers to integrate the compression +and decompression features into their applications easily. QATzip is often used +in cloud computing, big data, and network applications that require fast data +processing, low latency, and efficient data transfer. For example, it can be used +to compress data before sending it over a network, reducing the bandwidth required +and improving the response time. It can also be used to compress data before storing +it, reducing the storage requirements and improving the retrieval time. In summary, +Intel QATzip is a powerful software library that provides hardware-accelerated +compression and decompression capabilities to improve the performance, efficiency, +and throughput of data processing applications. %package libs Summary: Libraries for the qatzip package @@ -47,7 +53,7 @@ applications that use the QATzip APIs. %package doc Summary: Documentation files for %{name} -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{EVR} BuildArch: noarch %description doc @@ -59,14 +65,14 @@ The %{name}-doc package contains documentation files for %{name}. %build %set_build_flags -autoreconf -vif +autoreconf -ivf ./configure \ + --enable-symbol \ + --prefix=%{_prefix} \ + --mandir=%{_mandir} \ --bindir=%{_bindir} \ - --libdir=%{_libdir} \ --includedir=%{_includedir} \ - --mandir=%{_mandir} \ - --prefix=%{_prefix} \ - --enable-symbol + --libdir=%{_libdir} %make_build @@ -76,7 +82,7 @@ rm %{buildroot}/%{_libdir}/libqatzip.a rm %{buildroot}/%{_libdir}/libqatzip.la rm -vf %{buildroot}%{_mandir}/*.pdf -# Check section is not available for these functional and performance tests require special hardware. +%generate_compatibility_deps %files %license LICENSE* @@ -84,17 +90,24 @@ rm -vf %{buildroot}%{_mandir}/*.pdf %{_bindir}/qzip %files libs +%dir %{abidir} %license LICENSE* %{_libdir}/libqatzip.so.%{libqatzip_soversion}* +%{abidir}/libqatzip.dump +%{abidir}/qzip-option.list %files devel -%doc docs/QATzip-man.pdf %{_includedir}/qatzip.h %{_libdir}/libqatzip.so +%doc docs/QATzip-man.pdf %files doc -%doc docs/QATzip-man.pdf README.md +%doc docs/QATzip-man.pdf +%doc README.md %changelog +* Mon Apr 10 2023 Xuchun Shang - 1.0.9-2 +- Update some defination + * Thu Oct 13 2022 happy_orange - 1.0.9-1 - Init pacakge from upstream