jed-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. %define mainver 0.99
  2. %define subver 18
  3. Summary: Fast, compact editor based on the S-Lang screen library
  4. Summary(ja): Slang 画面ライブラリを用いた高速でコンパクトなエディタ
  5. Name: jed
  6. Version: %{mainver}.%{subver}
  7. Release: 1%{?_dist_release}
  8. License: GPL+
  9. Group: Applications/Editors
  10. Source0: ftp://space.mit.edu/pub/davis/jed/v%{mainver}/jed-%{mainver}-%{subver}.tar.bz2
  11. Patch1: jed-0.99.12-xkeys.patch
  12. URL: http://www.jedsoft.org/jed/
  13. Patch2: jed-etc.patch
  14. Patch3: jed-multilib.patch
  15. Patch5: jed-newauto.patch
  16. Obsoletes: jed-common jed-xjed
  17. BuildRequires: slang-devel >= 2.0
  18. BuildRequires: autoconf
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Daisuke SUZUKI <daisuke@linux.or.jp>
  23. %description
  24. Jed is a fast, compact editor based on the S-lang screen library. Jed
  25. features include emulation of the Emacs, EDT, WordStar and Brief
  26. editors; support for extensive customization with slang macros,
  27. colors, keybindings; and a variety of programming modes with syntax
  28. highlighting.
  29. You should install jed if you've used it before and you like it, or if
  30. you haven't used any text editors before and you're still deciding
  31. what you'd like to use.
  32. %description -l ja
  33. Jed は slang 画面ライブラリを使った高速でコンパクトなエディタです.
  34. Jed の機能には,Emacs/EDT/WordStar/Brief エディタのエミュレーション,
  35. カラー,キーバインド等の slang マクロを使った豊富なカスタマイズ機能
  36. 等があります.他にも幾多のプログラミングモードを備えており,シンタックス
  37. ハイライト機能を備えています.
  38. %prep
  39. %setup -q -n jed-%{mainver}-%{subver}
  40. %patch1 -p1 -b .xkeys
  41. %patch2 -p1
  42. %if "%{_lib}" == "lib64"
  43. %patch3 -p1
  44. %endif
  45. %patch5 -p1
  46. find doc -type f -exec chmod a-x {} \;
  47. cd autoconf
  48. autoconf
  49. mv configure ..
  50. cd ..
  51. %build
  52. export JED_ROOT="%{_datadir}/jed"
  53. %configure
  54. make
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. make install DESTDIR=$RPM_BUILD_ROOT
  58. JED_ROOT=$RPM_BUILD_ROOT%{_datadir}/jed $RPM_BUILD_ROOT%{_bindir}/jed -batch -n -l preparse.sl </dev/null
  59. rm -f $RPM_BUILD_ROOT%{_mandir}/man*/rgrep*
  60. rm -rf $RPM_BUILD_ROOT%{_datadir}/jed/doc/{txt,manual,README}
  61. rm -rf $RPM_BUILD_ROOT%{_datadir}/jed/bin $RPM_BUILD_ROOT%{_datadir}/jed/info
  62. sed -i "s|JED_ROOT|%{_datadir}/jed|g" $RPM_BUILD_ROOT/%{_mandir}/man1/jed.1
  63. %clean
  64. rm -rf $RPM_BUILD_ROOT
  65. %files
  66. %defattr(-,root,root)
  67. %doc COPYING COPYRIGHT doc INSTALL INSTALL.unx README changes.txt
  68. %{_bindir}/*
  69. %{_mandir}/man1/jed.*
  70. %{_datadir}/jed
  71. %changelog
  72. * Fri Jun 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.18-1
  73. - new upstream release
  74. - use slang-2.0
  75. - drop canna/slang-j patch
  76. - drop xjed, rgrep
  77. - add Obsoletes: jed-xjed, jed-common
  78. * Sun Jan 13 2008 NAKAMURA Kenta <kenta@vinelinux.org> 0.99.14-0vl8
  79. - moved JED_ROOT to %%{_datadir}/jed
  80. - updated Source14: jed.sh and Source15: jed.csh
  81. * Tue Mar 27 2007 Shu KONNO <owa@bg.wakwak.com> 0.99.14-0vl7
  82. - added '--libdir=%%{_libdir}' to configure options
  83. - added Patch20: configure-slang.x86_64.patch
  84. - added Patch21: configure-canna.x86_64.patch
  85. * Mon Nov 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.14-0vl6
  86. - disable canna by default
  87. * Fri Jul 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.14-0vl5
  88. - rebuild with new toolchains
  89. - s/Copyright/License/
  90. * Mon Feb 11 2002 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.14-0vl4
  91. - added /etc/profile.d/jed.sh & jed.csh
  92. - added patch jed-initcolor.patch
  93. - fixed README.vine dot.jedrc.vine and jed.rc
  94. * Sat Feb 9 2002 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.14-0vl3
  95. - fixed input canna for xjed
  96. - delete jed-menu.patch
  97. - added BuildPrereq and info patch
  98. - added Help Browse Docs
  99. - modified README.vine
  100. * Wed Jan 23 2002 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.14-0vl2
  101. - fixed menu mode (added jed-menu.patch and fixed jedrc patch)
  102. - fixed jed on kon console
  103. - add xjed.desktop and delete wmconfig/xjed
  104. * Wed Oct 3 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.14-0vl1
  105. - update to jed-B0.99-14
  106. - fixed ruby mode
  107. * Sat Sep 8 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.13-0vl4
  108. - delete xjed & gpm patches and clean spec file
  109. added dot.skkrc.vine and fixed README.vine
  110. skktcp moved jed-common from jed
  111. * Sat Jul 28 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.13-0vl3
  112. - delete rgrep package
  113. - add ruby mode
  114. - byte compiled japanese.sl kinsoku.sl canna.sl skk.sl
  115. - fixed vi.sl and jp version
  116. * Sat Jul 14 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.13-0vl2
  117. - fixed typo in jed-B0.99-13jp0-make.patch
  118. ( ../info/jes.* -> ../info/jed.* )
  119. * Wed Jun 27 2001 Matubara <matubara@mb.asmnet.ne.jp>
  120. - 0.99.13-0vl1
  121. - updatei to jed-B0.99-13
  122. - use jed-B0.99-13jp1 patch
  123. - use better macros
  124. - add skktcp
  125. - use Release No for Vine Linux
  126. * Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  127. - 0.98.7_jp-3
  128. - /usr/man -> %%{_mandir}
  129. - added Japanese summary and description
  130. * Fri Sep 08 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  131. - 0.98.7_jp-2
  132. - modified %files section to handle compressed man page(s)
  133. * Fri Jul 16 1999 Daisuke SUZUKI <daisuke@linux.or.jp>
  134. - added japanese patch j055
  135. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  136. - auto rebuild in the new build environment (release 2)
  137. * Thu Oct 29 1998 Bill Nottingham <notting@redhat.com>
  138. - update to 0.98.7 for Raw Hide
  139. - split off lib stuff into jed-common
  140. * Mon Oct 5 1998 Jeff Johnson <jbj@redhat.com>
  141. - change rgep group tag, same as grep.
  142. * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
  143. - build root
  144. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  145. - translations modified for de, fr, tr
  146. * Wed Apr 15 1998 Erik Troan <ewt@redhat.com>
  147. - built against new ncurses
  148. * Mon Nov 3 1997 Michael Fulbright <msf@redhat.com>
  149. - added wmconfig entry for xjed
  150. * Tue Oct 21 1997 Michael Fulbright <msf@redhat.com>
  151. - updated to 0.98.4
  152. - included man pages in file lists
  153. * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
  154. - built against glibc