jed-vl.spec 6.2 KB

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