| 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 | |
|---|
| 16 | Source10: jfbterm.conf.vine |
|---|
| 17 | |
|---|
| 18 | # following fonts derived from shinonome-0.9.10 and efont-unicode-bdf-0.4.2 |
|---|
| 19 | Source20: efont-for-jfbterm.tar.bz2 |
|---|
| 20 | |
|---|
| 21 | %description |
|---|
| 22 | Multilingual Console for Linux Frame Buffer Device |
|---|
| 23 | |
|---|
| 24 | %description -l ja |
|---|
| 25 | Linux ¥Õ¥ì¡¼¥à¥Ð¥Ã¥Õ¥¡ÍÑ¿¸À¸ìÂбþ¥³¥ó¥½¡¼¥ë |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | %prep |
|---|
| 29 | %setup -q -a 20 |
|---|
| 30 | %patch10 -p1 |
|---|
| 31 | %patch11 -p1 |
|---|
| 32 | |
|---|
| 33 | install -m 644 %{SOURCE1} . |
|---|
| 34 | install -m 644 %{SOURCE2} . |
|---|
| 35 | |
|---|
| 36 | |
|---|
| 37 | %build |
|---|
| 38 | %{__libtoolize} --copy --force |
|---|
| 39 | %ifarch i386 |
|---|
| 40 | %configure --enable-direct-color |
|---|
| 41 | %else |
|---|
| 42 | %configure --enable-direct-color --disable-vga16fb |
|---|
| 43 | %endif |
|---|
| 44 | |
|---|
| 45 | make |
|---|
| 46 | |
|---|
| 47 | |
|---|
| 48 | %install |
|---|
| 49 | rm -rf ${RPM_BUILD_ROOT} |
|---|
| 50 | |
|---|
| 51 | make DESTDIR=${RPM_BUILD_ROOT} install |
|---|
| 52 | |
|---|
| 53 | install -d ${RPM_BUILD_ROOT}%{_sysconfdir} |
|---|
| 54 | install -m 644 %{SOURCE10} \ |
|---|
| 55 | ${RPM_BUILD_ROOT}%{_sysconfdir}/jfbterm.conf |
|---|
| 56 | |
|---|
| 57 | install -m 644 efont-for-jfbterm/*.pcf.gz \ |
|---|
| 58 | ${RPM_BUILD_ROOT}%{_datadir}/fonts/jfbterm/ |
|---|
| 59 | |
|---|
| 60 | %clean |
|---|
| 61 | rm -rf ${RPM_BUILD_ROOT} |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | %post |
|---|
| 65 | if [ ! -f %{_datadir}/terminfo/j/jfbterm ]; then |
|---|
| 66 | /usr/bin/tic %{_docdir}/%{name}-%{version}/terminfo.jfbterm |
|---|
| 67 | fi |
|---|
| 68 | |
|---|
| 69 | if [ -f %{_sysconfdir}/termcap ]; then |
|---|
| 70 | if [ `grep -c '^jfbterm|Japanized framebuffer terminal' %{_sysconfdir}/termcap` -eq 0 ]; then |
|---|
| 71 | mv %{_sysconfdir}/termcap %{_sysconfdir}/termcap.orig |
|---|
| 72 | cp %{_sysconfdir}/termcap.orig %{_sysconfdir}/termcap |
|---|
| 73 | cat %{_docdir}/%{name}-%{version}/termcap.jfbterm >> %{_sysconfdir}/termcap |
|---|
| 74 | fi |
|---|
| 75 | fi |
|---|
| 76 | |
|---|
| 77 | |
|---|
| 78 | %files |
|---|
| 79 | %defattr(-,root,root) |
|---|
| 80 | %doc AUTHORS COPYING ChangeLog INSTALL* NEWS README* |
|---|
| 81 | %doc termcap.jfbterm terminfo.jfbterm jfbterm.conf.sample* |
|---|
| 82 | %doc efont-for-jfbterm/README* efont-for-jfbterm/COPYRIGHT |
|---|
| 83 | %attr(6755,root,utmp) %{_bindir}/jfbterm |
|---|
| 84 | %config %{_sysconfdir}/jfbterm.conf |
|---|
| 85 | %dir %{_datadir}/fonts/jfbterm |
|---|
| 86 | %{_datadir}/fonts/jfbterm/* |
|---|
| 87 | |
|---|
| 88 | |
|---|
| 89 | %changelog |
|---|
| 90 | * Thu Oct 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.7-0vl3 |
|---|
| 91 | - include shinm7x14r for romakana font |
|---|
| 92 | - include b14/b16 for unicode font (from efont-unicode-bdf-0.4.2) |
|---|
| 93 | - update jfbterm.conf |
|---|
| 94 | |
|---|
| 95 | * Tue Oct 16 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.4.7-0vl2 |
|---|
| 96 | - rebuilt with new toolchain for VineSeed |
|---|
| 97 | - include shinonome 14/16 fonts |
|---|
| 98 | |
|---|
| 99 | * Sat Oct 21 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.4.7-0vl1 |
|---|
| 100 | - updated to 0.4.7 release (current upstream is at sourceforge.jp) |
|---|
| 101 | - added sigchld patch to fix lockup problem (borrowed from debian) |
|---|
| 102 | |
|---|
| 103 | * Wed Aug 02 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
|---|
| 104 | - 0.3.10-1vl1 |
|---|
| 105 | - merged a patch (by Mr. AMANO Kazuhiro) to fix some problems |
|---|
| 106 | |
|---|
| 107 | * Thu Jan 27 2000 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp> |
|---|
| 108 | - updated jfbterm to 0.3.10. |
|---|
| 109 | |
|---|
| 110 | * Mon Jan 17 2000 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp> |
|---|
| 111 | - updated jfbterm to 0.3.8. |
|---|
| 112 | |
|---|
| 113 | * Fri Dec 03 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp> |
|---|
| 114 | - changed the name of TERM to jfbterm. |
|---|
| 115 | |
|---|
| 116 | * Thu Nov 30 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp> |
|---|
| 117 | - updated jfbterm to 0.3.7. |
|---|
| 118 | |
|---|
| 119 | * Thu Nov 25 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp> |
|---|
| 120 | - updated jfbterm to 0.3.6. |
|---|
| 121 | - enabled direct-color for ppc. |
|---|
| 122 | |
|---|
| 123 | * Tue Nov 02 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp> |
|---|
| 124 | - updated jfbterm to 0.3.3. |
|---|
| 125 | |
|---|
| 126 | * Wed Oct 27 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp> |
|---|
| 127 | - added install script for terminfo and termcap data. |
|---|
| 128 | |
|---|
| 129 | * Mon Oct 25 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp> |
|---|
| 130 | - added terminfo and termcap data. |
|---|
| 131 | - updated jfbterm to 0.3.2. |
|---|
| 132 | |
|---|
| 133 | * Sat Oct 23 1999 AMANO Kazuhiro <amano@uv.rism.tohoku.ac.jp> |
|---|
| 134 | - updated jfbterm to 0.2.1 |
|---|
| 135 | |
|---|
| 136 | * Wed Jul 14 1999 KUSUNOKI Masanori <masanori@linux.or.jp> |
|---|
| 137 | - first release |
|---|
| 138 | |
|---|