Summary: A utility for unpacking zip files Name: unzip Version: 6.0 Release: 1 License: BSD Group: Applications/Archiving Source0: ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tar.gz URL: http://www.info-zip.org/pub/infozip/UnZip.html BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description The unzip utility is used to list, test, or extract files from a zip archive. Zip archives are commonly found on MS-DOS systems. The zip utility, included in the zip package, creates zip archives. Zip and unzip are both compatible with archives created by PKWARE(R)'s PKZIP for MS-DOS, but the programs' options and default behaviors do differ in some respects. Install the unzip package if you need to list, test or extract files from a zip archive. %prep %setup -q -n %{name}60 %build make -f unix/Makefile aix CF="-D_FILE_OFFSET_BITS=64 -DNO_LCHMOD -O2 -I." %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make prefix=${RPM_BUILD_ROOT}%{_prefix} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %doc BUGS LICENSE README WHERE %{_bindir}/* %{_mandir}/man1/* /usr/bin/* %changelog * Tue Jul 07 2009 Michael Perzl - 6.0-1 - updated to version 6.0 * Fri Nov 28 2008 Michael Perzl - 5.52-2 - added symbolic links from /opt/freeware/bin to /usr/bin * Tue Apr 22 2008 Michael Perzl - 5.52-1 - first version for AIX V5.1 and higher