source: projects/specs/branches/6/s/sharutils/sharutils-vl.spec @ 5581

Revision 5581, 5.3 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild packages

Line 
1Summary: The GNU shar utilities for packaging and unpackaging shell archives.
2Summary(ja): シェルアーカイブのパッケージングを取り扱う GNU shar ユーティリティ
3Name: sharutils
4%define eversion 4.2.1
5Version: %{eversion}_jp
6#Release: 1.6.1vl6
7Release: 1.6.3%{?_dist_release}
8License: GPL
9Group: Applications/Archiving
10Source: ftp://prep.ai.mit.edu/pub/gnu/sharutils/sharutils-%{eversion}.tar.gz
11Patch1: sharutils-4.2-gmo.patch
12Patch2: sharutils-4.2-man.patch
13Patch3: sharutils-4.2-po.patch
14Patch4: sharutils-4.2-share.patch
15Patch5: sharutils-4.2-uudecode.patch
16Patch6: sharutils-4.2.1-mktemp.patch
17Patch7: sharutils-4.2.1-uudecode.patch
18Patch8: sharutils-4.2.1-shar_unshar.patch
19Patch9: sharutils-4.2.1-CAN-2005-0990.patch
20Requires(pre): /sbin/install-info
21
22Buildroot: %{_tmppath}/%{name}-%{version}-root
23
24
25%description
26The sharutils package contains the GNU shar utilities, a set of tools
27for encoding and decoding packages of files (in binary or text format)
28in a special plain text format called shell archives (shar).  This
29format can be sent through email (which can be problematic for
30regular binary files).  The shar utility supports a wide range of
31capabilities (compressing, uuencoding, splitting long files for
32multi-part mailings, providing checksums), which make it very flexible
33at creating shar files.  After the files have been sent, the unshar
34tool scans mail messages looking for shar files.  Unshar automatically
35strips off mail headers and introductory text and then unpacks the shar
36files.
37
38Install sharutils if you send binary files through email very often.
39
40%description -l ja
41sharuitls パッケージは(バイナリーかテキスト形式の)ファイルを
42シェルアーカイブ(shar) と呼ばれる特殊なプレインテキスト形式に
43エンコーディングとデコーディングのためのツールのセットである、
44GNU shar ユーティリティを含んでいる。このフォーマットは email で送信する
45ことが可能である。(通常のバイナリファイルは問題となりうる)。
46shar ユーティリティは幅広い機能をもっている(圧縮、uuencode、マルチパート
47メールのための長いファイルの分割、チェックサムの提供)、というわけで
48shar ファイルを作成するうえで融通がきく。ファイルが送られたあと、
49unshar ツールが shar ファイルを見つけるためにメールのメッセージを走査する。
50unshar は自動的にメールのヘッダと予備のテキストを落とし、shar ファイルを
51アンパックする。
52
53email でバイナリファイルをよく使うなら 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
71make
72
73
74%install
75rm -rf ${RPM_BUILD_ROOT}
76
77#make prefix=${RPM_BUILD_ROOT}%{_prefix} install install-man
78%makeinstall install-man
79gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/sharutils*
80gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/remsync*
81
82# fix jp location
83mv ${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
93if [ $1 = 0 ]; then
94    /sbin/install-info --delete %{_infodir}/sharutils.info.gz %{_infodir}/dir ||:
95fi
96
97
98%clean
99rm -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
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
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
Note: See TracBrowser for help on using the repository browser.