Summary: A utility for unpacking zip files Name: unzip Version: 5.52 Release: 2 License: BSD Group: Applications/Archiving Source: ftp://ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz Patch1: unzip542-size-64bit.patch Patch2: unzip-5.52-CAN-2005-2475.patch Patch3: unzip-5.52-CVE-2005-4667.patch Patch4: unzip-5.52-CVE-2008-0888.diff URL: http://www.info-zip.org/pub/infozip/UnZip.html BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: patch %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 export PATH=/opt/freeware/bin:$PATH %setup -q %patch1 -p0 %patch2 -p1 -b .can-2005-2475 %patch3 -p1 -b .cve-2005-4667 %patch4 -p0 -b .CVE-2008-0888 %build make -f unix/Makefile aix CF="-D_FILE_OFFSET_BITS=64 -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 * 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