jed-vl.spec 6.2 KB

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