[521] | 1 | Summary: The GNU shar utilities for packaging and unpackaging shell archives. |
---|
| 2 | Summary(ja): シェルアーカイブのパッケージングを取り扱う GNU shar ユーティリティ |
---|
| 3 | Name: sharutils |
---|
| 4 | %define eversion 4.2.1 |
---|
| 5 | Version: %{eversion}_jp |
---|
| 6 | #Release: 1.6.1vl6 |
---|
[5581] | 7 | Release: 1.6.3%{?_dist_release} |
---|
[521] | 8 | License: GPL |
---|
| 9 | Group: Applications/Archiving |
---|
| 10 | Source: ftp://prep.ai.mit.edu/pub/gnu/sharutils/sharutils-%{eversion}.tar.gz |
---|
| 11 | Patch1: sharutils-4.2-gmo.patch |
---|
| 12 | Patch2: sharutils-4.2-man.patch |
---|
| 13 | Patch3: sharutils-4.2-po.patch |
---|
| 14 | Patch4: sharutils-4.2-share.patch |
---|
| 15 | Patch5: sharutils-4.2-uudecode.patch |
---|
| 16 | Patch6: sharutils-4.2.1-mktemp.patch |
---|
| 17 | Patch7: sharutils-4.2.1-uudecode.patch |
---|
| 18 | Patch8: sharutils-4.2.1-shar_unshar.patch |
---|
| 19 | Patch9: sharutils-4.2.1-CAN-2005-0990.patch |
---|
[5581] | 20 | Requires(pre): /sbin/install-info |
---|
[521] | 21 | |
---|
| 22 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | The sharutils package contains the GNU shar utilities, a set of tools |
---|
| 27 | for encoding and decoding packages of files (in binary or text format) |
---|
| 28 | in a special plain text format called shell archives (shar). This |
---|
| 29 | format can be sent through email (which can be problematic for |
---|
| 30 | regular binary files). The shar utility supports a wide range of |
---|
| 31 | capabilities (compressing, uuencoding, splitting long files for |
---|
| 32 | multi-part mailings, providing checksums), which make it very flexible |
---|
| 33 | at creating shar files. After the files have been sent, the unshar |
---|
| 34 | tool scans mail messages looking for shar files. Unshar automatically |
---|
| 35 | strips off mail headers and introductory text and then unpacks the shar |
---|
| 36 | files. |
---|
| 37 | |
---|
| 38 | Install sharutils if you send binary files through email very often. |
---|
| 39 | |
---|
| 40 | %description -l ja |
---|
| 41 | sharuitls パッケージは(バイナリーかテキスト形式の)ファイルを |
---|
| 42 | シェルアーカイブ(shar) と呼ばれる特殊なプレインテキスト形式に |
---|
| 43 | エンコーディングとデコーディングのためのツールのセットである、 |
---|
| 44 | GNU shar ユーティリティを含んでいる。このフォーマットは email で送信する |
---|
| 45 | ことが可能である。(通常のバイナリファイルは問題となりうる)。 |
---|
| 46 | shar ユーティリティは幅広い機能をもっている(圧縮、uuencode、マルチパート |
---|
| 47 | メールのための長いファイルの分割、チェックサムの提供)、というわけで |
---|
| 48 | shar ファイルを作成するうえで融通がきく。ファイルが送られたあと、 |
---|
| 49 | unshar ツールが shar ファイルを見つけるためにメールのメッセージを走査する。 |
---|
| 50 | unshar は自動的にメールのヘッダと予備のテキストを落とし、shar ファイルを |
---|
| 51 | アンパックする。 |
---|
| 52 | |
---|
| 53 | email でバイナリファイルをよく使うなら sharutils をインストールしなさい。 |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %prep |
---|
| 57 | %setup -n %{name}-%{eversion} |
---|
| 58 | %patch1 -p1 |
---|
| 59 | %patch2 -p1 |
---|
| 60 | %patch3 -p1 |
---|
| 61 | %patch4 -p1 |
---|
| 62 | %patch5 -p1 |
---|
| 63 | %patch6 -p1 |
---|
| 64 | %patch7 -p1 |
---|
| 65 | %patch8 -p2 -b shar_unshar |
---|
| 66 | %patch9 -p1 -b .CAN-2005-0990 |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %build |
---|
| 70 | %configure |
---|
| 71 | make |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | %install |
---|
| 75 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 76 | |
---|
| 77 | #make prefix=${RPM_BUILD_ROOT}%{_prefix} install install-man |
---|
| 78 | %makeinstall install-man |
---|
| 79 | gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/sharutils* |
---|
| 80 | gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/remsync* |
---|
| 81 | |
---|
| 82 | # fix jp location |
---|
| 83 | mv ${RPM_BUILD_ROOT}%{_localedir}/ja_JP.EUC \ |
---|
| 84 | ${RPM_BUILD_ROOT}%{_localedir}/ja |
---|
| 85 | |
---|
| 86 | %find_lang %{name} |
---|
| 87 | |
---|
| 88 | %post |
---|
| 89 | /sbin/install-info %{_infodir}/sharutils.info.gz %{_infodir}/dir ||: |
---|
| 90 | |
---|
| 91 | |
---|
| 92 | %preun |
---|
| 93 | if [ $1 = 0 ]; then |
---|
| 94 | /sbin/install-info --delete %{_infodir}/sharutils.info.gz %{_infodir}/dir ||: |
---|
| 95 | fi |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | %clean |
---|
| 99 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | %files -f %{name}.lang |
---|
| 103 | %defattr(-,root,root) |
---|
| 104 | %{_bindir}/* |
---|
| 105 | %{_infodir}/*info* |
---|
| 106 | %{_mandir}/*/* |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | %changelog |
---|
[5581] | 110 | * Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.2.1_jp-1.6.3 |
---|
| 111 | - rebuild with Vine6 environment |
---|
| 112 | |
---|
[521] | 113 | * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 4.2.1_jp-1.6.2vl5 |
---|
| 114 | - applied new versioning policy, spec in utf-8 |
---|
| 115 | |
---|
| 116 | * Sat Jul 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.2.1_jp-1.6.1vl6 |
---|
| 117 | - rebuilt for VineSeed |
---|
| 118 | |
---|
| 119 | * Sun Jul 17 2005 SATO Masakiyo <info@pocomoco.net> 4.2.1_jp-1.6.1vl5 |
---|
| 120 | - Added Patch9 for CAN-2005-0990 |
---|
| 121 | |
---|
| 122 | * Wed Oct 20 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 4.2.1_jp-1.6.1vl4 |
---|
| 123 | - Added Patch8 for buffer overflows. |
---|
| 124 | |
---|
| 125 | * Sat Apr 10 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> |
---|
| 126 | - 4.2.1_jp-1.6.1vl3 |
---|
| 127 | - added Patch[67] |
---|
| 128 | |
---|
| 129 | * Tue Jan 23 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 130 | - 4.2.1_jp-1.6.1vl2 |
---|
| 131 | - rebuilt on VineSeed with new environment |
---|
| 132 | - use better macros (%%{_bindir}, %%{_infodir}, %%{_mandir}, %%{_localedir}, |
---|
| 133 | %%configure, %%makeinstall, %%{_tmppath}, etc.) |
---|
| 134 | |
---|
| 135 | * Wed Jan 5 2000 Jun Nishii <jun@vinelinux.org> |
---|
| 136 | - updated to 4.2.1 |
---|
| 137 | |
---|
| 138 | * Mon Jun 28 1999 Norihito Ohmori <ohmori@flatout.org> |
---|
| 139 | - Moved Japanese catalog from ja_JP.ujis to ja |
---|
| 140 | - rebuild from sharutils-4.2-10 |
---|
| 141 | - configure --with-gnu-gettext to enable nls |
---|
| 142 | |
---|
| 143 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 144 | - auto rebuild in the new build environment (release 12) |
---|
| 145 | |
---|
| 146 | * Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 147 | - build for glibc 2.1 |
---|
| 148 | |
---|
| 149 | * Fri Apr 24 1998 Prospector System <bugs@redhat.com> |
---|
| 150 | - translations modified for de, fr, tr |
---|
| 151 | |
---|
| 152 | * Sat Apr 11 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 153 | - manhattan rebuild |
---|
| 154 | |
---|
| 155 | * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com> |
---|
| 156 | - ALRIGHT! Woo-hoo! Erik already did the install-info stuff! |
---|
| 157 | - added BuildRoot |
---|
| 158 | - spec file cleanups |
---|
| 159 | |
---|
| 160 | * Sun Sep 14 1997 Erik Troan <ewt@redhat.com> |
---|
| 161 | - uses install-info |
---|
| 162 | |
---|
| 163 | * Fri Jul 18 1997 Erik Troan <ewt@redhat.com> |
---|
| 164 | - built against glibc |
---|
| 165 | |
---|