Name: lz4 Version: 1.10.0 Release: 1 Summary: Extremely fast compression algorithm License: GPL-2.0-or-later AND BSD-2-Clause URL: https://lz4.org Source0: https://github.com/lz4/lz4/releases/download/v%{version}/%{name}-%{version}.tar.gz Provides: %{name}-libs = %{version}-%{release} Obsoletes: %{name}-libs < %{version} BuildRequires: gcc BuildRequires: make %description LZ4 is lossless compression algorithm, providing compression speed > 500 MB/s per core (>0.15 Bytes/cycle). It features an extremely fast decoder, with speed in multiple GB/s per core (~1 Byte/cycle). A high compression derivative, called LZ4_HC, is available, trading customizable CPU time for compression ratio. %package devel Summary: Development files for lz4 Requires: %{name}%{?_isa} = %{version}-%{release} Provides: %{name}-static = %{version}-%{release} Obsoletes: %{name}-static < %{version} %description devel This package contains the header(.h) and library(.so/.a) files required to build applications using liblz4 library. %package_help %prep %autosetup -n %{name}-%{version} -p1 cp lib/LICENSE LICENSE-lib %build %set_build_flags %make_build %install %make_install LIBDIR=%{_libdir} PREFIX=%{_prefix} %check %set_build_flags %make_build test %files %license programs/COPYING %doc NEWS %license LICENSE %license LICENSE-lib %{_bindir}/* %{_libdir}/liblz4.so.* %files devel %license lib/LICENSE %{_includedir}/lz4*.h %{_libdir}/liblz4.so %{_libdir}/liblz4.a %{_libdir}/pkgconfig/liblz4.pc %files help %{_mandir}/man?/* %changelog * Wed Jul 24 2024 Funda Wang - 1.10.0-1 - update to 1.10.0 * Thu Feb 16 2023 zhangnan - 1.9.4-2 - add make check in spec * Thu Jan 19 2023 Lv Ying - 1.9.4-1 - upgrade to 1.9.4-1 * Mon Jun 20 2022 renhongxun - 1.9.3-4 - add _FORTIFY_SOURCE add enable check * Fri Jul 30 2021 chenyanpanHW - 1.9.3-3 - DESC: delete -Sgit from %autosetup, and delete BuildRequires git * Sat Jun 19 2021 shixuantong - 1.9.3-2 - fix CVE-2021-3520 * Thu Jan 28 2021 liudabo - 1.9.3-1 - upgrade version to 1.9.3 * Mon Dec 23 2019 openEuler Buildteam - 1.9.2-2 - fix abort in oss-fuzz round_trip_stream_fuzzer.c * Tue Aug 27 2019 openEuler Buildteam - 1.9.2-1 - Package init