SHA256
3
0
forked from pool/libzio
Dr. Werner Fink 2021-06-09 07:36:07 +00:00 committed by Git OBS Bridge
parent fe25289ccf
commit e23365dc62
4 changed files with 29 additions and 12 deletions

View File

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

BIN
libzio-1.08.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Jun 9 07:24:43 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Version 1.08: Fix bug triggered by short files
-------------------------------------------------------------------
Tue Jun 8 13:43:13 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Version 1.07: Add support for zstd at least for write and read
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 2 06:50:26 UTC 2019 - Martin Liška <mliska@suse.cz> Fri Aug 2 06:50:26 UTC 2019 - Martin Liška <mliska@suse.cz>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libzio # spec file for package libzio
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 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,17 +18,19 @@
Name: libzio Name: libzio
%define lname libzio1 %define lname libzio1
Version: 1.06 Version: 1.08
Release: 0 Release: 0
Summary: A Library for Accessing Compressed Text Files Summary: A Library for Accessing Compressed Text Files
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: System/Libraries Group: System/Libraries
Url: http://libzio.sourceforge.net/ URL: http://libzio.sourceforge.net/
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.bz2 Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.bz2
Source1: baselibs.conf Source1: baselibs.conf
BuildRequires: libbz2-devel BuildRequires: libbz2-devel
BuildRequires: libzstd-devel
BuildRequires: xz-devel BuildRequires: xz-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: zstd
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -63,15 +65,20 @@ and static library.
make %{?_smp_mflags} noweak make %{?_smp_mflags} noweak
%check %check
make testt make testt tests testx
make tests for comp in gzip bzip2 lzma xz zstd
make testx
for comp in gzip bzip2 lzma xz
do do
case $comp in
gzip) x=g ;;
bzip2) x=b ;;
lzma) x=l ;;
xz) x=x ;;
zstd) x=s ;;
esac
$comp -c < fzopen.3.in > fzopen.test $comp -c < fzopen.3.in > fzopen.test
./testt fzopen.test | cmp fzopen.3.in - ./testt fzopen.test | cmp fzopen.3.in -
cat fzopen.test | ./tests ${comp:0:1} | cmp fzopen.3.in - cat fzopen.test | ./tests $x | cmp fzopen.3.in -
./testx ${comp:0:1} < fzopen.3.in | ./tests ${comp:0:1} | cmp fzopen.3.in - ./testx $x < fzopen.3.in | ./tests $x | cmp fzopen.3.in -
done done
%install %install