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

Revision 8546, 4.7 KB checked in by daisuke, 10 years ago (diff)

sharutils:

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