Name: lz4 Version: 1.10.0 Release: 1mamba Summary: Extremely Fast Compression algorithm Group: Applications/Archiving Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://lz4.org/ Source: https://github.com/lz4/lz4.git/v%{version}/lz4-%{version}.tar.bz2 License: BSD, GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description LZ4 is lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU. It features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems. Speed can be tuned dynamically, selecting an "acceleration" factor which trades compression ratio for more speed up. On the other end, a high compression derivative, LZ4_HC, is also provided, trading CPU time for improved compression ratio. All versions feature the same decompression speed. LZ4 library is provided as open-source software using BSD 2-Clause license. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. LZ4 is lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU. It features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems. Speed can be tuned dynamically, selecting an "acceleration" factor which trades compression ratio for more speed up. On the other end, a high compression derivative, LZ4_HC, is also provided, trading CPU time for improved compression ratio. All versions feature the same decompression speed. LZ4 library is provided as open-source software using BSD 2-Clause license. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q %build cd build/meson %meson \ -Dcontrib=true \ -Dexamples=true \ -Dprograms=true %meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %meson_install -C build/meson/build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/lz4 %{_bindir}/lz4c %{_bindir}/lz4cat %{_bindir}/unlz4 %{_mandir}/man1/lz4.1* %{_mandir}/man1/lz4c.1* %{_mandir}/man1/lz4cat.1* %{_mandir}/man1/unlz4.1* %files -n lib%{name} %defattr(-,root,root) %{_libdir}/liblz4.so.* %doc LICENSE %files -n lib%{name}-devel %defattr(-,root,root) %{_includedir}/lz4.h %{_includedir}/lz4frame.h %{_includedir}/lz4hc.h %{_libdir}/liblz4.so %{_libdir}/pkgconfig/liblz4.pc %doc NEWS README.md %changelog * Thu Oct 17 2024 Automatic Build System 1.10.0-1mamba - automatic version update by autodist * Tue Aug 16 2022 Automatic Build System 1.9.4-1mamba - automatic version update by autodist * Fri Dec 11 2020 Automatic Build System 1.9.3-1mamba - automatic version update by autodist * Mon Sep 16 2019 Automatic Build System 1.9.2-1mamba - automatic version update by autodist * Thu Apr 25 2019 Automatic Build System 1.9.1-1mamba - automatic version update by autodist * Sun Apr 21 2019 Automatic Build System 1.9.0-1mamba - automatic version update by autodist * Thu Sep 20 2018 Automatic Build System 1.8.3-1mamba - automatic version update by autodist * Tue Jun 05 2018 Automatic Build System 1.8.2-1mamba - automatic version update by autodist * Sat Feb 10 2018 Automatic Build System 1.8.1.2-1mamba - automatic version update by autodist * Sun Nov 19 2017 Silvan Calarco 1.8.0-1mamba - package created using the webbuild interface