Sisyphus repository
Last update: 24 april 2019 | SRPMs: 17669 | Visits: 13464252
en ru br
ALT Linux repos
S:6.0-alt2.qa1
5.0: 5.52-alt5
4.1: 5.52-alt5
4.0: 5.52-alt4.M40
+updates: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 

# This spec is backported to ALTLinux 4.0 automatically by rpmbh script. Do not edit it.
Name: unzip
%define vers_major 5
%define vers_minor 52
Version: %vers_major.%vers_minor
Release: alt4.M40

Summary: An utility for unpacking zip archives
License: distributable
Group: Archiving/Compression
Url: http://www.info-zip.org/pub/infozip/UnZip.html

Source: ftp://ftp.info-zip.org/pub/infozip/%name%vers_major%vers_minor.tar.bz2
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

BuildRequires: rpm-build-compat >= 0.95

%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
%patch1 -p1
#%patch2 -p1
#%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%__ln_s unix/Makefile .

%build
%make_build linux_noasm

%install
%__mkdir_p $RPM_BUILD_ROOT{%_bindir,%_man1dir}

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

%files
%_bindir/*
%_man1dir/*
%doc BUGS LICENSE History.* README ToDo WHERE proginfo

%changelog

Full changelog you can see here

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