|
|
79de4a |
Name: lz4
|
|
|
c225d6 |
Version: 1.8.3
|
|
|
5fc855 |
Release: 3%{?dist}
|
|
|
79de4a |
Summary: Extremely fast compression algorithm
|
|
|
79de4a |
|
|
|
79de4a |
License: GPLv2+ and BSD
|
|
|
79de4a |
URL: https://lz4.github.io/lz4/
|
|
|
79de4a |
Source0: https://github.com/Cyan4973/lz4/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
79de4a |
|
|
|
79de4a |
Obsoletes: %{name} < 1.7.5-3
|
|
|
79de4a |
|
|
|
5fc855 |
Patch1: lz4-cve-2021-3520.patch
|
|
|
5fc855 |
|
|
|
79de4a |
%description
|
|
|
79de4a |
LZ4 is an extremely fast loss-less compression algorithm, providing compression
|
|
|
79de4a |
speed at 400 MB/s per core, scalable with multi-core CPU. It also features
|
|
|
79de4a |
an extremely fast decoder, with speed in multiple GB/s per core, typically
|
|
|
79de4a |
reaching RAM speed limits on multi-core systems.
|
|
|
79de4a |
|
|
|
79de4a |
%package libs
|
|
|
79de4a |
Summary: Libaries for lz4
|
|
|
79de4a |
Obsoletes: %{name} < 1.7.5-3
|
|
|
79de4a |
|
|
|
79de4a |
%description libs
|
|
|
79de4a |
This package contains the libaries for lz4.
|
|
|
79de4a |
|
|
|
79de4a |
%package devel
|
|
|
79de4a |
Summary: Development files for lz4
|
|
|
79de4a |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
79de4a |
|
|
|
79de4a |
%description devel
|
|
|
79de4a |
This package contains the header(.h) and library(.so) files required to build
|
|
|
79de4a |
applications using liblz4 library.
|
|
|
79de4a |
|
|
|
79de4a |
%package static
|
|
|
79de4a |
Summary: Static library for lz4
|
|
|
79de4a |
|
|
|
79de4a |
%description static
|
|
|
79de4a |
LZ4 is an extremely fast loss-less compression algorithm. This package
|
|
|
79de4a |
contains static libraries for static linking of applications.
|
|
|
79de4a |
|
|
|
79de4a |
%prep
|
|
|
5fc855 |
%autosetup -p1
|
|
|
79de4a |
echo '#!/bin/sh' > ./configure
|
|
|
79de4a |
chmod +x ./configure
|
|
|
79de4a |
|
|
|
79de4a |
%build
|
|
|
79de4a |
%configure
|
|
|
79de4a |
%make_build
|
|
|
79de4a |
|
|
|
79de4a |
%install
|
|
|
79de4a |
%configure
|
|
|
79de4a |
# Someone thinks that plain Makefiles are good for bigger projects than hello world..
|
|
|
79de4a |
%make_install LIBDIR=%{_libdir} PREFIX=%{_prefix}
|
|
|
79de4a |
|
|
|
79de4a |
%ldconfig_scriptlets libs
|
|
|
79de4a |
|
|
|
79de4a |
%files
|
|
|
79de4a |
%license programs/COPYING
|
|
|
79de4a |
%doc NEWS
|
|
|
79de4a |
%{_bindir}/lz4
|
|
|
79de4a |
%{_bindir}/lz4c
|
|
|
79de4a |
%{_bindir}/lz4cat
|
|
|
79de4a |
%{_bindir}/unlz4
|
|
|
79de4a |
%{_mandir}/man1/lz4.1*
|
|
|
79de4a |
%{_mandir}/man1/lz4c.1*
|
|
|
79de4a |
%{_mandir}/man1/lz4cat.1*
|
|
|
79de4a |
%{_mandir}/man1/unlz4.1*
|
|
|
79de4a |
|
|
|
79de4a |
%files libs
|
|
|
79de4a |
%doc lib/LICENSE
|
|
|
79de4a |
%{_libdir}/liblz4.so.*
|
|
|
79de4a |
|
|
|
79de4a |
%files devel
|
|
|
79de4a |
%{_includedir}/lz4*.h
|
|
|
79de4a |
%{_libdir}/liblz4.so
|
|
|
79de4a |
%{_libdir}/pkgconfig/liblz4.pc
|
|
|
79de4a |
|
|
|
79de4a |
%files static
|
|
|
79de4a |
%doc lib/LICENSE
|
|
|
79de4a |
%{_libdir}/liblz4.a
|
|
|
79de4a |
|
|
|
79de4a |
%changelog
|
|
|
5fc855 |
* Fri May 07 2021 Jakub Martisko <jamartis@redhat.com> - 1.8.3-3
|
|
|
5fc855 |
- Fix memory corruption due to an integer overflow
|
|
|
5fc855 |
_ Resolves: CVE-2021-3520
|
|
|
5fc855 |
|
|
|
c225d6 |
* Tue May 26 2020 Jakub Martisko <jamartis@redhat.com> - 1.8.3-2
|
|
|
c225d6 |
- Rebuilding with the new gating tests
|
|
|
c225d6 |
- Related: 1840046
|
|
|
c225d6 |
|
|
|
c225d6 |
* Mon Apr 06 2020 Jakub Martisko <jamartis@redhat.com> - 1.8.3-1
|
|
|
c225d6 |
- Rebase to 1.8.3
|
|
|
c225d6 |
- Resolves: #1821237
|
|
|
c225d6 |
|
|
|
79de4a |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.1.2-4
|
|
|
79de4a |
- Escape macros in %%changelog
|
|
|
79de4a |
|
|
|
79de4a |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1.2-3
|
|
|
79de4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
79de4a |
|
|
|
79de4a |
* Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.1.2-2
|
|
|
79de4a |
- Switch to %%ldconfig_scriptlets
|
|
|
79de4a |
|
|
|
79de4a |
* Mon Jan 15 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.1.2-1
|
|
|
79de4a |
- Update to 1.8.1.2
|
|
|
79de4a |
|
|
|
79de4a |
* Sat Aug 19 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.0-1
|
|
|
79de4a |
- Update to 1.8.0
|
|
|
79de4a |
|
|
|
79de4a |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.5-6
|
|
|
79de4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
79de4a |
|
|
|
79de4a |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.5-5
|
|
|
79de4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
79de4a |
|
|
|
79de4a |
* Sat Jul 08 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.7.5-4
|
|
|
79de4a |
- Split libs properly for multilib
|
|
|
79de4a |
|
|
|
79de4a |
* Sat Mar 4 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.7.5-3
|
|
|
79de4a |
- Split libs out to a sub package
|
|
|
79de4a |
|
|
|
79de4a |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.5-2
|
|
|
79de4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
79de4a |
|
|
|
79de4a |
* Thu Jan 05 2017 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.5-1
|
|
|
79de4a |
- Update to 1.7.5
|
|
|
79de4a |
|
|
|
79de4a |
* Fri Nov 25 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.4.2-1
|
|
|
79de4a |
- Update to 1.7.4.2 (RHBZ #1397373)
|
|
|
79de4a |
|
|
|
79de4a |
* Sat Nov 19 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.3-1
|
|
|
79de4a |
- Update to 1.7.3 (RHBZ #1395458)
|
|
|
79de4a |
|
|
|
79de4a |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - r131-2
|
|
|
79de4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
79de4a |
|
|
|
79de4a |
* Mon Jul 06 2015 pjp <pjp@fedoraproject.org> - r131-1
|
|
|
79de4a |
- New: Dos/DJGPP target #114.
|
|
|
79de4a |
- Added: Example using lz4frame library #118.
|
|
|
79de4a |
- Changed: liblz4.a no longer compiled with -fPIC by default.
|
|
|
79de4a |
|
|
|
79de4a |
* Thu Jun 18 2015 pjp <pjp@fedoraproject.org> - r130-1
|
|
|
79de4a |
- Fixed: incompatibility sparse mode vs console.
|
|
|
79de4a |
- Fixed: LZ4IO exits too early when frame crc not present.
|
|
|
79de4a |
- Fixed: incompatibility sparse mode vs append mode.
|
|
|
79de4a |
- Performance fix: big compression speed boost for clang(+30%%).
|
|
|
79de4a |
|
|
|
79de4a |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - r129-2
|
|
|
79de4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
79de4a |
|
|
|
79de4a |
* Wed May 27 2015 pjp <pjp@fedoraproject.org> - r129-1
|
|
|
79de4a |
- New LZ4_compress_fast() API.
|
|
|
79de4a |
- New LZ4 CLI improved performance with multiple files.
|
|
|
79de4a |
- Other bug fix and documentation updates.
|
|
|
79de4a |
|
|
|
79de4a |
* Mon Apr 06 2015 pjp <pjp@fedoraproject.org> - r128-2
|
|
|
79de4a |
- Update files section to install unlz4 & its manual
|
|
|
79de4a |
|
|
|
79de4a |
* Wed Apr 01 2015 pjp <pjp@fedoraproject.org> - r128-1
|
|
|
79de4a |
- lz4cli sparse file support
|
|
|
79de4a |
- Restored lz4hc compression ratio
|
|
|
79de4a |
- lz4 cli supports long commands
|
|
|
79de4a |
- Introduced lz4-static sub package BZ#1208203
|
|
|
79de4a |
|
|
|
79de4a |
* Thu Jan 08 2015 pjp <pjp@fedoraproject.org> - r127-2
|
|
|
79de4a |
- Bump dist to override an earlier build.
|
|
|
79de4a |
|
|
|
79de4a |
* Wed Jan 07 2015 pjp <pjp@fedoraproject.org> - r127-1
|
|
|
79de4a |
- Fixed a bug in LZ4 HC streaming mode
|
|
|
79de4a |
- New lz4frame API integrated into liblz4
|
|
|
79de4a |
- Fixed a GCC 4.9 bug on highest performance settings
|
|
|
79de4a |
|
|
|
79de4a |
* Thu Nov 13 2014 pjp <pjp@fedoraproject.org> - r124-1
|
|
|
79de4a |
- New LZ4 HC Streaming mode
|
|
|
79de4a |
|
|
|
79de4a |
* Tue Sep 30 2014 pjp <pjp@fedoraproject.org> - r123-1
|
|
|
79de4a |
- Added experimental lz4frame API.
|
|
|
79de4a |
- Fix s390x support.
|
|
|
79de4a |
|
|
|
79de4a |
* Sat Aug 30 2014 pjp <pjp@fedoraproject.org> - r122-1
|
|
|
79de4a |
- new release
|
|
|
79de4a |
- Fixed AIX & AIX64 support (SamG)
|
|
|
79de4a |
- Fixed mips 64-bits support (lew van)
|
|
|
79de4a |
|
|
|
79de4a |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - r121-3
|
|
|
79de4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
79de4a |
|
|
|
79de4a |
* Fri Aug 08 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> - r121-2
|
|
|
79de4a |
- fix destdir
|
|
|
79de4a |
|
|
|
79de4a |
* Fri Aug 08 2014 pjp <pjp@fedoraproject.org> - r121-1
|
|
|
79de4a |
- new release
|
|
|
79de4a |
- Added a pkg-config file.
|
|
|
79de4a |
- Fixed a LZ4 streaming crash bug.
|
|
|
79de4a |
|
|
|
79de4a |
* Thu Jul 03 2014 pjp <pjp@fedoraproject.org> - r119-1
|
|
|
79de4a |
- new release
|
|
|
79de4a |
- Fixed a high Address allocation issue in 32-bits mode.
|
|
|
79de4a |
|
|
|
79de4a |
* Sat Jun 28 2014 pjp <pjp@fedoraproject.org> - r118-1
|
|
|
79de4a |
- new release
|
|
|
79de4a |
- install libraries under appropriate _libdir directories.
|
|
|
79de4a |
|
|
|
79de4a |
* Sat Jun 14 2014 pjp <pjp@fedoraproject.org> - r117-3
|
|
|
79de4a |
- Move shared library object to -devel package.
|
|
|
79de4a |
|
|
|
79de4a |
* Sat Jun 07 2014 pjp <pjp@fedoraproject.org> - r117-2
|
|
|
79de4a |
- Skip static library from installation.
|
|
|
79de4a |
|
|
|
79de4a |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - r117-2
|
|
|
79de4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
79de4a |
|
|
|
79de4a |
* Fri Jun 06 2014 pjp <pjp@fedoraproject.org> - r117-1
|
|
|
79de4a |
- new release
|
|
|
79de4a |
- added lz4c & lz4cat manual pages.
|
|
|
79de4a |
|
|
|
79de4a |
* Sun Apr 13 2014 pjp <pjp@fedoraproject.org> - r116-1
|
|
|
79de4a |
- new release 116
|
|
|
79de4a |
- added lz4cat utility for posix systems
|
|
|
79de4a |
|
|
|
79de4a |
* Sat Mar 15 2014 pjp <pjp@fedoraproject.org> - r114-1
|
|
|
79de4a |
- new release r114
|
|
|
79de4a |
- added RPM_OPT_FLAGS to CFLAGS
|
|
|
79de4a |
- introduced a devel package to build liblz4
|
|
|
79de4a |
|
|
|
79de4a |
* Thu Jan 02 2014 pjp <pjp@fedoraproject.org> - r110-1
|
|
|
79de4a |
- new release r110
|
|
|
79de4a |
|
|
|
79de4a |
* Sun Nov 10 2013 pjp <pjp@fedoraproject.org> - r108-1
|
|
|
79de4a |
- new release r108
|
|
|
79de4a |
|
|
|
79de4a |
* Wed Oct 23 2013 pjp <pjp@fedoraproject.org> - r107-1
|
|
|
79de4a |
- new release r107
|
|
|
79de4a |
|
|
|
79de4a |
* Mon Oct 07 2013 pjp <pjp@fedoraproject.org> - r106-3
|
|
|
79de4a |
- fixed install section to replace /usr/ with a macro.
|
|
|
79de4a |
-> https://bugzilla.redhat.com/show_bug.cgi?id=1015263#c5
|
|
|
79de4a |
|
|
|
79de4a |
* Sat Oct 05 2013 pjp <pjp@fedoraproject.org> - r106-2
|
|
|
79de4a |
- fixed install section above as suggested in the review.
|
|
|
79de4a |
-> https://bugzilla.redhat.com/show_bug.cgi?id=1015263#c1
|
|
|
79de4a |
|
|
|
79de4a |
* Sun Sep 22 2013 pjp <pjp@fedoraproject.org> - r106-1
|
|
|
79de4a |
- Initial RPM release of lz4-r106
|