forked from pool/libzio
This commit is contained in:
parent
a205878def
commit
fde5bf15ae
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fbbab92f8200ea416b350b2045eba47f79e6912c528fded3a4f94503cfb5e0a6
|
||||
size 17294
|
3
libzio-0.9.tar.bz2
Normal file
3
libzio-0.9.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c80e4ab5f128e549bedad7519a2482ed83438e0179ec2a37d4af3ecd464044ab
|
||||
size 17813
|
@ -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
|
||||
|
||||
|
36
libzio.spec
36
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
|
||||
|
Loading…
Reference in New Issue
Block a user