From fde5bf15aef1f12edc5efbd648c8ea25fff4bff0336291fc3406df15c1256c12 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 24 Sep 2008 15:10:18 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libzio?expand=0&rev=11 --- libzio-0.8.tar.bz2 | 3 --- libzio-0.9.tar.bz2 | 3 +++ libzio.changes | 5 +++++ libzio.spec | 36 ++++++++++++++++++++++++++++-------- 4 files changed, 36 insertions(+), 11 deletions(-) delete mode 100644 libzio-0.8.tar.bz2 create mode 100644 libzio-0.9.tar.bz2 diff --git a/libzio-0.8.tar.bz2 b/libzio-0.8.tar.bz2 deleted file mode 100644 index 6ef7aac..0000000 --- a/libzio-0.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fbbab92f8200ea416b350b2045eba47f79e6912c528fded3a4f94503cfb5e0a6 -size 17294 diff --git a/libzio-0.9.tar.bz2 b/libzio-0.9.tar.bz2 new file mode 100644 index 0000000..52c4443 --- /dev/null +++ b/libzio-0.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c80e4ab5f128e549bedad7519a2482ed83438e0179ec2a37d4af3ecd464044ab +size 17813 diff --git a/libzio.changes b/libzio.changes index 5a94f56..46c1791 100644 --- a/libzio.changes +++ b/libzio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 24 14:10:08 CEST 2008 - werner@suse.de + +- Add support for lzma using liblzmadec + ------------------------------------------------------------------- Mon Jul 21 13:46:39 CEST 2008 - werner@suse.de diff --git a/libzio.spec b/libzio.spec index 236ce8a..20995bc 100644 --- a/libzio.spec +++ b/libzio.spec @@ -1,10 +1,17 @@ # -# spec file for package libzio (Version 0.8) +# spec file for package libzio (Version 0.9) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ # @@ -16,11 +23,14 @@ BuildRequires: zlib-devel %if %suse_version > 1020 BuildRequires: libbz2-devel %endif +%if %suse_version > 1030 +BuildRequires: lzma lzma-devel +%endif License: GPL v2 or later Group: System/Libraries AutoReqProv: on -Version: 0.8 -Release: 2 +Version: 0.9 +Release: 1 Summary: A Library for Accessing Compressed Text Files BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: libzio-%{version}.tar.bz2 @@ -44,7 +54,8 @@ Requires: libzio = %{version} AutoReqProv: on %description devel -Libzio development files +Libzio development files including zio.h, the manual page fzopen(3), +and static library. @@ -58,12 +69,19 @@ Authors: %build make + +%check make testt make tests -for comp in gzip bzip2; do +%if %suse_version > 1030 +for comp in gzip bzip2 lzma +%else +for comp in gzip bzip2 +%endif +do $comp -c < fzopen.3.in > fzopen.test ./testt fzopen.test | cmp fzopen.3.in - - cat fzopen.test | ./testt fzopen.test $comp | cmp fzopen.3.in - + cat fzopen.test | ./tests ${comp:0:1} | cmp fzopen.3.in - done %install @@ -89,6 +107,8 @@ make DESTDIR=$RPM_BUILD_ROOT install libdir=%{_libdir} mandir=%{_mandir} /usr/include/zio.h %changelog +* Wed Sep 24 2008 werner@suse.de +- Add support for lzma using liblzmadec * Mon Jul 21 2008 werner@suse.de - Make it build * Thu Jul 17 2008 werner@suse.de