Sisyphus repository
Last update: 14 july 2020 | SRPMs: 17702 | Visits: 18882478
en ru br
ALT Linux repos
5.0: 5.52-alt5
4.1: 5.52-alt5
4.0: 5.52-alt4.M40
3.0: 5.52-alt1

Group :: Archiving/Compression
RPM: unzip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: unzip
%define vers_major 5
%define vers_minor 52
Version: %vers_major.%vers_minor
Release: alt5

Summary: An utility for unpacking zip archives
License: distributable
Group: Archiving/Compression

Patch1: %name-5.50-alt-makefile.patch
Patch2: %name-5.50-alt-ddottrav.patch
Patch3: %name-5.52-alt-iconv-v1.1.patch
Patch4: ubuntu-%name-5.52-security_fix-1.patch
Patch5: %name-5.52-alt-natspec.patch
Patch6: deb-%name-CVE-2008-0888.patch
BuildPreReq: libnatspec-devel

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.

%setup -q
%patch1 -p1
#%patch2 -p1
#%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%__ln_s unix/Makefile .

%make_build linux_noasm

%__mkdir_p $RPM_BUILD_ROOT{%_bindir,%_man1dir}

install -p -m755 %name f%name %{name}sfx unix/zipgrep \
install -p -m644 man/*.1 $RPM_BUILD_ROOT%_man1dir/
%__ln_s %name $RPM_BUILD_ROOT%_bindir/zipinfo

%doc BUGS LICENSE History.* README ToDo WHERE proginfo


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin