Summary: unpacks .zip files such as those made by pkzip under DOS Name: unzip %define version 5.32 %define prefix /usr Version: %{version} Release: 1a Copyright: distributable Group: Utilities/Archiving Source: ftp://sunsite.unc.edu/pub/Linux/utils/compress/unzip-%{version}.tar.gz BuildRoot: /tmp/unzip-root %changelog * Thu Oct 22 1998 Keisuke Fujii - updated to version 5.32 - use BuildRoot * Tue Oct 21 1997 Erik Troan - builds on non i386 platforms * Mon Oct 20 1997 Otto Hammersmith - updated the version * Thu Jul 10 1997 Erik Troan - built against glibc %description unzip will list, test, or extract files from a ZIP archive, commonly found on MS-DOS systems. A companion program, zip, creates ZIP archives; both programs are compatible with archives created by PKWARE's PKZIP and PKUNZIP for MS-DOS, but in many cases the program options or default behaviors differ. %prep %setup ln -s unix/Makefile Makefile mkdir -p $RPM_BUILD_ROOT%{prefix}/bin mkdir -p $RPM_BUILD_ROOT%{prefix}/man/man1 %build %ifarch i386 make linux %else make linux_noasm %endif %install make prefix=$RPM_BUILD_ROOT%{prefix} install strip $RPM_BUILD_ROOT%{prefix}/bin/unzip strip $RPM_BUILD_ROOT%{prefix}/bin/funzip strip $RPM_BUILD_ROOT%{prefix}/bin/unzipsfx %clean rm -rf $RPM_BUILD_ROOT %files %doc README BUGS COPYING INSTALL %{prefix}/bin/unzip %{prefix}/bin/funzip %{prefix}/bin/unzipsfx %{prefix}/bin/zipgrep %{prefix}/bin/zipinfo %{prefix}/man/man1/unzip.1 %{prefix}/man/man1/unzipsfx.1 %{prefix}/man/man1/zipgrep.1 %{prefix}/man/man1/zipinfo.1 %{prefix}/man/man1/funzip.1