source: projects/specs/trunk/s/sharutils/sharutils-vl.spec @ 10324

Revision 10324, 5.0 KB checked in by tomop, 8 years ago (diff)

sharutils-4.15.2-1

RevLine 
[521]1Summary: The GNU shar utilities for packaging and unpackaging shell archives.
2Summary(ja): シェルアーカイブのパッケージングを取り扱う GNU shar ユーティリティ
3Name: sharutils
[10324]4Version: 4.15.2
[8546]5Release: 1%{?_dist_release}
[521]6License: GPL
7Group: Applications/Archiving
[8546]8Source: ftp://prep.ai.mit.edu/pub/gnu/sharutils/sharutils-%{version}.tar.xz
[10324]9Patch0: sharutils-4.14.2-Pass-compilation-with-Werror-format-security.patch
[521]10
11Buildroot: %{_tmppath}/%{name}-%{version}-root
[8546]12Requires(post): /sbin/install-info
[521]13
[10324]14Vendor: Project Vine
15Distribution: Vine Linux
[521]16
17%description
18The sharutils package contains the GNU shar utilities, a set of tools
19for encoding and decoding packages of files (in binary or text format)
20in a special plain text format called shell archives (shar).  This
21format can be sent through email (which can be problematic for
22regular binary files).  The shar utility supports a wide range of
23capabilities (compressing, uuencoding, splitting long files for
24multi-part mailings, providing checksums), which make it very flexible
25at creating shar files.  After the files have been sent, the unshar
26tool scans mail messages looking for shar files.  Unshar automatically
27strips off mail headers and introductory text and then unpacks the shar
28files.
29
30Install sharutils if you send binary files through email very often.
31
32%description -l ja
33sharuitls パッケージは(バイナリーかテキスト形式の)ファイルを
34シェルアーカイブ(shar) と呼ばれる特殊なプレインテキスト形式に
35エンコーディングとデコーディングのためのツールのセットである、
36GNU shar ユーティリティを含んでいる。このフォーマットは email で送信する
37ことが可能である。(通常のバイナリファイルは問題となりうる)。
38shar ユーティリティは幅広い機能をもっている(圧縮、uuencode、マルチパート
39メールのための長いファイルの分割、チェックサムの提供)、というわけで
40shar ファイルを作成するうえで融通がきく。ファイルが送られたあと、
41unshar ツールが shar ファイルを見つけるためにメールのメッセージを走査する。
42unshar は自動的にメールのヘッダと予備のテキストを落とし、shar ファイルを
43アンパックする。
44
45email でバイナリファイルをよく使うなら sharutils をインストールしなさい。
46
47
48%prep
[8546]49%setup -n %{name}-%{version}
[10324]50%patch0 -p1 -b .format
[521]51
[8546]52# convert TODO, THANKS to UTF-8
53for i in TODO THANKS; do
54  iconv -f iso-8859-1 -t utf-8 -o $i{.utf8,}
55  mv $i{.utf8,}
56done
57   
[521]58
59%build
60%configure
[8546]61make %{?_smp_mflags}
[521]62
63
64%install
65rm -rf ${RPM_BUILD_ROOT}
66
[8546]67make DESTDIR=${RPM_BUILD_ROOT} install
[521]68
[8546]69rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
70chmod 644 AUTHORS ChangeLog COPYING NEWS README THANKS TODO
[521]71
72%find_lang %{name}
73
74%post
[8546]75/sbin/install-info %{_infodir}/sharutils.info %{_infodir}/dir ||:
[521]76
77
78%preun
79if [ $1 = 0 ]; then
[8546]80    /sbin/install-info --delete %{_infodir}/sharutils.info %{_infodir}/dir ||:
[521]81fi
82
83
84%clean
85rm -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
[10324]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
[8546]100* Thu Jun 12 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 4.14-1
101- update to 4.14
102- drop all local patches
103
[521]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
Note: See TracBrowser for help on using the repository browser.