# This spec file is based on: # [1] https://github.com/PhantomX/chinforpms/blob/991712ffa984e7fa/lzlib/lzlib.spec Name: lzlib Version: 1.14 Release: 1%{?dist} Summary: A compression library for the lzip file format License: GPLv2+ URL: https://www.nongnu.org/lzip/lzlib.html Source0: https://download.savannah.gnu.org/releases/lzip/%{name}/%{name}-%{version}.tar.gz BuildRequires: gcc %description Lzlib is a data compression library providing in-memory LZMA compression and decompression functions, including integrity checking of the decompressed data. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 %build %configure \ --disable-static \ --enable-shared \ --disable-ldconfig \ CFLAGS+='%{build_cflags}' \ LDFLAGS='%{build_ldflags}' %make_build %install %make_install %files %license COPYING COPYING.GPL %doc AUTHORS ChangeLog NEWS README %{_libdir}/liblz.so.* %{_infodir}/%{name}.info* %exclude %{_infodir}/dir %files devel %{_includedir}/%{name}.h %{_libdir}/liblz.so %changelog * Sat Nov 02 2024 Ting-Wei Lan - 1.14-1 - Update to 1.14 * Wed Apr 19 2023 Ting-Wei Lan - 1.13-3 - Rebuilt for Fedora 38 and 39 * Sat Oct 29 2022 Ting-Wei Lan - 1.13-2 - Rebuilt for Fedora 37 and 38 * Thu Apr 28 2022 Ting-Wei Lan - 1.13-1 - Update to 1.13 * Sat Sep 25 2021 Ting-Wei Lan - 1.12-3 - Rebuilt for Fedora 35 and 36 * Sat Mar 13 2021 Ting-Wei Lan - 1.12-2 - Rebuilt for Fedora 34 and 35 * Mon Feb 15 2021 Ting-Wei Lan - 1.12-1 - Update to 1.12 * Sun Nov 1 2020 Ting-Wei Lan - 1.11-4 - Rebuilt for Fedora 33 and 34 * Sun Apr 26 2020 Ting-Wei Lan - 1.11-3 - Rebuilt for Fedora 32 and 33 - Don't use macros in URL * Wed Sep 18 2019 Ting-Wei Lan - 1.11-2 - Use HTTPS links - Use CFLAGS+= instead of CFLAGS= - Use exclude macro to drop info dir file - Don't use wildcards to specify the name of the library * Fri May 31 2019 Phantom X - 1.11-1 - Initial spec