ed-vl.spec 5.1 KB

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