jed-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. %define mainver 0.99
  2. %define subver 19
  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: 2%{?_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-newauto.patch
  15. Obsoletes: jed-common jed-xjed
  16. Requires: slang-slsh
  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. find doc -type f -exec chmod a-x {} \;
  46. cd autoconf
  47. autoconf
  48. mv configure ..
  49. cd ..
  50. %build
  51. export JED_ROOT="%{_datadir}/jed"
  52. %configure
  53. make
  54. %install
  55. rm -rf $RPM_BUILD_ROOT
  56. make install DESTDIR=$RPM_BUILD_ROOT
  57. JED_ROOT=$RPM_BUILD_ROOT%{_datadir}/jed $RPM_BUILD_ROOT%{_bindir}/jed -batch -n -l preparse.sl </dev/null
  58. rm -f $RPM_BUILD_ROOT%{_mandir}/man*/rgrep*
  59. rm -rf $RPM_BUILD_ROOT%{_datadir}/jed/doc/{txt,manual,README}
  60. rm -rf $RPM_BUILD_ROOT%{_datadir}/jed/bin $RPM_BUILD_ROOT%{_datadir}/jed/info
  61. sed -i "s|JED_ROOT|%{_datadir}/jed|g" $RPM_BUILD_ROOT/%{_mandir}/man1/jed.1
  62. %clean
  63. rm -rf $RPM_BUILD_ROOT
  64. %files
  65. %defattr(-,root,root)
  66. %doc COPYING COPYRIGHT doc INSTALL INSTALL.unx README changes.txt
  67. %{_bindir}/*
  68. %{_mandir}/man1/jed.*
  69. %{_datadir}/jed
  70. %changelog
  71. * Mon Apr 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.99.19-2
  72. - added Requires: slang-slsh
  73. * Sun Apr 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.19-1
  74. - new upstream release
  75. * Fri Jun 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.18-1
  76. - new upstream release
  77. - use slang-2.0
  78. - drop canna/slang-j patch
  79. - drop xjed, rgrep
  80. - add Obsoletes: jed-xjed, jed-common
  81. * Sun Jan 13 2008 NAKAMURA Kenta <kenta@vinelinux.org> 0.99.14-0vl8
  82. - moved JED_ROOT to %%{_datadir}/jed
  83. - updated Source14: jed.sh and Source15: jed.csh
  84. * Tue Mar 27 2007 Shu KONNO <owa@bg.wakwak.com> 0.99.14-0vl7
  85. - added '--libdir=%%{_libdir}' to configure options
  86. - added Patch20: configure-slang.x86_64.patch
  87. - added Patch21: configure-canna.x86_64.patch
  88. * Mon Nov 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.14-0vl6
  89. - disable canna by default
  90. * Fri Jul 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.14-0vl5
  91. - rebuild with new toolchains
  92. - s/Copyright/License/
  93. * Mon Feb 11 2002 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.14-0vl4
  94. - added /etc/profile.d/jed.sh & jed.csh
  95. - added patch jed-initcolor.patch
  96. - fixed README.vine dot.jedrc.vine and jed.rc
  97. * Sat Feb 9 2002 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.14-0vl3
  98. - fixed input canna for xjed
  99. - delete jed-menu.patch
  100. - added BuildPrereq and info patch
  101. - added Help Browse Docs
  102. - modified README.vine
  103. * Wed Jan 23 2002 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.14-0vl2
  104. - fixed menu mode (added jed-menu.patch and fixed jedrc patch)
  105. - fixed jed on kon console
  106. - add xjed.desktop and delete wmconfig/xjed
  107. * Wed Oct 3 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.14-0vl1
  108. - update to jed-B0.99-14
  109. - fixed ruby mode
  110. * Sat Sep 8 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.13-0vl4
  111. - delete xjed & gpm patches and clean spec file
  112. added dot.skkrc.vine and fixed README.vine
  113. skktcp moved jed-common from jed
  114. * Sat Jul 28 2001 MATUBARA Kazuyuki <matubara@mb.asmnet.ne.jp> 0.99.13-0vl3
  115. - delete rgrep package
  116. - add ruby mode
  117. - byte compiled japanese.sl kinsoku.sl canna.sl skk.sl
  118. - fixed vi.sl and jp version
  119. * Sat Jul 14 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.13-0vl2
  120. - fixed typo in jed-B0.99-13jp0-make.patch
  121. ( ../info/jes.* -> ../info/jed.* )
  122. * Wed Jun 27 2001 Matubara <matubara@mb.asmnet.ne.jp>
  123. - 0.99.13-0vl1
  124. - updatei to jed-B0.99-13
  125. - use jed-B0.99-13jp1 patch
  126. - use better macros
  127. - add skktcp
  128. - use Release No for Vine Linux
  129. * Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  130. - 0.98.7_jp-3
  131. - /usr/man -> %%{_mandir}
  132. - added Japanese summary and description
  133. * Fri Sep 08 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  134. - 0.98.7_jp-2
  135. - modified %files section to handle compressed man page(s)
  136. * Fri Jul 16 1999 Daisuke SUZUKI <daisuke@linux.or.jp>
  137. - added japanese patch j055
  138. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  139. - auto rebuild in the new build environment (release 2)
  140. * Thu Oct 29 1998 Bill Nottingham <notting@redhat.com>
  141. - update to 0.98.7 for Raw Hide
  142. - split off lib stuff into jed-common
  143. * Mon Oct 5 1998 Jeff Johnson <jbj@redhat.com>
  144. - change rgep group tag, same as grep.
  145. * Sat Aug 15 1998 Jeff Johnson <jbj@redhat.com>
  146. - build root
  147. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  148. - translations modified for de, fr, tr
  149. * Wed Apr 15 1998 Erik Troan <ewt@redhat.com>
  150. - built against new ncurses
  151. * Mon Nov 3 1997 Michael Fulbright <msf@redhat.com>
  152. - added wmconfig entry for xjed
  153. * Tue Oct 21 1997 Michael Fulbright <msf@redhat.com>
  154. - updated to 0.98.4
  155. - included man pages in file lists
  156. * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
  157. - built against glibc