cvsdist b695763
Summary: A file compression and packaging utility compatible with PKZIP.
cvsdist b695763
Name: zip
cvsdist b695763
Version: 2.3
cvsdist b695763
Release: 8
cvsdist b695763
Copyright: distributable
cvsdist b695763
Group: Applications/Archiving
cvsdist b695763
Source: ftp.uu.net:/pub/archiving/zip/src/zip23.tar.gz
cvsdist b695763
Source1: ftp://ftp.freesoftware.com/pub/infozip/src/zcrypt29.tar.gz
cvsdist b695763
Patch0: zip23.patch
cvsdist b695763
Prefix: /usr
cvsdist b695763
BuildRoot: /var/tmp/zip-root
cvsdist b695763
cvsdist b695763
%description
cvsdist b695763
The zip program is a compression and file packaging utility.  Zip is
cvsdist b695763
analogous to a combination of the UNIX tar and compress commands and
cvsdist b695763
is compatible with PKZIP (a compression and file packaging utility for
cvsdist b695763
MS-DOS systems).
cvsdist b695763
cvsdist b695763
Install the zip package if you need to compress files using the zip
cvsdist b695763
program.
cvsdist b695763
cvsdist b695763
%prep
cvsdist b695763
%setup -q -a 1
cvsdist b695763
%patch0 -p1 -b .zip
cvsdist b695763
cvsdist b695763
%build
cvsdist b695763
make -f unix/Makefile prefix=%{prefix} "CFLAGS=$RPM_OPT_FLAGS -I. -DUNIX" generic_gcc
cvsdist b695763
cvsdist b695763
%install
cvsdist b695763
rm -rf $RPM_BUILD_ROOT
cvsdist b695763
mkdir -p $RPM_BUILD_ROOT%{prefix}/bin
cvsdist b695763
mkdir -p $RPM_BULD_ROOT%{_mandir}/man1
cvsdist b695763
cvsdist b695763
make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{prefix} \
cvsdist b695763
	MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install
cvsdist b695763
cvsdist b695763
pushd $RPM_BUILD_ROOT
cvsdist b695763
for n in zipnote zipsplit zip zipcloak ; do
cvsdist b695763
    strip .%{prefix}/bin/$n
cvsdist b695763
    chmod 755 .%{prefix}/bin/$n
cvsdist b695763
done
cvsdist b695763
popd
cvsdist b695763
cvsdist b695763
%clean
cvsdist b695763
rm -rf $RPM_BUILD_ROOT
cvsdist b695763
cvsdist b695763
%files
cvsdist b695763
%defattr(-,root,root)
cvsdist b695763
%doc README BUGS CHANGES MANUAL TODO WHATSNEW WHERE proginfo/algorith.txt
cvsdist b695763
%{prefix}/bin/zipnote
cvsdist b695763
%{prefix}/bin/zipsplit
cvsdist b695763
%{prefix}/bin/zip
cvsdist b695763
%{prefix}/bin/zipcloak
cvsdist b695763
%{_mandir}/man1/zip.1*
cvsdist b695763
cvsdist b695763
%changelog
cvsdist b695763
* Thu Aug 25 2000 Bill Nottingham <notting@redhat.com>
cvsdist b695763
- add encryption code (#16878)
cvsdist b695763
cvsdist b695763
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
cvsdist b695763
- automatic rebuild
cvsdist b695763
cvsdist b695763
* Sun Jun 11 2000 Bill Nottingham <notting@redhat.com>
cvsdist b695763
- rebuild in new environment
cvsdist b695763
cvsdist b695763
* Mon Mar 13 2000 Bill Nottingham <notting@redhat.com>
cvsdist b695763
- spec file cleanups (#10143)
cvsdist b695763
cvsdist b695763
* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
cvsdist b695763
- fix some perms
cvsdist b695763
cvsdist b695763
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
cvsdist b695763
- fix description
cvsdist b695763
- man pages are compressed
cvsdist b695763
cvsdist b695763
* Tue Jan 11 2000 Bill Nottingham <notting@redhat.com>
cvsdist b695763
- update to 2.3
cvsdist b695763
cvsdist b695763
* Fri Jul 30 1999 Bill Nottingham <notting@redhat.com>
cvsdist b695763
- update to 2.2
cvsdist b695763
cvsdist b695763
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist b695763
- auto rebuild in the new build environment (release 8)
cvsdist b695763
cvsdist b695763
* Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
cvsdist b695763
- updated text in the spec file
cvsdist b695763
cvsdist b695763
* Fri Jan 15 1999 Cristian Gafton <gafton@redhat.com>
cvsdist b695763
- patch top build on the arm
cvsdist b695763
cvsdist b695763
* Mon Dec 21 1998 Michael Maher <mike@redhat.com>
cvsdist b695763
- built package for 6.0
cvsdist b695763
cvsdist b695763
* Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com>
cvsdist b695763
- build root
cvsdist b695763
cvsdist b695763
* Fri May 08 1998 Prospector System <bugs@redhat.com>
cvsdist b695763
- translations modified for de, fr, tr
cvsdist b695763
cvsdist b695763
* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
cvsdist b695763
- built against glibc