Summary: A file compression and packaging utility compatible with PKZIP. Summary(cs): Komprimační program kompatibilní s formátem PKZIP. Name: zip Version: 2.3 Release: 8cz1 Copyright: distributable Group: Applications/Archiving Group(cs): Aplikace/Archivování Source: ftp://ftp.uu.net/pub/archiving/zip/src/zip23.tar.gz Source1: ftp://ftp.freesoftware.com/pub/infozip/src/zcrypt29.tar.gz Patch0: zip23.patch Patch1: zip23-cs.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. %description -l cs Balíček zip obsahuje komprimační program, který je kompatibilní s formátem PKZIP (známý z DOSu). Je analogický ke kombinaci příkazů tar a compress (nebo gzip, bzip2 a pod.) na klasických UNIXech. Nainstalujte si balíček zip, pokud chcete komprimovat soubory do formátu kompatibilního s PKZIP. Pokud budete potřebovat program na dekompresi těchto souborů, nainstalujte si balíček unzip. %prep %setup -q -a 1 %patch0 -p1 -b .zip %patch1 -p1 %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 * Mon Dec 4 2000 Milan Kerslager - rebuild for 7.0 CZ - patch from Slavek Banko , see http://www.axis.cz/linux/ - added option -K to store file names in CP852 - added conversion of filenames between CP852 and ISO-8859-2 when archive was built in Windows environment * Thu Aug 25 2000 Bill Nottingham - add encryption code (#16878) * Thu Jul 13 2000 Prospector - automatic rebuild * Sun Jun 11 2000 Bill Nottingham - rebuild in new environment * Mon Mar 13 2000 Bill Nottingham - spec file cleanups (#10143) * Mon Feb 7 2000 Bill Nottingham - fix some perms * Wed Feb 02 2000 Cristian Gafton - fix description - man pages are compressed * Tue Jan 11 2000 Bill Nottingham - update to 2.3 * Fri Jul 30 1999 Bill Nottingham - update to 2.2 * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 8) * Thu Mar 18 1999 Cristian Gafton - updated text in the spec file * Fri Jan 15 1999 Cristian Gafton - patch top build on the arm * Mon Dec 21 1998 Michael Maher - built package for 6.0 * Mon Aug 10 1998 Jeff Johnson - build root * Fri May 08 1998 Prospector System - translations modified for de, fr, tr * Thu Jul 10 1997 Erik Troan - built against glibc