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