ed-vl.spec 5.4 KB

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