2007-02-06 14:06:28 +00:00
|
|
|
Summary: A file compression and packaging utility compatible with PKZIP
|
2004-09-09 15:14:43 +00:00
|
|
|
Name: zip
|
2005-11-10 13:08:08 +00:00
|
|
|
Version: 2.31
|
2007-02-07 08:48:28 +00:00
|
|
|
Release: 3%{?dist}
|
2007-02-06 14:06:28 +00:00
|
|
|
License: BSD
|
2004-09-09 15:14:43 +00:00
|
|
|
Group: Applications/Archiving
|
2005-11-10 13:08:08 +00:00
|
|
|
Source: http://ftp.info-zip.org/pub/infozip/src/zip231.tar.gz
|
2004-09-09 15:14:43 +00:00
|
|
|
Source1: ftp://ftp.freesoftware.com/pub/infozip/src/zcrypt29.tar.gz
|
2004-09-09 15:16:16 +00:00
|
|
|
URL: http://www.info-zip.org/pub/infozip/Zip.html
|
2004-09-09 15:14:43 +00:00
|
|
|
Patch0: zip23.patch
|
2004-09-09 15:17:54 +00:00
|
|
|
Patch1: exec-shield.patch
|
2004-09-09 15:18:52 +00:00
|
|
|
Patch2: zip23-umask.patch
|
2005-01-17 13:49:30 +00:00
|
|
|
Patch5: zip-2.3-currdir.patch
|
2005-11-10 13:08:08 +00:00
|
|
|
Patch6: zip-2.31-install.patch
|
|
|
|
Patch7: zip-2.31-near-4GB.patch
|
|
|
|
Patch8: zip-2.31-configure.patch
|
2007-02-07 08:48:28 +00:00
|
|
|
Patch9: zip-2.31-time.patch
|
2007-02-06 14:06:28 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2004-09-09 15:14:43 +00:00
|
|
|
|
|
|
|
%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).
|
|
|
|
|
|
|
|
Install the zip package if you need to compress files using the zip
|
|
|
|
program.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -a 1
|
|
|
|
%patch0 -p1 -b .zip
|
2004-09-09 15:17:54 +00:00
|
|
|
%patch1 -p1 -b .zip
|
2004-09-09 15:18:52 +00:00
|
|
|
%patch2 -p1 -b .umask
|
2005-01-17 13:49:30 +00:00
|
|
|
%patch5 -p1 -b .currdir
|
2005-11-10 13:08:08 +00:00
|
|
|
%patch6 -p1 -b .install
|
|
|
|
%patch7 -p1 -b .4gb
|
|
|
|
%patch8 -p1 -b .lhh
|
2007-02-07 08:48:28 +00:00
|
|
|
%patch9 -p1 -b .time
|
2004-09-09 15:14:43 +00:00
|
|
|
|
|
|
|
%build
|
2007-02-06 14:06:28 +00:00
|
|
|
make -f unix/Makefile prefix=%{_prefix} "CFLAGS=$RPM_OPT_FLAGS -I. -DUNIX -D_LARGEFILE64_SOURCE" generic_gcc %{?_smp_mflags}
|
2004-09-09 15:14:43 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-02-06 14:06:28 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
2004-09-09 15:14:43 +00:00
|
|
|
mkdir -p $RPM_BULD_ROOT%{_mandir}/man1
|
|
|
|
|
2007-02-06 14:06:28 +00:00
|
|
|
make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} \
|
|
|
|
MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install
|
2004-09-09 15:14:43 +00:00
|
|
|
|
|
|
|
pushd $RPM_BUILD_ROOT
|
|
|
|
for n in zipnote zipsplit zip zipcloak ; do
|
2007-02-06 14:06:28 +00:00
|
|
|
chmod 755 .%{_bindir}/$n
|
2004-09-09 15:14:43 +00:00
|
|
|
done
|
|
|
|
popd
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2004-09-09 15:19:24 +00:00
|
|
|
%doc README BUGS CHANGES MANUAL TODO WHATSNEW WHERE LICENSE
|
|
|
|
%doc proginfo/algorith.txt
|
2007-02-06 14:06:28 +00:00
|
|
|
%{_bindir}/zipnote
|
|
|
|
%{_bindir}/zipsplit
|
|
|
|
%{_bindir}/zip
|
|
|
|
%{_bindir}/zipcloak
|
2004-09-09 15:14:43 +00:00
|
|
|
%{_mandir}/man1/zip.1*
|
|
|
|
|
|
|
|
%changelog
|
2007-02-07 08:48:28 +00:00
|
|
|
* Wed Feb 7 2007 Ivana Varekova <varekova@redhat.com> - 2.31-3
|
|
|
|
- incorporate the next peckage review comment
|
|
|
|
|
2007-02-06 14:07:30 +00:00
|
|
|
* Tue Feb 6 2007 Ivana Varekova <varekova@redhat.com> - 2.31-2
|
2007-02-06 14:06:28 +00:00
|
|
|
- incorporate the package review
|
|
|
|
|
2006-07-12 09:25:40 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.31-1.2.2
|
|
|
|
- rebuild
|
|
|
|
|
2006-02-11 06:38:04 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.31-1.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 14:44:17 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.31-1.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:43:57 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-10 13:08:08 +00:00
|
|
|
* Thu Nov 10 2005 Ivana Varekova <varekova@redhat.com> 2.31-1
|
|
|
|
- update to 2.31
|
|
|
|
|
2005-03-07 08:43:49 +00:00
|
|
|
* Mon Mar 7 2005 Ivana Varekova <varekova@redhat.com> 2.3-30
|
|
|
|
- rebuilt
|
|
|
|
|
2005-01-18 08:02:28 +00:00
|
|
|
* Mon Jan 17 2005 Ivana Varekova <varekova@redhat.com> 2.3-29
|
2005-01-17 13:49:30 +00:00
|
|
|
- Fix bug #142237 - problem with -d and ./files containing archives
|
|
|
|
|
2004-09-09 15:20:16 +00:00
|
|
|
* Mon Jun 21 2004 Lon Hohberger <lhh@redhat.com> 2.3-24
|
|
|
|
- Extend max file/archive size to 2^32-8193 (4294959103) bytes
|
|
|
|
- Include better debugging output for configure script
|
|
|
|
|
2004-09-09 15:19:27 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 15:19:24 +00:00
|
|
|
* Fri Mar 19 2004 Lon Hohberger <lhh@redhat.com> 2.3-22
|
|
|
|
- Fix typos
|
|
|
|
|
|
|
|
* Tue Feb 17 2004 Lon Hohberger <lhh@redhat.com> 2.3-21
|
|
|
|
- Include LICENSE file per bugzilla #116004
|
|
|
|
|
2004-09-09 15:18:52 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Dec 22 2003 Lon Hohberger <lhh@redhat.com> 2.3-19
|
|
|
|
- Make temp file have umask 0066 mode (#112516)
|
|
|
|
|
2004-09-09 15:17:54 +00:00
|
|
|
* Fri Oct 24 2003 Lon Hohberger <lhh@redhat.com> 2.3-18
|
|
|
|
- Incorporate Arjan's exec-shield patch for i386
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 15:16:48 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Dec 19 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- bump and rebuild
|
|
|
|
|
2004-09-09 15:16:39 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 15:16:33 +00:00
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2007-02-06 14:06:28 +00:00
|
|
|
* Tue Apr 2 2002 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 15:16:22 +00:00
|
|
|
- Don't strip explicitly
|
|
|
|
|
2007-02-06 14:06:28 +00:00
|
|
|
* Wed Mar 13 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.3-11
|
2004-09-09 15:16:16 +00:00
|
|
|
- Add URL
|
|
|
|
|
2004-09-09 15:15:43 +00:00
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- Bump release + rebuild.
|
|
|
|
|
2004-09-09 15:14:43 +00:00
|
|
|
* Thu Aug 25 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- add encryption code (#16878)
|
|
|
|
|
|
|
|
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Sun Jun 11 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- rebuild in new environment
|
|
|
|
|
|
|
|
* Mon Mar 13 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- spec file cleanups (#10143)
|
|
|
|
|
|
|
|
* Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- fix some perms
|
|
|
|
|
|
|
|
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- fix description
|
|
|
|
- man pages are compressed
|
|
|
|
|
|
|
|
* Tue Jan 11 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- update to 2.3
|
|
|
|
|
|
|
|
* Fri Jul 30 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
- update to 2.2
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 8)
|
|
|
|
|
|
|
|
* Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- updated text in the spec file
|
|
|
|
|
|
|
|
* Fri Jan 15 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- patch top build on the arm
|
|
|
|
|
|
|
|
* Mon Dec 21 1998 Michael Maher <mike@redhat.com>
|
|
|
|
- built package for 6.0
|
|
|
|
|
|
|
|
* Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- build root
|
|
|
|
|
|
|
|
* Fri May 08 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|