99b737
Summary: A file compression and packaging utility compatible with PKZIP
99b737
Name: zip
99b737
Version: 3.0
99b737
Release: 11%{?dist}
99b737
License: BSD
99b737
Group: Applications/Archiving
99b737
Source: http://downloads.sourceforge.net/infozip/zip30.tar.gz
99b737
URL: http://www.info-zip.org/Zip.html
99b737
# This patch will probably be merged to zip 3.1
99b737
# http://www.info-zip.org/board/board.pl?m-1249408491/
99b737
Patch1: zip-3.0-exec-shield.patch
99b737
# Not upstreamed.
99b737
Patch2: zip-3.0-currdir.patch
99b737
# Not upstreamed.
99b737
Patch3: zip-3.0-time.patch
99b737
Patch4: man.patch
99b737
Patch5: zip-3.0-zipnote-fclose.patch
99b737
BuildRequires: bzip2-devel
99b737
99b737
%description
99b737
The zip program is a compression and file packaging utility.  Zip is
99b737
analogous to a combination of the UNIX tar and compress commands and
99b737
is compatible with PKZIP (a compression and file packaging utility for
99b737
MS-DOS systems).
99b737
99b737
Install the zip package if you need to compress files using the zip
99b737
program.
99b737
99b737
%prep
99b737
%setup -q -n zip30
99b737
%patch1 -p1 -b .exec-shield
99b737
%patch2 -p1 -b .currdir
99b737
%patch3 -p1 -b .time
99b737
%patch4 -p1 -b .man
99b737
%patch5 -p1
99b737
99b737
%build
99b737
make -f unix/Makefile prefix=%{_prefix} "CFLAGS_NOOPT=-I. -DUNIX $RPM_OPT_FLAGS" generic_gcc  %{?_smp_mflags}
99b737
99b737
%install
99b737
rm -rf $RPM_BUILD_ROOT
99b737
mkdir -p $RPM_BUILD_ROOT%{_bindir}
99b737
mkdir -p $RPM_BULD_ROOT%{_mandir}/man1
99b737
99b737
make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} \
99b737
        MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install
99b737
99b737
%files
99b737
%defattr(-,root,root,-)
99b737
%doc README CHANGES TODO WHATSNEW WHERE LICENSE README.CR
99b737
%doc proginfo/algorith.txt
99b737
%{_bindir}/zipnote
99b737
%{_bindir}/zipsplit
99b737
%{_bindir}/zip
99b737
%{_bindir}/zipcloak
99b737
%{_mandir}/man1/zip.1*
99b737
%{_mandir}/man1/zipcloak.1*
99b737
%{_mandir}/man1/zipnote.1*
99b737
%{_mandir}/man1/zipsplit.1*
99b737
99b737
%changelog
99b737
* Fri Apr 15 2016 Petr Stodulka <pstodulk@redhat.com> - 3.0-11
99b737
- fix memory corruption in zipnote caused by invalid fclose()
99b737
  Resolves: #1259674
99b737
99b737
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.0-10
99b737
- Mass rebuild 2014-01-24
99b737
99b737
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.0-9
99b737
- Mass rebuild 2013-12-27
99b737
99b737
* Fri Apr 26 2013 Michal Luscon <mluscon@redhat.com> - 3.0-8
99b737
- Fix missing -q option in zipsplit and zipnote man pages
99b737
99b737
* Sat Feb 23 2013 Ville Skyttä <ville.skytta@iki.fi> - 3.0-7
99b737
- Enable bzip2 support.
99b737
- Fix bogus date in %%changelog.
99b737
99b737
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-6
99b737
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
99b737
99b737
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-5
99b737
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
99b737
99b737
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-4
99b737
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
99b737
99b737
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-3
99b737
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
99b737
99b737
* Mon May 24 2010 Karel Klic <kklic@redhat.com> - 3.0-2
99b737
- Removed BuildRoot tag
99b737
- Removed %%clean section
99b737
- Removed trailing whitespaces in the spec file
99b737
99b737
* Fri Nov 13 2009 Karel Klic <kklic@redhat.com> - 3.0-1
99b737
- New upstream version
99b737
- Removed zip23.patch, because ZMEM is not used anyway
99b737
- Removed zip-2.31-install.patch, problem solved in upstream
99b737
- Removed zip23-umask.patch, upstream uses mkstemp which solves the problem
99b737
- Removed zip-2.31-near-4GB.patch, because upstream version
99b737
  handles large files well
99b737
- Removed zip-2.31-configure.patch, configure is better in the current version
99b737
- Removed zip-2.3-sf.patch, the error message doesn't exist in upstream anymore
99b737
- Removed zip-2.31-umask_mode.patch, which fixes also removed near-4GB patch
99b737
- Updated zip-2.31-time.patch for zip 3.0
99b737
- Updated exec-shield.patch for zip 3.0
99b737
- Updated zip-2.3-currdir.patch for zip 3.0
99b737
99b737
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.31-8
99b737
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
99b737
99b737
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.31-7
99b737
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
99b737
99b737
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.31-6
99b737
- Autorebuild for GCC 4.3
99b737
99b737
* Wed Nov 14 2007 Ivana Varekova <varekova@redhat.com> - 2.31-5
99b737
- add S_IWOTH option
99b737
99b737
* Mon Nov  5 2007 Ivana Varekova <varekova@redhat.com> - 2.31-4
99b737
- fix "zip does not honor umask setting when creating archives"
99b737
- fix "zip segfaults by attempt to archive big file"
99b737
- spec file cleanup
99b737
99b737
* Wed Feb  7 2007 Ivana Varekova <varekova@redhat.com> - 2.31-3
99b737
- incorporate the next peckage review comment
99b737
99b737
* Tue Feb  6 2007 Ivana Varekova <varekova@redhat.com> - 2.31-2
99b737
- incorporate the package review
99b737
99b737
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.31-1.2.2
99b737
- rebuild
99b737
99b737
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.31-1.2.1
99b737
- bump again for double-long bug on ppc(64)
99b737
99b737
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.31-1.2
99b737
- rebuilt for new gcc4.1 snapshot and glibc changes
99b737
99b737
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
99b737
- rebuilt
99b737
99b737
* Thu Nov 10 2005 Ivana Varekova <varekova@redhat.com> 2.31-1
99b737
- update to 2.31
99b737
99b737
* Mon Mar  7 2005 Ivana Varekova <varekova@redhat.com> 2.3-30
99b737
- rebuilt
99b737
99b737
* Mon Jan 17 2005 Ivana Varekova <varekova@redhat.com> 2.3-29
99b737
- Fix bug #142237 - problem with -d and ./files containing archives
99b737
99b737
* Mon Jun 21 2004 Lon Hohberger <lhh@redhat.com> 2.3-24
99b737
- Extend max file/archive size to 2^32-8193 (4294959103) bytes
99b737
- Include better debugging output for configure script
99b737
99b737
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
99b737
- rebuilt
99b737
99b737
* Fri Mar 19 2004 Lon Hohberger <lhh@redhat.com> 2.3-22
99b737
- Fix typos
99b737
99b737
* Tue Feb 17 2004 Lon Hohberger <lhh@redhat.com> 2.3-21
99b737
- Include LICENSE file per bugzilla #116004
99b737
99b737
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
99b737
- rebuilt
99b737
99b737
* Mon Dec 22 2003 Lon Hohberger <lhh@redhat.com> 2.3-19
99b737
- Make temp file have umask 0066 mode (#112516)
99b737
99b737
* Fri Oct 24 2003 Lon Hohberger <lhh@redhat.com> 2.3-18
99b737
- Incorporate Arjan's exec-shield patch for i386
99b737
99b737
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
99b737
- rebuilt
99b737
99b737
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
99b737
- rebuilt
99b737
99b737
* Thu Dec 19 2002 Tim Powers <timp@redhat.com>
99b737
- bump and rebuild
99b737
99b737
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
99b737
- automated rebuild
99b737
99b737
* Thu May 23 2002 Tim Powers <timp@redhat.com>
99b737
- automated rebuild
99b737
99b737
* Tue Apr  2 2002 Trond Eivind Glomsrød <teg@redhat.com>
99b737
- Don't strip explicitly
99b737
99b737
* Wed Mar 13 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.3-11
99b737
- Add URL
99b737
99b737
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
99b737
- Bump release + rebuild.
99b737
99b737
* Fri Aug 25 2000 Bill Nottingham <notting@redhat.com>
99b737
- add encryption code (#16878)
99b737
99b737
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
99b737
- automatic rebuild
99b737
99b737
* Sun Jun 11 2000 Bill Nottingham <notting@redhat.com>
99b737
- rebuild in new environment
99b737
99b737
* Mon Mar 13 2000 Bill Nottingham <notting@redhat.com>
99b737
- spec file cleanups (#10143)
99b737
99b737
* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
99b737
- fix some perms
99b737
99b737
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
99b737
- fix description
99b737
- man pages are compressed
99b737
99b737
* Tue Jan 11 2000 Bill Nottingham <notting@redhat.com>
99b737
- update to 2.3
99b737
99b737
* Fri Jul 30 1999 Bill Nottingham <notting@redhat.com>
99b737
- update to 2.2
99b737
99b737
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
99b737
- auto rebuild in the new build environment (release 8)
99b737
99b737
* Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
99b737
- updated text in the spec file
99b737
99b737
* Fri Jan 15 1999 Cristian Gafton <gafton@redhat.com>
99b737
- patch top build on the arm
99b737
99b737
* Mon Dec 21 1998 Michael Maher <mike@redhat.com>
99b737
- built package for 6.0
99b737
99b737
* Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com>
99b737
- build root
99b737
99b737
* Fri May 08 1998 Prospector System <bugs@redhat.com>
99b737
- translations modified for de, fr, tr
99b737
99b737
* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
99b737
- built against glibc