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