代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/lz4 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: lz4
Version: 1.9.3
Release: 1
Summary: Extremely fast compression algorithm
License: GPLv2+ and BSD
URL: https://lz4.github.io/lz4/
Source0: https://github.com/lz4/lz4/archive/v%{version}/%{name}-%{version}.tar.gz
Patch6000: Fix-Data-Corruption-Bug-when-Streaming-with-an-Attac.patch
Provides: %{name}-libs = %{version}-%{release}
Obsoletes: %{name} < 1.7.5-3
Obsoletes: %{name}-libs
BuildRequires: gcc git
%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
%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 -Sgit
cp %{_builddir}/%{name}-%{version}/lib/LICENSE %{_builddir}/%{name}-%{version}/LICENSE-lib
%build
export MOREFLAGS="-g"
%make_build
%install
%make_install LIBDIR=%{_libdir} PREFIX=%{_prefix}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license programs/COPYING
%doc NEWS
%license LICENSE
%license LICENSE-lib
%{_bindir}/lz4*
%{_bindir}/unlz4
%{_libdir}/liblz4.so.*
%files devel
%license lib/LICENSE
%{_includedir}/lz4*.h
%{_libdir}/liblz4.so
%{_libdir}/liblz4.a
%{_libdir}/pkgconfig/liblz4.pc
%files help
%{_mandir}/man1/lz4*
%{_mandir}/man1/unlz4.1*
%changelog
* Thu Jan 28 2021 liudabo <liudabo1@huawei.com> - 1.9.3-1
- upgrade version to 1.9.3
* Mon Dec 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9.2-2
- fix abort in oss-fuzz round_trip_stream_fuzzer.c
* Tue Aug 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9.2-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。