zip-vl.spec 5.3 KB

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