libzio/libzio.spec

85 lines
2.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libzio (Version 0.4)
#
# Copyright (c) 2006 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.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libzio
License: GNU General Public License (GPL)
Group: System/Libraries
Autoreqprov: on
Version: 0.4
Release: 1
Summary: A Library for Accessing Compressed Text Files
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: libzio-%{version}.tar.bz2
#Patch: libzio-%{version}.dif
%description
Libzio provides a wrapper function for reading or writing gzip or bzip2
files with FILE streams.
Authors:
--------
Werner Fink <werner@suse.de>
%prep
%setup -q
#%patch
%build
make
make testt
for comp in gzip bzip2; do
$comp -c < fzopen.3.in > fzopen.test
./testt fzopen.test | cmp fzopen.3.in -
done
%install
make DESTDIR=$RPM_BUILD_ROOT install libdir=%{_libdir} mandir=%{_mandir}
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr(-,root,root)
%doc README COPYING
%{_libdir}/libzio.a
%{_libdir}/libzio.so
%{_libdir}/libzio.so.0
%{_libdir}/libzio.so.0.4
%{_mandir}/man3/fzopen.3*
/usr/include/zio.h
%changelog -n libzio
* Wed Dec 20 2006 - werner@suse.de
- Better weak symbol handling even for -ansi -pedantic
* 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