ed-vl.spec 5.2 KB

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