Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37556259
en ru br
ALT Linux repositórios
S:3.0-alt3
D:3.00g-alt1
5.0: 2.32-alt2
4.1: 2.32-alt2.M41.1
4.0: 2.32-alt1.0
3.0: 2.3-alt2

Group :: Arquivamento/Compressão
RPM: zip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define origver 30

Name: zip
Version: 3.0
Release: alt3

Epoch: 30000000

Summary: A file compression and packaging utility compatible with PKZIP/WinZIP
License: BSD
Group: Archiving/Compression

Url: http://www.info-zip.org/Zip.html
Source0: http://downloads.sourceforge.net/infozip/%{name}%{origver}.tar.gz
Source1: ftp://ftp.uu.net/pub/archiving/zip/src/zcrypt29-exportable.tar.bz2
Patch0: zip-3.0-umask-tmp.patch
Patch1: infozip-zip2.3-noninteractivepassword+testencrypedfile.patch
Patch3: zip-3.0-alt-natspec.patch
Patch4: zip-3.0-alt-asdos.patch
# This patch will probably be merged to zip 3.1
# http://www.info-zip.org/board/board.pl?m-1249408491/
Patch5: zip-3.0-exec-shield.patch
# Not upstreamed.
Patch6: zip-3.0-currdir.patch
# Not upstreamed.
Patch7: zip-3.0-time.patch


Packager: Michael Shigorin <mike at altlinux.org>

Summary(ru_RU.KOI8-R): õÔÉÌÉÔÁ ÓÖÁÔÉÑ É ÕÐÁËÏ×ËÉ ÆÁÊÌÏ×, ÓÏ×ÍÅÓÔÉÍÁÑ Ó PKZIP/WinZIP
Summary(uk_UA.KOI8-U): õÔÉ̦ÔÁ ÓÔÉÓÎÅÎÎÑ ÔÁ ÁÒȦ×Õ×ÁÎÎÑ ÆÁÊ̦×, ÝÏ ÓÕͦÓÎÁ Ú PKZIP/WinZIP

BuildRequires: libnatspec-devel

%description
The zip program is a compression and file packaging utility.  Zip is
analogous to a combination of the UNIX tar and compress commands and is
compatible with PKZIP (a compression and file packaging utility for
MS-DOS systems) and WinZIP.

Install the %name package if you need to compress files using the zip program.

%description -l ru_RU.KOI8-R
ðÒÏÇÒÁÍÍÁ ÁÒÈÉ×ÉÒÏ×ÁÎÉÑ/ÓÖÁÔÉÑ zip, ÓÏ×ÍÅÓÔÉÍÁÑ ÐÏ ÆÏÒÍÁÔÕ Ó PKZIP É WinZIP.
áÎÁÌÏÇÉÞÎÁ ËÏÍÂÉÎÁÃÉÉ ËÏÍÁÎÄ UNIX tar É compress.

%description -l uk_UA.KOI8-U
ðÒÏÇÒÁÍÁ ÁÒȦ×Õ×ÁÎÎÑ/ÓÔÉÓÎÅÎÎÑ zip, ÝÏ ÓÕͦÓÎÁ ÐÏ ÆÏÒÍÁÔÕ ¦Ú PKZIP ÔÁ WinZIP.
´ ÁÎÁÌÏÇÏÍ ËÏͦÎÁæ§ ËÏÍÁÎÄ UNIX tar ÔÁ compress.

%prep
%setup -q
#rm -f LICENSE WHERE crypt.c crypt.h
#%%setup -q -DT -a1
subst \
 "s|-O2|%optflags|;s|/usr/local/bin|%_bindir|g;s|/usr/local/man|%_mandir|g" \
 unix/configure

%patch0 -p2
#%%patch3 -p2
%patch4 -p2
%patch5 -p1
%patch6 -p1
%patch7 -p1

%ifarch %ix86
sed -i 's/-o zip$E/-no-pie &/' unix/Makefile
%endif

%define _optlevel 3

%build
make -f unix/Makefile prefix=%{_prefix} "CFLAGS_NOOPT=-I. -DUNIX $RPM_OPT_FLAGS" generic_gcc  %{?_smp_mflags}

%install
mkdir -p %buildroot{%_bindir,%_mandir}
%makeinstall -f unix/Makefile \
BINDIR=%buildroot%_bindir MANDIR=%buildroot%_man1dir
make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} \
       MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install

%files
%doc README CHANGES TODO WHATSNEW WHERE LICENSE README.CR
%doc proginfo/algorith.txt
%_bindir/*
%_man1dir/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009