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