From f13d872b2be0107f064cc13495fb0be8e5217652 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 18 Oct 2024 22:58:44 +0200 Subject: [PATCH] automatic version update by autodist [release 1.10.0-1mamba;Thu Oct 17 2024] --- lz4.spec | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/lz4.spec b/lz4.spec index 100d2e1..c2914a5 100644 --- a/lz4.spec +++ b/lz4.spec @@ -1,13 +1,12 @@ Name: lz4 -Version: 1.9.4 +Version: 1.10.0 Release: 1mamba Summary: Extremely Fast Compression algorithm Group: Applications/Archiving Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://lz4.github.io/lz4/ -## GITSOURCE https://github.com/lz4/lz4.git v1.8.0 +URL: https://lz4.org/ Source: https://github.com/lz4/lz4.git/v%{version}/lz4-%{version}.tar.bz2 License: BSD, GPL ## AUTOBUILDREQ-BEGIN @@ -27,10 +26,9 @@ 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} @@ -39,30 +37,27 @@ 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 -%make \ - PREFIX=%{_prefix} \ - LIBDIR=%{_libdir} \ - MANDIR=%{_mandir} +cd build/meson +%meson \ + -Dcontrib=true \ + -Dexamples=true \ + -Dprograms=true + +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall \ - PREFIX=%{_prefix} \ - LIBDIR=%{_libdir} \ - MANDIR=%{_mandir} +%meson_install -C build/meson/build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%post -n lib%{name} -p /sbin/ldconfig -%postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) @@ -74,24 +69,25 @@ This package contains libraries and header files for developing applications tha %{_mandir}/man1/lz4c.1* %{_mandir}/man1/lz4cat.1* %{_mandir}/man1/unlz4.1* -%doc LICENSE %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}/lz4frame_static.h %{_includedir}/lz4hc.h -%{_libdir}/liblz4.a %{_libdir}/liblz4.so %{_libdir}/pkgconfig/liblz4.pc -#%doc NEWS README.md +%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