SHA256
1
0
forked from pool/lzlib

Accepting request 672076 from Archiving

- Move to final release 1.11

OBS-URL: https://build.opensuse.org/request/show/672076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lzlib?expand=0&rev=10
This commit is contained in:
Stephan Kulow 2019-02-08 11:10:37 +00:00 committed by Git OBS Bridge
commit ac071ddfba
5 changed files with 50 additions and 32 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d6ab7800a5b43e56fd20607fd2cfda9e550350dc95f5beb6a4ce14f85b41043
size 103328

Binary file not shown.

3
lzlib-1.11.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c5c5f8759d1ab7c4c3c53788ea2d9daad04aeddcf338226893f8ff134914d36
size 105873

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Wed Feb 6 09:25:28 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Move to final release 1.11
* No visible changes
-------------------------------------------------------------------
Wed Feb 6 09:23:43 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update License field as per SR 658030 review
-------------------------------------------------------------------
Fri Dec 14 11:42:47 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 1.11~rc2
* In case of decompression error caused by corrupt or truncated data,
LZ_decompress_read now does not signal the error immediately
to the application, but waits until all decoded bytes have
been read. This allows tools like tarlz to recover as much
data as possible from damaged members.
-------------------------------------------------------------------
Sun Feb 18 21:41:57 UTC 2018 - avindra@opensuse.org

View File

@ -1,8 +1,7 @@
# vim: set ts=4 sw=4 et:
#
# spec file for package lzlib
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@ -14,20 +13,21 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define lname liblz1
Name: lzlib
Version: 1.10
Version: 1.11
Release: 0
%define lname liblz1
%define xversion 1.11
Summary: LZMA Compression and Decompression Library
License: BSD-2-Clause
License: BSD-2-Clause AND GPL-2.0-or-later
Group: Development/Libraries/C and C++
Url: https://www.nongnu.org/lzip/lzlib.html
Source: https://download.savannah.gnu.org/releases/lzip/lzlib/%name-%version.tar.gz
Source2: https://download.savannah.gnu.org/releases/lzip/lzlib/%name-%version.tar.gz.sig
URL: https://www.nongnu.org/lzip/lzlib.html
Source: https://download.savannah.gnu.org/releases/lzip/lzlib/%name-%xversion.tar.gz
#Source2: https://download.savannah.gnu.org/releases/lzip/lzlib/%name-%version.tar.gz.sig
Source3: %name.keyring
PreReq: %install_info_prereq
@ -64,35 +64,32 @@ This subpackage contains libraries and header files for developing
applications that want to make use of libcerror.
%prep
%setup -q
%autosetup -n %name-%xversion
%build
# not autoconf!
# don't use the configure macro here, as it will cause the configure script to
# skip parameters as soon as it encounters one that it doesn't understand
./configure \
--prefix="%{_prefix}" \
--bindir="%{_bindir}" \
--datadir="%{_datadir}" \
--includedir="%{_includedir}" \
--infodir="%{_infodir}" \
--libdir="%{_libdir}" \
--mandir="%{_mandir}" \
--sysconfdir="%{_sysconfdir}" \
--enable-shared \
CXX="g++" \
CPPFLAGS="%{optflags}" \
CXXFLAGS="%{optflags}"
mkdir build
pushd build/
../configure --prefix="%_prefix" --bindir="%_bindir" --datadir="%_datadir" \
--includedir="%_includedir" --infodir="%_infodir" --libdir="%_libdir" \
--mandir="%_mandir" --sysconfdir="%_sysconfdir" --enable-shared \
CC="%__cc" CFLAGS="%optflags" CXX="%__cxx" CXXFLAGS="%optflags"
make %{?_smp_mflags}
popd
%install
%make_install LDCONFIG=echo
pushd build/
%make_install LDCONFIG=true
popd
# configure had no --disable-static
rm -f "%buildroot/%_libdir"/*.a
%check
pushd build/
make %{?_smp_mflags} check
popd
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
@ -105,11 +102,11 @@ make %{?_smp_mflags} check
%files -n %lname
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/liblz.so.*
%_libdir/liblz.so.*
%files devel
%{_includedir}/lzlib.h
%{_libdir}/liblz.so
%{_infodir}/lzlib.info%{ext_info}
%_includedir/lzlib.h
%_libdir/liblz.so
%_infodir/lzlib.info*
%changelog