[521] | 1 | Summary: A file compression and packaging utility compatible with PKZIP. |
---|
| 2 | Summary(ja): PKZIP 互換のファイル圧縮/パッケージングユーティリティ |
---|
| 3 | Name: zip |
---|
| 4 | Version: 2.32 |
---|
[8073] | 5 | Release: 4%{?_dist_release} |
---|
[521] | 6 | License: BSD |
---|
| 7 | Group: Applications/Archiving |
---|
| 8 | Source: http://ftp.info-zip.org/pub/infozip/src/zip232.tgz |
---|
| 9 | Source1: ftp://ftp.freesoftware.com/pub/infozip/src/zcrypt29.tar.gz |
---|
| 10 | URL: http://www.info-zip.org/pub/infozip/Zip.html |
---|
| 11 | Patch0: zip23.patch |
---|
| 12 | Patch1: exec-shield.patch |
---|
| 13 | Patch2: zip23-umask.patch |
---|
| 14 | Patch5: zip-2.32-currdir.patch |
---|
| 15 | Patch6: zip-2.31-install.patch |
---|
| 16 | Patch8: zip-2.31-configure.patch |
---|
| 17 | |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 19 | |
---|
[8073] | 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
[521] | 22 | |
---|
| 23 | %description |
---|
| 24 | The zip program is a compression and file packaging utility. Zip is |
---|
| 25 | analogous to a combination of the UNIX tar and compress commands and |
---|
| 26 | is compatible with PKZIP (a compression and file packaging utility for |
---|
| 27 | MS-DOS systems). |
---|
| 28 | |
---|
| 29 | Install the zip package if you need to compress files using the zip |
---|
| 30 | program. |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %description -l ja |
---|
| 34 | zip プログラムはファイル圧縮/パッケージングユーティリティです. |
---|
| 35 | zip は UNIX の tar と compress の組合せに似たもので,かつ |
---|
| 36 | MS-DOS システムで広く使われる PKZIP と互換性があります. |
---|
| 37 | |
---|
| 38 | zip プログラムを使ってファイルを圧縮したい場合は |
---|
| 39 | zip パッケージをインストールして下さい. |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %setup -q -a 1 |
---|
| 44 | %patch0 -p1 -b .zip |
---|
| 45 | %patch1 -p1 -b .zip |
---|
| 46 | %patch2 -p1 -b .umask |
---|
| 47 | %patch5 -p1 -b .currdir |
---|
| 48 | %patch6 -p1 -b .install |
---|
| 49 | %patch8 -p1 -b .lhh |
---|
| 50 | |
---|
| 51 | %build |
---|
| 52 | make -f unix/Makefile prefix=%{_prefix} "CFLAGS=$RPM_OPT_FLAGS -I. -DUNIX" generic_gcc %{?_smp_mflags} |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | mkdir -p $RPM_BUILD_ROOT%{_bindir} |
---|
| 57 | mkdir -p $RPM_BULD_ROOT%{_mandir}/man1 |
---|
| 58 | |
---|
| 59 | make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} \ |
---|
| 60 | MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install |
---|
| 61 | |
---|
| 62 | pushd $RPM_BUILD_ROOT |
---|
| 63 | for n in zipnote zipsplit zip zipcloak ; do |
---|
| 64 | chmod 755 ./usr/bin/$n |
---|
| 65 | done |
---|
| 66 | popd |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %clean |
---|
| 70 | rm -rf $RPM_BUILD_ROOT |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %files |
---|
| 74 | %defattr(-,root,root) |
---|
| 75 | %doc README CHANGES TODO WHATSNEW WHERE LICENSE README.CR proginfo/algorith.txt |
---|
| 76 | %{_bindir}/zipnote |
---|
| 77 | %{_bindir}/zipsplit |
---|
| 78 | %{_bindir}/zip |
---|
| 79 | %{_bindir}/zipcloak |
---|
| 80 | %{_mandir}/man1/zip.1* |
---|
| 81 | |
---|
| 82 | %changelog |
---|
[8073] | 83 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32-4 |
---|
| 84 | - rebuild with VineSeed environment |
---|
| 85 | |
---|
[3312] | 86 | * Tue Apr 05 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.32-3 |
---|
| 87 | - rebuild for Vine 6 |
---|
| 88 | |
---|
[521] | 89 | * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.32-2 |
---|
| 90 | - spec in utf-8 |
---|
| 91 | |
---|
| 92 | * Sat May 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.32-1 |
---|
| 93 | - updated to 2.32 |
---|
| 94 | - added Patch2,5,6 and 8 from Fedora |
---|
| 95 | * Mon Jan 17 2005 Ivana Varekova <varekova@redhat.com> 2.3-29 |
---|
| 96 | - Fix bug #142237 - problem with -d and ./files containing archives |
---|
| 97 | * Mon Dec 22 2003 Lon Hohberger <lhh@redhat.com> 2.3-19 |
---|
| 98 | - Make temp file have umask 0066 mode (#112516) |
---|
| 99 | |
---|
| 100 | * Fri Jul 06 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.3-14vl4 |
---|
| 101 | - rebuild with new toolchains. |
---|
| 102 | |
---|
| 103 | * Tue Jan 11 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.3-14vl3 |
---|
| 104 | - rebuild for VineSeed |
---|
| 105 | |
---|
| 106 | * Fri Jan 07 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 2.3-14vl2.1 |
---|
| 107 | - convert charcter code into euc-jp-unix. |
---|
| 108 | - added a security patch for CAN-2004-1010 from Gentoo (Patch1). |
---|
| 109 | |
---|
| 110 | * Mon Apr 7 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 2.3-14vl2 |
---|
| 111 | - rebuild |
---|
| 112 | |
---|
| 113 | * Wed Dec 04 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> |
---|
| 114 | - based on 2.3-14 from Rawhide and built for Vine Linux |
---|
| 115 | - added Japanese summary and description |
---|
| 116 | |
---|
| 117 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
| 118 | - automated rebuild |
---|
| 119 | |
---|
| 120 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
| 121 | - automated rebuild |
---|
| 122 | |
---|
| 123 | * Tue Apr 2 2002 Trond Eivind Glomsr d <teg@redhat.com> |
---|
| 124 | - Don't strip explicitly |
---|
| 125 | |
---|
| 126 | * Wed Mar 13 2002 Trond Eivind Glomsr d <teg@redhat.com> 2.3-11 |
---|
| 127 | - Add URL |
---|
| 128 | |
---|
| 129 | * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> |
---|
| 130 | - Bump release + rebuild. |
---|
| 131 | |
---|
[8073] | 132 | * Fri Aug 25 2000 Bill Nottingham <notting@redhat.com> |
---|
[521] | 133 | - add encryption code (#16878) |
---|
| 134 | |
---|
| 135 | * Thu Jul 13 2000 Prospector <bugzilla@redhat.com> |
---|
| 136 | - automatic rebuild |
---|
| 137 | |
---|
| 138 | * Sun Jun 11 2000 Bill Nottingham <notting@redhat.com> |
---|
| 139 | - rebuild in new environment |
---|
| 140 | |
---|
| 141 | * Mon Mar 13 2000 Bill Nottingham <notting@redhat.com> |
---|
| 142 | - spec file cleanups (#10143) |
---|
| 143 | |
---|
| 144 | * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com> |
---|
| 145 | - fix some perms |
---|
| 146 | |
---|
| 147 | * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com> |
---|
| 148 | - fix description |
---|
| 149 | - man pages are compressed |
---|
| 150 | |
---|
| 151 | * Tue Jan 11 2000 Bill Nottingham <notting@redhat.com> |
---|
| 152 | - update to 2.3 |
---|
| 153 | |
---|
| 154 | * Fri Jul 30 1999 Bill Nottingham <notting@redhat.com> |
---|
| 155 | - update to 2.2 |
---|
| 156 | |
---|
| 157 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 158 | - auto rebuild in the new build environment (release 8) |
---|
| 159 | |
---|
| 160 | * Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 161 | - updated text in the spec file |
---|
| 162 | |
---|
| 163 | * Fri Jan 15 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 164 | - patch top build on the arm |
---|
| 165 | |
---|
| 166 | * Mon Dec 21 1998 Michael Maher <mike@redhat.com> |
---|
| 167 | - built package for 6.0 |
---|
| 168 | |
---|
| 169 | * Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 170 | - build root |
---|
| 171 | |
---|
| 172 | * Fri May 08 1998 Prospector System <bugs@redhat.com> |
---|
| 173 | - translations modified for de, fr, tr |
---|
| 174 | |
---|
| 175 | * Thu Jul 10 1997 Erik Troan <ewt@redhat.com> |
---|
| 176 | - built against glibc |
---|