source: projects/specs/trunk/k/kon2/kon2-vl.spec @ 521

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

import VineSeed package specs

Line 
1Summary: KON - Kanji ON Linux console
2Summary(ja): KON - ´Á»ú¥³¥ó¥½¡¼¥ë
3Name: kon2
4Version: 0.3.9b
5Release: 0vl9
6Group: Applications/System
7Copyright: distributable
8Source0: ftp://ftp.linet.gr.jp/pub/KON/%{name}-%{version}.tar.gz
9Source1: ftp.linux.or.jp/pub/PJE/PJE-0.1beta/tgz/install/konfnt.tgz
10Patch: kon2-0.3.9-config.patch
11# patches for vine
12Patch100: kon2-0.3.9b-vine_config.patch
13Patch104: kon2-0.3.8-exec.diff
14#Patch105: kon2-0.3.8-tty.patch
15#Patch106: kon2-0.3.8-bufover.patch
16Patch107: kon2-0.3.9b-tty.patch
17Patch108: kon2-0.3.9b-bufover-fix.patch
18Patch109: kon2-0.3.9b-racecondition-fix3.patch
19Prereq: /usr/bin/tic
20ExclusiveArch: %{ix86}
21Buildroot: %{_tmppath}/%{name}-%{version}-root
22
23Vendor: Project Vine
24Distribution: Vine Linux
25Packager: ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
26
27%description
28kon is a Kanji emulator for console
29
30%description -l ja
31  KON ¤Ï Linux ¤Î¥³¥ó¥½¡¼¥ë²èÌ̾å¤Ç´Á»ú¤òɽ¼¨¤¹¤ë¤¿¤á¤Î¥×¥í¥°¥é¥à¤Ç¤¹¡£
32ɽ¼¨Êý¼°¤Ï DOS/V, minix-V, 386BSD KanjiHand ¤È(¶²¤é¤¯)Ʊ¤¸¤Ç¤¹¤¬¡¢
33minix-V ¤ä KanjiHand ¤È°Û¤Ê¤ëÅÀ¤¬°ì¤Ä¤¢¤ê¤Þ¤¹¡£KON ¤Ç¤Ïµ¿»÷üËö¤ò»È¤Ã
34¤Æ¥³¥ó¥½¡¼¥ë½ÐÎϤò¥Õ¥Ã¥¯¤·¡¢VGA ¤ËŸ³«¤·¤Æ¤¤¤Þ¤¹¡£¤·¤¿¤¬¤Ã¤Æ¥«¡¼¥Í¥ë
35¥½¡¼¥¹¤Ë¥Ñ¥Ã¥Á¤òÅö¤Æ¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¤¬¡¢minix-V ¤ä KanjiHand ¤Î¤è¤¦
36¤Ê³ÈÄ¥µ¡Ç½¤Ï´üÂԤǤ­¤Þ¤»¤ó¡£
37
38%package fonts
39Summary: Fonts for KON
40Summary(ja): KONÍÑ¥Õ¥©¥ó¥È
41Group: Applications/System
42
43%description fonts
44This package includes some fonts for Kon.
45They are supplied with public domain.
46
47%description fonts -l ja
48KON ÍѤΥե©¥ó¥È¤Ç¤¹¡£Public Domain ¤ÇÄ󶡤µ¤ì¤Æ¤¤¤Þ¤¹¡£
49
50%prep
51%setup -q
52#%patch -p1
53%patch100 -p1 -b .config
54%patch104 -p0 -b .exec
55#%patch105 -p1 -b .tty
56#%patch106 -p1 -b .bufover
57%patch107 -p1 -b .tty
58%patch108 -p1 -b .fld
59%patch109 -p1 -b .race
60
61%setup -D -a 1 -T
62find . -name '*.orig' -exec rm -f {} \;
63
64%build
65make
66
67%install
68rm -rf $RPM_BUILD_ROOT
69mkdir -p $RPM_BUILD_ROOT/usr/bin
70mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja/man1
71mkdir -p $RPM_BUILD_ROOT/usr/share/fonts
72mkdir -p $RPM_BUILD_ROOT/etc
73make install TOPDIR=$RPM_BUILD_ROOT MANDIR=$RPM_BUILD_ROOT%{_mandir}/ja/man1
74install -m 0444 usr/share/fonts/pubfont.a.gz $RPM_BUILD_ROOT/usr/share/fonts
75install -m 0444 usr/share/fonts/pubfont.k.gz $RPM_BUILD_ROOT/usr/share/fonts
76
77chmod 644 $RPM_BUILD_ROOT/etc/kon.cfg
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%post
83if [ ! -f /usr/share/terminfo/k/kon ];then
84        tic /usr/doc/kon2-%{PACKAGE_VERSION}/terminfo.kon
85fi
86
87if [ `grep -c '^kon|kanji on console' /etc/termcap` -eq 0 ];then
88        cat /usr/doc/kon2-%{PACKAGE_VERSION}/termcap.kon >> /etc/termcap
89fi
90
91%files
92%defattr(-,root,root)
93%doc doc/* terminfo.kon termcap.kon
94%config /etc/kon.cfg
95%attr (4755, root, root) /usr/bin/kon
96%attr (0755, root, root) /usr/bin/fld
97/usr/bin/swkon
98%attr (4755, root, root) /usr/bin/newvc
99%{_mandir}/ja/man1/kon.1*
100
101
102%files fonts
103%defattr(-,root,root)
104%dir /usr/share/fonts/
105/usr/share/fonts/pubfont.a.gz
106/usr/share/fonts/pubfont.k.gz
107
108%changelog
109* Thu Mar 27 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.prg> 0.3.9b-0vl9
110- rebuild
111
112* Wed Feb 20 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.9b-0vl8
113- rebuild
114
115* Fri Jun 01 2001 <sagami@vinelinux.org>
116- 0.3.9b-0vl7: install manpage into %%{_mandir}
117- ExclusiveArch: %%{ix86}
118
119* Thu Jul 20 2000 ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
120- missing setgid(getgid()), setuid(getuid()) before shell
121  fork(), now fixed.
122
123* Wed Jul 19 2000 ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
124- race condition bug fix was incorrect, so really fixed.
125
126* Mon Jul 10 2000 Jun Nishii <jun@vinelinux.org>
127- fix wrong subpackage name (kon2-font -> kon2-fonts)
128
129* Sun Jul  2 2000 ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
130- change from kon2-0.3.9-vine_config.patch to
131  kon2-0.3.9b-vine_config.patch to rebuild collectly
132
133* Sun Jul  2 2000 ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
134- Font loading can not work collectly in some environment.
135  It is fld and kon race condition bug. Now fixed.
136
137* Wed Jun 22 2000 ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
138- updated to 0.3.9b
139- fld security fix and more buffer overflow fix patch (writen by
140  Fumitoshi UKAI <ukai@debian.or.jp>) added
141- remove Vine's bufover patch because of fixed upstream.
142- replace Vine's tty patch to be able to apply to 0.3.9b
143- drop suid root from /usr/bin/fld
144- rebuild on RedHat 6.2
145
146* Thu Jun 9 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
147- remake SPEC file from rawhide.
148- ja_JP.ujis -> ja
149- added Vine's patches: exec, tty, bufover
150
151* Thu Mar 23 2000 Chris Ding <cding@redhat.com>
152- fixed terminfo path miss
153
154* Wed Mar 22 2000 Chris Ding <cding@redhat.com>
155- updated to 0.3.9
156- ja_JP.ujis -> ja_JP.eucJP
157- added prereq tag
158- changed group
159
160* Mon Oct 18 1999 Matt Wilson <msw@redhat.com>
161- rebuilt for 6.1
162- patched makefile so that it doesn't use hardcoded path
163- added attr tags
164
165* Sat Nov 22 1997 Susumu Nagashige <nagasige@netlaputa.ne.jp>
166* Wed Feb  4 1998 Keiichi Matsuzaki <chaki@tkyosf1.phys.s.u-tokyo.ac.jp>
167- 2nd release
Note: See TracBrowser for help on using the repository browser.