zip-vl.spec 4.8 KB

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