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