jfbterm-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. Summary: Multilingual Console for Linux Frame Buffer Device
  2. Summary(ja): Linux フレームバッファデバイス用多言語対応コンソール
  3. Name: jfbterm
  4. Version: 0.4.7
  5. Release: 0vl3
  6. License: distributable
  7. Group: Applications/System
  8. Source: %{name}-%{version}.tar.gz
  9. Source1: termcap.jfbterm
  10. Source2: terminfo.jfbterm
  11. Patch10: %{name}-%{version}-sigchld.patch
  12. Patch11: %{name}-%{version}-Makefile.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. URL: http://jfbterm.sourceforge.jp/
  15. Source10: jfbterm.conf.vine
  16. # following fonts derived from shinonome-0.9.10 and efont-unicode-bdf-0.4.2
  17. Source20: efont-for-jfbterm.tar.bz2
  18. %description
  19. Multilingual Console for Linux Frame Buffer Device
  20. %description -l ja
  21. Linux フレームバッファ用多言語対応コンソール
  22. %prep
  23. %setup -q -a 20
  24. %patch10 -p1
  25. %patch11 -p1
  26. install -m 644 %{SOURCE1} .
  27. install -m 644 %{SOURCE2} .
  28. %build
  29. %{__libtoolize} --copy --force
  30. %ifarch i386
  31. %configure --enable-direct-color
  32. %else
  33. %configure --enable-direct-color --disable-vga16fb
  34. %endif
  35. make
  36. %install
  37. rm -rf ${RPM_BUILD_ROOT}
  38. make DESTDIR=${RPM_BUILD_ROOT} install
  39. install -d ${RPM_BUILD_ROOT}%{_sysconfdir}
  40. install -m 644 %{SOURCE10} \
  41. ${RPM_BUILD_ROOT}%{_sysconfdir}/jfbterm.conf
  42. install -m 644 efont-for-jfbterm/*.pcf.gz \
  43. ${RPM_BUILD_ROOT}%{_datadir}/fonts/jfbterm/
  44. %clean
  45. rm -rf ${RPM_BUILD_ROOT}
  46. %post
  47. if [ ! -f %{_datadir}/terminfo/j/jfbterm ]; then
  48. /usr/bin/tic %{_docdir}/%{name}-%{version}/terminfo.jfbterm
  49. fi
  50. if [ -f %{_sysconfdir}/termcap ]; then
  51. if [ `grep -c '^jfbterm|Japanized framebuffer terminal' %{_sysconfdir}/termcap` -eq 0 ]; then
  52. mv %{_sysconfdir}/termcap %{_sysconfdir}/termcap.orig
  53. cp %{_sysconfdir}/termcap.orig %{_sysconfdir}/termcap
  54. cat %{_docdir}/%{name}-%{version}/termcap.jfbterm >> %{_sysconfdir}/termcap
  55. fi
  56. fi
  57. %files
  58. %defattr(-,root,root)
  59. %doc AUTHORS COPYING ChangeLog INSTALL* NEWS README*
  60. %doc termcap.jfbterm terminfo.jfbterm jfbterm.conf.sample*
  61. %doc efont-for-jfbterm/README* efont-for-jfbterm/COPYRIGHT
  62. %attr(6755,root,utmp) %{_bindir}/jfbterm
  63. %config %{_sysconfdir}/jfbterm.conf
  64. %dir %{_datadir}/fonts/jfbterm
  65. %{_datadir}/fonts/jfbterm/*
  66. %changelog
  67. * Thu Oct 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.7-0vl3
  68. - include shinm7x14r for romakana font
  69. - include b14/b16 for unicode font (from efont-unicode-bdf-0.4.2)
  70. - update jfbterm.conf
  71. * Tue Oct 16 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.4.7-0vl2
  72. - rebuilt with new toolchain for VineSeed
  73. - include shinonome 14/16 fonts
  74. * Sat Oct 21 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.4.7-0vl1
  75. - updated to 0.4.7 release (current upstream is at sourceforge.jp)
  76. - added sigchld patch to fix lockup problem (borrowed from debian)
  77. * Wed Aug 02 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  78. - 0.3.10-1vl1
  79. - merged a patch (by Mr. AMANO Kazuhiro) to fix some problems
  80. * Thu Jan 27 2000 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp>
  81. - updated jfbterm to 0.3.10.
  82. * Mon Jan 17 2000 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp>
  83. - updated jfbterm to 0.3.8.
  84. * Fri Dec 03 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp>
  85. - changed the name of TERM to jfbterm.
  86. * Thu Nov 30 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp>
  87. - updated jfbterm to 0.3.7.
  88. * Thu Nov 25 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp>
  89. - updated jfbterm to 0.3.6.
  90. - enabled direct-color for ppc.
  91. * Tue Nov 02 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp>
  92. - updated jfbterm to 0.3.3.
  93. * Wed Oct 27 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp>
  94. - added install script for terminfo and termcap data.
  95. * Mon Oct 25 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp>
  96. - added terminfo and termcap data.
  97. - updated jfbterm to 0.3.2.
  98. * Sat Oct 23 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp>
  99. - updated jfbterm to 0.2.1
  100. * Wed Jul 14 1999 KUSUNOKI Masanori <masanori@linux.or.jp>
  101. - first release