source: projects/specs/trunk/j/jfbterm/jfbterm-vl.spec @ 521

Revision 521, 3.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

RevLine 
[521]1Summary:     Multilingual Console for Linux Frame Buffer Device
2Summary(ja): Linux ¥Õ¥ì¡¼¥à¥Ð¥Ã¥Õ¥¡¥Ç¥Ð¥¤¥¹ÍÑ¿¸À¸ìÂбþ¥³¥ó¥½¡¼¥ë
3Name:        jfbterm
4Version:     0.4.7
5Release:     0vl3
6License:     distributable
7Group:       Applications/System
8Source:      %{name}-%{version}.tar.gz
9Source1:     termcap.jfbterm
10Source2:     terminfo.jfbterm
11Patch10:     %{name}-%{version}-sigchld.patch
12Patch11:     %{name}-%{version}-Makefile.patch
13BuildRoot:   %{_tmppath}/%{name}-%{version}-root
14URL:         http://jfbterm.sourceforge.jp/
15
16Source10:    jfbterm.conf.vine
17
18# following fonts derived from shinonome-0.9.10 and efont-unicode-bdf-0.4.2
19Source20:    efont-for-jfbterm.tar.bz2
20
21%description
22Multilingual Console for Linux Frame Buffer Device
23
24%description -l ja
25Linux ¥Õ¥ì¡¼¥à¥Ð¥Ã¥Õ¥¡ÍÑ¿¸À¸ìÂбþ¥³¥ó¥½¡¼¥ë
26
27
28%prep
29%setup -q -a 20
30%patch10 -p1
31%patch11 -p1
32
33install -m 644  %{SOURCE1} .
34install -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
45make
46
47
48%install
49rm -rf ${RPM_BUILD_ROOT}
50
51make DESTDIR=${RPM_BUILD_ROOT} install
52
53install -d ${RPM_BUILD_ROOT}%{_sysconfdir}
54install -m 644 %{SOURCE10} \
55        ${RPM_BUILD_ROOT}%{_sysconfdir}/jfbterm.conf
56
57install -m 644 efont-for-jfbterm/*.pcf.gz \
58        ${RPM_BUILD_ROOT}%{_datadir}/fonts/jfbterm/
59
60%clean
61rm -rf ${RPM_BUILD_ROOT}
62
63
64%post
65if [ ! -f %{_datadir}/terminfo/j/jfbterm ]; then
66        /usr/bin/tic %{_docdir}/%{name}-%{version}/terminfo.jfbterm
67fi
68
69if [ -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
75fi
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
Note: See TracBrowser for help on using the repository browser.