sharutils-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. Summary: The GNU shar utilities for packaging and unpackaging shell archives.
  2. Summary(ja): シェルアーカイブのパッケージングを取り扱う GNU shar ユーティリティ
  3. Name: sharutils
  4. Version: 4.14
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Archiving
  8. Source: ftp://prep.ai.mit.edu/pub/gnu/sharutils/sharutils-%{version}.tar.xz
  9. Buildroot: %{_tmppath}/%{name}-%{version}-root
  10. Requires(post): /sbin/install-info
  11. %description
  12. The sharutils package contains the GNU shar utilities, a set of tools
  13. for encoding and decoding packages of files (in binary or text format)
  14. in a special plain text format called shell archives (shar). This
  15. format can be sent through email (which can be problematic for
  16. regular binary files). The shar utility supports a wide range of
  17. capabilities (compressing, uuencoding, splitting long files for
  18. multi-part mailings, providing checksums), which make it very flexible
  19. at creating shar files. After the files have been sent, the unshar
  20. tool scans mail messages looking for shar files. Unshar automatically
  21. strips off mail headers and introductory text and then unpacks the shar
  22. files.
  23. Install sharutils if you send binary files through email very often.
  24. %description -l ja
  25. sharuitls パッケージは(バイナリーかテキスト形式の)ファイルを
  26. シェルアーカイブ(shar) と呼ばれる特殊なプレインテキスト形式に
  27. エンコーディングとデコーディングのためのツールのセットである、
  28. GNU shar ユーティリティを含んでいる。このフォーマットは email で送信する
  29. ことが可能である。(通常のバイナリファイルは問題となりうる)。
  30. shar ユーティリティは幅広い機能をもっている(圧縮、uuencode、マルチパート
  31. メールのための長いファイルの分割、チェックサムの提供)、というわけで
  32. shar ファイルを作成するうえで融通がきく。ファイルが送られたあと、
  33. unshar ツールが shar ファイルを見つけるためにメールのメッセージを走査する。
  34. unshar は自動的にメールのヘッダと予備のテキストを落とし、shar ファイルを
  35. アンパックする。
  36. email でバイナリファイルをよく使うなら sharutils をインストールしなさい。
  37. %prep
  38. %setup -n %{name}-%{version}
  39. # convert TODO, THANKS to UTF-8
  40. for i in TODO THANKS; do
  41. iconv -f iso-8859-1 -t utf-8 -o $i{.utf8,}
  42. mv $i{.utf8,}
  43. done
  44. %build
  45. %configure
  46. make %{?_smp_mflags}
  47. %install
  48. rm -rf ${RPM_BUILD_ROOT}
  49. make DESTDIR=${RPM_BUILD_ROOT} install
  50. rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
  51. chmod 644 AUTHORS ChangeLog COPYING NEWS README THANKS TODO
  52. %find_lang %{name}
  53. %post
  54. /sbin/install-info %{_infodir}/sharutils.info %{_infodir}/dir ||:
  55. %preun
  56. if [ $1 = 0 ]; then
  57. /sbin/install-info --delete %{_infodir}/sharutils.info %{_infodir}/dir ||:
  58. fi
  59. %clean
  60. rm -rf ${RPM_BUILD_ROOT}
  61. %files -f %{name}.lang
  62. %defattr(-,root,root)
  63. %{_bindir}/*
  64. %{_infodir}/*info*
  65. %{_mandir}/*/*
  66. %changelog
  67. * Thu Jun 12 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 4.14-1
  68. - update to 4.14
  69. - drop all local patches
  70. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 4.2.1_jp-1.6.2vl5
  71. - applied new versioning policy, spec in utf-8
  72. * Sat Jul 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.2.1_jp-1.6.1vl6
  73. - rebuilt for VineSeed
  74. * Sun Jul 17 2005 SATO Masakiyo <info@pocomoco.net> 4.2.1_jp-1.6.1vl5
  75. - Added Patch9 for CAN-2005-0990
  76. * Wed Oct 20 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 4.2.1_jp-1.6.1vl4
  77. - Added Patch8 for buffer overflows.
  78. * Sat Apr 10 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
  79. - 4.2.1_jp-1.6.1vl3
  80. - added Patch[67]
  81. * Tue Jan 23 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  82. - 4.2.1_jp-1.6.1vl2
  83. - rebuilt on VineSeed with new environment
  84. - use better macros (%%{_bindir}, %%{_infodir}, %%{_mandir}, %%{_localedir},
  85. %%configure, %%makeinstall, %%{_tmppath}, etc.)
  86. * Wed Jan 5 2000 Jun Nishii <jun@vinelinux.org>
  87. - updated to 4.2.1
  88. * Mon Jun 28 1999 Norihito Ohmori <ohmori@flatout.org>
  89. - Moved Japanese catalog from ja_JP.ujis to ja
  90. - rebuild from sharutils-4.2-10
  91. - configure --with-gnu-gettext to enable nls
  92. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  93. - auto rebuild in the new build environment (release 12)
  94. * Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
  95. - build for glibc 2.1
  96. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  97. - translations modified for de, fr, tr
  98. * Sat Apr 11 1998 Cristian Gafton <gafton@redhat.com>
  99. - manhattan rebuild
  100. * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
  101. - ALRIGHT! Woo-hoo! Erik already did the install-info stuff!
  102. - added BuildRoot
  103. - spec file cleanups
  104. * Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
  105. - uses install-info
  106. * Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
  107. - built against glibc