2006-12-15 19:42:32 +01:00
|
|
|
#
|
2006-12-20 20:33:59 +01:00
|
|
|
# spec file for package libzio (Version 0.4)
|
2006-12-15 19:42:32 +01:00
|
|
|
#
|
2007-03-24 12:21:38 +01:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-15 19:42:32 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: libzio
|
2007-03-29 00:48:39 +02:00
|
|
|
BuildRequires: libbz2-devel zlib-devel
|
2006-12-15 19:42:32 +01:00
|
|
|
License: GNU General Public License (GPL)
|
|
|
|
Group: System/Libraries
|
|
|
|
Autoreqprov: on
|
2006-12-20 20:33:59 +01:00
|
|
|
Version: 0.4
|
2007-03-29 00:48:39 +02:00
|
|
|
Release: 11
|
2006-12-15 19:42:32 +01:00
|
|
|
Summary: A Library for Accessing Compressed Text Files
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Source: libzio-%{version}.tar.bz2
|
2006-12-20 20:33:59 +01:00
|
|
|
#Patch: libzio-%{version}.dif
|
2006-12-15 19:42:32 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Libzio provides a wrapper function for reading or writing gzip or bzip2
|
|
|
|
files with FILE streams.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-29 00:48:39 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Werner Fink <werner@suse.de>
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: libzio development files
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: libzio = %{version}
|
|
|
|
Autoreqprov: on
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libzio development files
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-12-15 19:42:32 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Werner Fink <werner@suse.de>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
make
|
2006-12-20 20:33:59 +01:00
|
|
|
make testt
|
|
|
|
for comp in gzip bzip2; do
|
|
|
|
$comp -c < fzopen.3.in > fzopen.test
|
|
|
|
./testt fzopen.test | cmp fzopen.3.in -
|
|
|
|
done
|
2006-12-15 19:42:32 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install libdir=%{_libdir} mandir=%{_mandir}
|
|
|
|
|
|
|
|
%post
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-03-29 00:48:39 +02:00
|
|
|
%{_libdir}/libzio.so.0
|
|
|
|
%{_libdir}/libzio.so.0.4
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2006-12-15 19:42:32 +01:00
|
|
|
%doc README COPYING
|
|
|
|
%{_libdir}/libzio.a
|
|
|
|
%{_libdir}/libzio.so
|
|
|
|
%{_mandir}/man3/fzopen.3*
|
|
|
|
/usr/include/zio.h
|
|
|
|
|
2007-03-24 12:21:38 +01:00
|
|
|
%changelog
|
2007-03-29 00:48:39 +02:00
|
|
|
* Mon Mar 26 2007 - rguenther@suse.de
|
|
|
|
- Split off libzio-devel.
|
2007-03-24 12:21:38 +01:00
|
|
|
* Sat Mar 24 2007 - aj@suse.de
|
|
|
|
- Add libbz2-devel to BuildRequirs.
|
2006-12-20 20:33:59 +01:00
|
|
|
* Wed Dec 20 2006 - werner@suse.de
|
|
|
|
- Better weak symbol handling even for -ansi -pedantic
|
2006-12-15 19:42:32 +01:00
|
|
|
* Fri Dec 15 2006 - werner@suse.de
|
|
|
|
- Can not use sigmask() macro in ia64 because its definition is
|
|
|
|
for sigset_t array only but not for single ulong
|
|
|
|
* Tue Dec 12 2006 - werner@suse.de
|
|
|
|
- Add support for the old LZW (.Z) format
|
|
|
|
* Wed Jun 21 2006 - werner@suse.de
|
|
|
|
- Remove self provide
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Wed Apr 21 2004 - werner@suse.de
|
|
|
|
- Add missed _libdir usage
|
|
|
|
* Wed Apr 21 2004 - werner@suse.de
|
|
|
|
- Provide shared lib for linkage
|
|
|
|
* Wed Apr 21 2004 - werner@suse.de
|
|
|
|
- Add magic detection of standard unix compress
|
|
|
|
* Tue Apr 20 2004 - werner@suse.de
|
|
|
|
- Initial version 0.1 of libzio, the wrapper library to zlib/libbz2
|