1 | Summary: The GNU line editor. |
---|
2 | Summary(ja): GNU ラインエディタ |
---|
3 | Name: ed |
---|
4 | Version: 1.4 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv3+ |
---|
7 | Group: Applications/Text |
---|
8 | Source: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz |
---|
9 | URL: http://www.gnu.org/software/ed/ |
---|
10 | |
---|
11 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | Requires(post): /sbin/install-info |
---|
13 | Requires(preun): /sbin/install-info |
---|
14 | |
---|
15 | %description |
---|
16 | Ed is a line-oriented text editor, used to create, display, and modify |
---|
17 | text files (both interactively and via shell scripts). For most |
---|
18 | purposes, ed has been replaced in normal usage by full-screen editors |
---|
19 | (emacs and vi, for example). |
---|
20 | |
---|
21 | Ed was the original UNIX editor, and may be used by some programs. In |
---|
22 | general, however, you probably don't need to install it and you probably |
---|
23 | won't use it. |
---|
24 | |
---|
25 | %description -l ja |
---|
26 | ed はラインベースのテキストエディタです.テキストファイルを作成/表示/修正 |
---|
27 | するのに使われます (インタラクティブにも,シェルスクリプト経由でも使えます). |
---|
28 | 多くのケースで,ed の代わりにフルスクリーンエディタ (emacs や vi 等) が |
---|
29 | 使われる様になってきています. |
---|
30 | |
---|
31 | ed は UNIX オリジナルのエディタで,一部のプログラムが ed を使用している |
---|
32 | かもしれません.しかし一般的には ed をインストールする必要はありませんし, |
---|
33 | 使うこともないでしょう. |
---|
34 | |
---|
35 | |
---|
36 | %prep |
---|
37 | %setup -q |
---|
38 | rm -f stamp-h.in |
---|
39 | |
---|
40 | %build |
---|
41 | %configure --exec-prefix=/ |
---|
42 | make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf $RPM_BUILD_ROOT |
---|
46 | mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 |
---|
47 | make install DESTDIR=$RPM_BUILD_ROOT bindir=/bin \ |
---|
48 | mandir=%{_mandir}/man1 |
---|
49 | |
---|
50 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir* |
---|
51 | gzip -9qnf $RPM_BUILD_ROOT%{_infodir}/* |
---|
52 | install -p -m0644 doc/ed.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
---|
53 | |
---|
54 | %post |
---|
55 | /sbin/install-info %{_infodir}/ed.info.gz %{_infodir}/dir \ |
---|
56 | --entry="* ed: (ed). The GNU Line Editor." || : |
---|
57 | |
---|
58 | %preun |
---|
59 | if [ $1 = 0 ] ; then |
---|
60 | /sbin/install-info --delete %{_infodir}/ed.info.gz %{_infodir}/dir \ |
---|
61 | --entry="* ed: (ed). The GNU Line Editor." || : |
---|
62 | fi |
---|
63 | |
---|
64 | %clean |
---|
65 | rm -rf $RPM_BUILD_ROOT |
---|
66 | |
---|
67 | %files |
---|
68 | %defattr(-,root,root) |
---|
69 | %doc ChangeLog NEWS README TODO AUTHORS COPYING |
---|
70 | /bin/* |
---|
71 | %{_infodir}/ed.info.gz |
---|
72 | %{_mandir}/*/* |
---|
73 | |
---|
74 | |
---|
75 | %changelog |
---|
76 | * Mon Nov 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-1 |
---|
77 | - new upstream release |
---|
78 | |
---|
79 | * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-1 |
---|
80 | - new upstream release |
---|
81 | |
---|
82 | * Sat Aug 23 2008 Shu KONNO <owa@bg.wakwak.com> 1.0-1 |
---|
83 | - new upstream release |
---|
84 | - spec in utf-8 |
---|
85 | |
---|
86 | * Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9-1 |
---|
87 | - new upstream release |
---|
88 | |
---|
89 | * Sat Oct 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8-0vl1 |
---|
90 | - new upstream release |
---|
91 | - updated URL, License |
---|
92 | |
---|
93 | * Fri Sep 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2-35vl2 |
---|
94 | - rebuild to add gpg sign |
---|
95 | |
---|
96 | * Sat Apr 10 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.2-35vl1 |
---|
97 | - rename spec file to ed-vl.spec |
---|
98 | - added patch2 |
---|
99 | * Tue Dec 17 2002 Karsten Hopp <karsten@redhat.de>ト<8D> |
---|
100 | - remove regex, use glibc's regex (#79132) |
---|
101 | |
---|
102 | * Wed Dec 04 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.2-28vl1 |
---|
103 | - based on 0.2-28 from rawhide and built for Vine Linux |
---|
104 | - BuildPreReq: autoconf253, automake15 |
---|
105 | - added Japanese summary and description |
---|
106 | |
---|
107 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
108 | - automated rebuild |
---|
109 | |
---|
110 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
111 | - automated rebuild |
---|
112 | |
---|
113 | * Mon May 6 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.2-26 |
---|
114 | - Fix build with current toolchain |
---|
115 | |
---|
116 | * Wed Apr 03 2002 Karsten Hopp <karsten@redhat.de> |
---|
117 | - don't use gcc -s |
---|
118 | |
---|
119 | * Fri Feb 22 2002 Karsten Hopp <karsten@redhat.de> |
---|
120 | - bump version |
---|
121 | |
---|
122 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
---|
123 | - automated rebuild |
---|
124 | |
---|
125 | * Mon Oct 15 2001 Karsten Hopp <karsten@redhat.de> |
---|
126 | - add home page (#54602) |
---|
127 | |
---|
128 | * Sat Jul 07 2001 Karsten Hopp <karsten@redhat.de> |
---|
129 | - Copyright -> License |
---|
130 | - fix URL |
---|
131 | |
---|
132 | * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> |
---|
133 | - Bump release + rebuild. |
---|
134 | |
---|
135 | * Mon Dec 04 2000 Karsten Hopp <karsten@redhat.de> |
---|
136 | - back out fixes for compiler warnings |
---|
137 | |
---|
138 | * Wed Nov 29 2000 Karsten Hopp <karsten@redhat.de> |
---|
139 | - Security bugfix (mkstemp instead of mktemp) Bugzilla #21470 |
---|
140 | |
---|
141 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
142 | - automatic rebuild |
---|
143 | |
---|
144 | * Sun Jun 18 2000 Than Ngo <than@redhat.de> |
---|
145 | - fix typo |
---|
146 | |
---|
147 | * Sat Jun 17 2000 Than Ngo <than@redhat.de> |
---|
148 | - add %%defattr |
---|
149 | - clean up specfile |
---|
150 | |
---|
151 | * Sat May 20 2000 Ngo Than <than@redhat.de> |
---|
152 | - rebuild for 7.0 |
---|
153 | - put man pages and infos in right place |
---|
154 | |
---|
155 | * Thu Feb 03 2000 Preston Brown <pbrown@redhat.com> |
---|
156 | - rebuild to gzip man pages. |
---|
157 | |
---|
158 | * Tue Mar 23 1999 Jeff Johnson <jbj@redhat.com> |
---|
159 | - fix %post syntax error (#1689). |
---|
160 | |
---|
161 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
162 | - auto rebuild in the new build environment (release 11) |
---|
163 | |
---|
164 | * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com> |
---|
165 | - Injected new description and group. |
---|
166 | |
---|
167 | * Fri Dec 18 1998 Preston Brown <pbrown@redhat.com> |
---|
168 | - bumped spec number for initial rh 6.0 build |
---|
169 | |
---|
170 | * Mon Apr 27 1998 Prospector System <bugs@redhat.com> |
---|
171 | - translations modified for de, fr, tr |
---|
172 | |
---|
173 | * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com> |
---|
174 | - added install-info support |
---|
175 | - added BuildRoot |
---|
176 | - correct URL in Source line |
---|
177 | |
---|
178 | * Mon Jun 02 1997 Erik Troan <ewt@redhat.com> |
---|
179 | - built against glibc |
---|