ed-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. Summary: The GNU line editor.
  2. Summary(ja): GNU ラインエディタ
  3. Name: ed
  4. Version: 1.9
  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. 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. * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9-1
  63. - update to 1.9
  64. * Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5-1
  65. - new upstream release
  66. * Mon Nov 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-1
  67. - new upstream release
  68. * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-1
  69. - new upstream release
  70. * Sat Aug 23 2008 Shu KONNO <owa@bg.wakwak.com> 1.0-1
  71. - new upstream release
  72. - spec in utf-8
  73. * Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9-1
  74. - new upstream release
  75. * Sat Oct 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8-0vl1
  76. - new upstream release
  77. - updated URL, License
  78. * Fri Sep 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2-35vl2
  79. - rebuild to add gpg sign
  80. * Sat Apr 10 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 0.2-35vl1
  81. - rename spec file to ed-vl.spec
  82. - added patch2
  83. * Tue Dec 17 2002 Karsten Hopp <karsten@redhat.de>ト<8D>
  84. - remove regex, use glibc's regex (#79132)
  85. * Wed Dec 04 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.2-28vl1
  86. - based on 0.2-28 from rawhide and built for Vine Linux
  87. - BuildPreReq: autoconf253, automake15
  88. - added Japanese summary and description
  89. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  90. - automated rebuild
  91. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  92. - automated rebuild
  93. * Mon May 6 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.2-26
  94. - Fix build with current toolchain
  95. * Wed Apr 03 2002 Karsten Hopp <karsten@redhat.de>
  96. - don't use gcc -s
  97. * Fri Feb 22 2002 Karsten Hopp <karsten@redhat.de>
  98. - bump version
  99. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  100. - automated rebuild
  101. * Mon Oct 15 2001 Karsten Hopp <karsten@redhat.de>
  102. - add home page (#54602)
  103. * Sat Jul 07 2001 Karsten Hopp <karsten@redhat.de>
  104. - Copyright -> License
  105. - fix URL
  106. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  107. - Bump release + rebuild.
  108. * Mon Dec 04 2000 Karsten Hopp <karsten@redhat.de>
  109. - back out fixes for compiler warnings
  110. * Wed Nov 29 2000 Karsten Hopp <karsten@redhat.de>
  111. - Security bugfix (mkstemp instead of mktemp) Bugzilla #21470
  112. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  113. - automatic rebuild
  114. * Sun Jun 18 2000 Than Ngo <than@redhat.de>
  115. - fix typo
  116. * Sat Jun 17 2000 Than Ngo <than@redhat.de>
  117. - add %%defattr
  118. - clean up specfile
  119. * Sat May 20 2000 Ngo Than <than@redhat.de>
  120. - rebuild for 7.0
  121. - put man pages and infos in right place
  122. * Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
  123. - rebuild to gzip man pages.
  124. * Tue Mar 23 1999 Jeff Johnson <jbj@redhat.com>
  125. - fix %post syntax error (#1689).
  126. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  127. - auto rebuild in the new build environment (release 11)
  128. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  129. - Injected new description and group.
  130. * Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
  131. - bumped spec number for initial rh 6.0 build
  132. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  133. - translations modified for de, fr, tr
  134. * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
  135. - added install-info support
  136. - added BuildRoot
  137. - correct URL in Source line
  138. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  139. - built against glibc