File zoo.spec of Package zoo

#
# spec file for package zoo (Version 2.10)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#

# norootforbuild


Name:           zoo
License:        SUSE-Public-Domain
Group:          Productivity/Archiving/Compression
AutoReqProv:    on
Version:        2.10
Release:        1001
Summary:        Pack Program
Source:         zoo.tar.gz
Patch0:         zoo.patch
Patch1:         zoo-%{version}-tempfile.patch
Patch2:         zoo-gcc.patch
Patch3:         zoo-%{version}-CAN-2005-2349.patch
Patch4:         zoo-return.patch
Patch5:         zoo-security_pathsize.patch
Patch6:         zoo-security_parse.patch
Patch7:         zoo-%{version}-security-infinite_loop.patch
Patch8:         zoo-fclose.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Zoo is a packer based on the Lempel-Ziv algorithm. Lots of files on
DOS/AmigaDOS and TOS systems used this packer for their archives. The
compression rate of gzip is not reached, and thus zoo should only be
used for decompressing old archives.



Authors:
--------
    Ian Phillipps    <igp@camcon.co.uk>
    J. Brian Waters  <jbwaters@bsu-cs.bsu.edu>
    Paul Homchick    <rutgers!cgh!paul>
    Mark Alexander   <amdahl!drivax!alexande>
    Randal L. Barnes <rlb@skyler.mavd.honeywell.com>

%prep
%setup -q -n zoo
%patch0
%patch1
%patch2
%patch3
%patch4
%patch5
%patch6
%patch7
%patch8

%build
make linux OPTIM="$RPM_OPT_FLAGS -fstack-protector"

%install
mkdir -p $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1}
install zoo fiz $RPM_BUILD_ROOT/usr/bin
install -m 644 zoo.1 fiz.1 $RPM_BUILD_ROOT/%{_mandir}/man1/

%clean 
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root) 
%doc Copyright
/usr/bin/fiz
/usr/bin/zoo
%doc %{_mandir}/man1/fiz.1.gz
%doc %{_mandir}/man1/zoo.1.gz

%changelog
openSUSE Build Service is sponsored by