Compare commits

...

2 Commits

Author SHA256 Message Date
45c107641f use cmake 2024-08-14 21:58:17 +02:00
e0d13e3387 lz4 1.10.0 2024-07-25 04:49:25 +02:00
4 changed files with 28 additions and 8 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Aug 14 16:09:45 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Switch to cmake build system: Creates extra cmake modules for
consuming projects
-------------------------------------------------------------------
Mon Jul 22 11:45:03 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.10.0
* Support for multithreading
* Full support for dictionary compression
* New compression level 2
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 8 09:55:21 UTC 2023 - Martin Pluskal <mpluskal@suse.com> Wed Mar 8 09:55:21 UTC 2023 - Martin Pluskal <mpluskal@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package lz4 # spec file for package lz4
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define lname liblz4-1 %define lname liblz4-1
Name: lz4 Name: lz4
Version: 1.9.4 Version: 1.10.0
Release: 0 Release: 0
Summary: Hash-based Predictive LempelZiv compressor Summary: Hash-based Predictive LempelZiv compressor
License: BSD-2-Clause AND GPL-2.0-or-later License: BSD-2-Clause AND GPL-2.0-or-later
@ -30,6 +30,8 @@ Source: https://github.com/lz4/lz4/archive/v%version.tar.gz
Source99: baselibs.conf Source99: baselibs.conf
Patch2: lz-export.diff Patch2: lz-export.diff
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: cmake
BuildRequires: fdupes
%{?suse_build_hwcaps_libs} %{?suse_build_hwcaps_libs}
%description %description
@ -71,11 +73,14 @@ applications that want to make use of liblz4.
%autosetup -p1 %autosetup -p1
%build %build
V=1 %make_build CFLAGS="%optflags" %define __sourcedir build/cmake
%cmake \
-DBUILD_STATIC_LIBS:BOOL=OFF
%cmake_build
%install %install
%make_install PREFIX="%_prefix" LIBDIR="%_libdir" %cmake_install
rm -f "%buildroot/%_libdir"/*.a %fdupes %{buildroot}/%{_mandir}
%check %check
LD_LIBRARY_PATH="%buildroot/%_libdir" ldd -r "%buildroot/%_bindir/lz4" LD_LIBRARY_PATH="%buildroot/%_libdir" ldd -r "%buildroot/%_bindir/lz4"
@ -97,5 +102,6 @@ LD_LIBRARY_PATH="%buildroot/%_libdir" ldd -r "%buildroot/%_bindir/lz4"
%_includedir/lz4*.h %_includedir/lz4*.h
%_libdir/liblz4.so %_libdir/liblz4.so
%_libdir/pkgconfig/*.pc %_libdir/pkgconfig/*.pc
%_libdir/cmake/lz4
%changelog %changelog

BIN
v1.10.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
v1.9.4.tar.gz (Stored with Git LFS)

Binary file not shown.