FreeWnn-vl.spec 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  1. %define version 1.1.1
  2. %define release 2%{?_dist_release}
  3. %define alpha 018
  4. %define localstatedir /var
  5. Summary: FreeWnn Japanese Input System
  6. Name: FreeWnn
  7. Version: %{version}
  8. Release: %{release}
  9. Group: Applications/System
  10. License: GPL
  11. URL: http://www.freewnn.org/
  12. %define tarball %{name}-%{version}-a%{alpha}
  13. Source0: ftp://ftp.freewnn.org/pub/FreeWnn/alpha/%{tarball}.tar.bz2
  14. Source1: FreeWnn.init
  15. Source2: cWnn.init
  16. Source3: tWnn.init
  17. Source4: kWnn.init
  18. Patch0: FreeWnn-fsstnd.patch
  19. Patch1: FreeWnn-ja-a017.patch
  20. Patch2: FreeWnn-noroot.patch
  21. Patch3: FreeWnn-noroot2.patch
  22. Patch4: jserverrc-g-jinmei.patch
  23. Patch5: FreeWnn-1.1.1-a018-cpp.patch
  24. Patch6: FreeWnn-1.1.1-config.sub.patch
  25. Patch7: FreeWnn-1.1.1-js.patch
  26. Prereq: grep, textutils, shadow-utils
  27. Requires: FreeWnn-common, chkconfig
  28. Conflicts: wnn6
  29. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  30. Summary(ja): FreeWnn 日本語入力システム
  31. Vendor: Project Vine
  32. Distribution: Vine Linux
  33. %description
  34. This distribution contains FreeWnn Japanese Input System.
  35. FreeWnn is a network-extensible Kana-to-Kanji conversion system
  36. and was jointly developed and released by the Software Research Group
  37. of KyotoUniversity Research Institute for Mathematical Science, OMRON
  38. Corporation and Astec, Inc.
  39. %description -l ja
  40. FreeWnn 仮名漢字変換システムは、京都大学数理解析研究所、オムロン株式会社、
  41. 株式会社アステックの3者によって開発されたネットワーク仮名漢字変換シス
  42. テムです。
  43. このパッケージには日本語入力サーバのみ含まれます。
  44. %package devel
  45. Summary: development library and header file for FreeWnn
  46. Group: Development/Libraries
  47. Summary(ja): FreeWnn(jserver) 用開発ライブラリとヘッダファイル
  48. %description devel
  49. This package contains the header file and library for building programs
  50. with use FreeWnn.
  51. %description devel -l ja
  52. このパッケージには FreeWnn を利用した日本語入力 client を
  53. コンパイルするために必要なヘッダファイルとライブラリが
  54. 含まれています。
  55. ############################################################
  56. # FreeWnn-common
  57. ############################################################
  58. %package common
  59. Summary: common File for Wnn
  60. Group: Applications/System
  61. Prereq: ldconfig
  62. %description common
  63. FreeWnn-common includes the files you need to run FreeWnn, cWnn or kWnn.
  64. Install FreeWnn-common if you will be using Wnn System.
  65. #############################################################
  66. # cWnn
  67. #############################################################
  68. %package -n cWnn
  69. Summary: cWnn Chinese Input System
  70. Group: Applications/System
  71. Requires: FreeWnn-common, cWnn-common
  72. Prereq: shadow-utils, cWnn-common
  73. %description -n cWnn
  74. This package include FreeWnn Chinese Input System.
  75. %package -n cWnn-common
  76. Summary: cWnn/tWnn Chinese Input System common file
  77. Group: Applications/System
  78. Requires: FreeWnn-common
  79. Prereq: shadow-utils, ldconfig
  80. %description -n cWnn-common
  81. This package include cWnn/tWnn Chinese Input System common file.
  82. %package -n cWnn-devel
  83. Summary: development library and header file for cWnn,tWnn.
  84. Group: Development/Libraries
  85. %description -n cWnn-devel
  86. This package contains the header file and library for building programs
  87. with use cWnn,tWnn.
  88. #############################################################
  89. # tWnn
  90. #############################################################
  91. %package -n tWnn
  92. Summary: tWnn Chinese Input System
  93. Group: Applications/System
  94. Requires: FreeWnn-common, cWnn-common
  95. Prereq: shadow-utils, cWnn-common
  96. %description -n tWnn
  97. tWnn Chinese Input System
  98. #############################################################
  99. # kWnn
  100. #############################################################
  101. %package -n kWnn
  102. Summary: kWnn Korean Input System
  103. Group: Applications/System
  104. Requires: FreeWnn-common
  105. Prereq: shadow-utils, ldconfig
  106. %description -n kWnn
  107. kWnn Korean Input System
  108. %package -n kWnn-devel
  109. Summary: development library and header file for kWnn
  110. Group: Development/Libraries
  111. %description -n kWnn-devel
  112. This package contains the header file and library for building programs
  113. with use kWnn.
  114. %prep
  115. %setup -q -n FreeWnn-1.1.1-a017-pl4/Xsi
  116. %patch0 -p2
  117. %patch1 -p2
  118. %patch2 -p2
  119. %patch3 -p2
  120. %patch4 -p2
  121. %patch5 -p2
  122. %patch6 -p2 -b .config.sub
  123. %patch7 -p2 -b .js
  124. cp -p %{SOURCE2} .
  125. %build
  126. autoconf
  127. %configure --target=%{_arch}-pc-linux-gnu
  128. ## for smp system.
  129. if [ "$SMP" != "" ]; then
  130. make -j$SMP "MAKE=make -j$SMP"
  131. make
  132. else
  133. make
  134. fi
  135. %install
  136. rm -rf $RPM_BUILD_ROOT
  137. make DESTDIR=$RPM_BUILD_ROOT install
  138. make DESTDIR=$RPM_BUILD_ROOT install.man
  139. #make DESTDIR=$RPM_BUILD_ROOT \
  140. # MANDIR=%{_prefix}/X11R6/man/ja_JP.ujis/man1 \
  141. # LIBMANDIR=%{_prefix}/X11R6/man/ja_JP.ujis/man3 \
  142. # install.man
  143. mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja/man1
  144. mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja/man3
  145. mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja/man4
  146. mkdir -p $RPM_BUILD_ROOT%{_mandir}/ja/man5
  147. cd $RPM_BUILD_ROOT%{_mandir}/man1
  148. for i in atod.1 atof.1 dtoa.1 jserver.1 oldatonewa.1 uum.1 wddel.1 wdreg.1 \
  149. wnnkill.1 wnnstat.1 wnntouch.1
  150. do
  151. mv $i $RPM_BUILD_ROOT%{_mandir}/ja/man1/
  152. done
  153. cd $RPM_BUILD_ROOT%{_mandir}/man3
  154. for i in *.3
  155. do
  156. mv $i $RPM_BUILD_ROOT%{_mandir}/ja/man3/
  157. done
  158. cd $RPM_BUILD_ROOT%{_mandir}/man4
  159. for i in 2a_ctrl.4 2b_romkana.4 cvt_key_tbl.4 fzk.data.4 fzk.u.4 \
  160. hinsi_data.4 jserverrc.4 mode.4 serverdefs.4 ujis_dic.4 \
  161. uumkey.4 uumrc.4 wnnenvrc.4
  162. do
  163. mv $i $RPM_BUILD_ROOT%{_mandir}/ja/man4/
  164. done
  165. cd $RPM_BUILD_ROOT%{_mandir}/man5
  166. for i in pubdic.5 usr_dic.5
  167. do
  168. mv $i $RPM_BUILD_ROOT%{_mandir}/ja/man5/
  169. done
  170. mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/init.d
  171. install -m755 %{SOURCE1} \
  172. $RPM_BUILD_ROOT/etc/rc.d/init.d/FreeWnn
  173. install -m755 %{SOURCE2} \
  174. $RPM_BUILD_ROOT/etc/rc.d/init.d/cWnn
  175. install -m755 %{SOURCE3} \
  176. $RPM_BUILD_ROOT/etc/rc.d/init.d/tWnn
  177. install -m755 %{SOURCE4} \
  178. $RPM_BUILD_ROOT/etc/rc.d/init.d/kWnn
  179. ln -sf /var/lib/wnn/ja/dic ${RPM_BUILD_ROOT}/etc/FreeWnn/ja/dic
  180. ln -sf /var/lib/wnn/zh_CN/dic ${RPM_BUILD_ROOT}/etc/FreeWnn/zh_CN/dic
  181. ln -sf /var/lib/wnn/zh_TW/dic ${RPM_BUILD_ROOT}/etc/FreeWnn/zh_TW/dic
  182. ln -sf /var/lib/wnn/ko_KR/dic ${RPM_BUILD_ROOT}/etc/FreeWnn/ko_KR/dic
  183. %clean
  184. rm -rf $RPM_BUILD_ROOT
  185. %pre
  186. # Do only for the first install
  187. if [ "$1" = 1 ] ; then
  188. # Add the wnn4 lines to /etc/services
  189. if (grep '22273/tcp' /etc/services >/dev/null); then
  190. cat <<'_EOD1_' >&2
  191. warning: The wnn4 services appear to be present in /etc/services.
  192. _EOD1_
  193. true
  194. else
  195. cat <<'_EOD2_' >>/etc/services
  196. # start of wnn4 services
  197. wnn4 22273/tcp
  198. # end of wnn4 services
  199. _EOD2_
  200. fi
  201. fi
  202. # add user 'wnn'
  203. if ! grep -q '^wnn:' /etc/passwd
  204. then
  205. /usr/sbin/useradd -M -u 127 wnn -c "Wnn System Account"
  206. fi
  207. %post
  208. /sbin/chkconfig --level 2345 FreeWnn on
  209. %{_bindir}/wnntouch /var/lib/wnn/ja/dic/gerodic/g-jinmei.dic
  210. cd /var/lib/wnn/ja/dic/pubdic
  211. %{_bindir}/wnntouch *.*
  212. %preun
  213. # Do only for the last un-install
  214. if [ "$1" = 0 ] ; then
  215. # remove the wnn4 lines from /etc/services
  216. if (grep '^# start of wnn4 services$' /etc/services >/dev/null && \
  217. grep '^# end of wnn4 services$' /etc/services >/dev/null ); then
  218. sed -e '/^# start of wnn4 services$/,/^# end of wnn4 services$/d' \
  219. </etc/services >/tmp/services.tmp$$
  220. cat /tmp/services.tmp$$ >/etc/services
  221. rm /tmp/services.tmp$$
  222. else
  223. cat <<'_EOD3_' >&2
  224. warning: Unable to find the lines `# start of wnn4 services' and
  225. warning: `# end of wnn4 services' in the file /etc/services.
  226. warning: You should remove the wnn4 services from /etc/service manually.
  227. _EOD3_
  228. fi
  229. fi
  230. /sbin/chkconfig --del FreeWnn
  231. %pre common
  232. # add user 'wnn'
  233. if ! grep -q '^wnn:' /etc/passwd
  234. then
  235. %{_sbindir}/useradd -M -u 127 wnn -c "Wnn System Account"
  236. fi
  237. %post common
  238. /sbin/ldconfig
  239. %postun common
  240. /sbin/ldconfig
  241. %pre -n cWnn
  242. # Do only for the first install
  243. if [ "$1" = 1 ] ; then
  244. # Add the wnn4_Cn lines to /etc/services
  245. if (grep '22289/tcp' /etc/services >/dev/null); then
  246. cat <<'_EOD1_' >&2
  247. warning: The cserver services appear to be present in /etc/services.
  248. _EOD1_
  249. true
  250. else
  251. cat <<'_EOD2_' >>/etc/services
  252. # start of wnn4_Cn services
  253. wnn4_Cn 22289/tcp
  254. # end of wnn4_Cn services
  255. _EOD2_
  256. fi
  257. fi
  258. # add user 'wnn'
  259. if ! grep -q '^wnn:' /etc/passwd
  260. then
  261. %{_sbindir}/useradd -M -u 127 wnn -c "Wnn System Account"
  262. fi
  263. %post -n cWnn
  264. /sbin/chkconfig --add cWnn
  265. cd /var/lib/wnn/zh_CN/dic/sys
  266. %{_bindir}/cwnntouch *.*
  267. %preun -n cWnn
  268. # Do only for the last un-install
  269. if [ "$1" = 0 ] ; then
  270. # remove the wnn4_Cn lines from /etc/services
  271. if (grep '^# start of wnn4_Cn services$' /etc/services >/dev/null && \
  272. grep '^# end of wnn4_Cn services$' /etc/services >/dev/null ); then
  273. sed -e '/^# start of wnn4_Cn services$/,/^# end of wnn4_Cn services$/d' \
  274. </etc/services >/tmp/services.tmp$$
  275. cat /tmp/services.tmp$$ >/etc/services
  276. rm /tmp/services.tmp$$
  277. else
  278. cat <<'_EOD3_' >&2
  279. warning: Unable to find the lines `# start of wnn4_Cn services' and
  280. warning: `# end of wnn4_Cn services' in the file /etc/services.
  281. warning: You should remove the wnn4_Cn services from /etc/service manually.
  282. _EOD3_
  283. fi
  284. fi
  285. /sbin/chkconfig --del cWnn
  286. %pre -n tWnn
  287. # Do only for the first install
  288. if [ "$1" = 1 ] ; then
  289. # Add the wnn4_Tw lines to /etc/services
  290. if (grep '22321/tcp' /etc/services >/dev/null); then
  291. cat <<'_EOD1_' >&2
  292. warning: The wnn4_Tw services appear to be present in /etc/services.
  293. _EOD1_
  294. true
  295. else
  296. cat <<'_EOD2_' >>/etc/services
  297. # start of wnn4_Tw services
  298. wnn4_Tw 22321/tcp
  299. # end of wnn4_Tw services
  300. _EOD2_
  301. fi
  302. fi
  303. %post -n cWnn-common
  304. /sbin/ldconfig
  305. %postun -n cWnn-common
  306. /sbin/ldconfig
  307. %post -n tWnn
  308. /sbin/chkconfig --add tWnn
  309. cd /var/lib/wnn/zh_TW/dic/sys
  310. %{_bindir}/cwnntouch *.*
  311. # Do only for the last un-install
  312. %preun -n tWnn
  313. if [ "$1" = 0 ] ; then
  314. # remove the wnn4_Tw lines from /etc/services
  315. if (grep '^# start of wnn4_Tw services$' /etc/services >/dev/null && \
  316. grep '^# end of wnn4_Tw services$' /etc/services >/dev/null ); then
  317. sed -e '/^# start of wnn4_Tw services$/,/^# end of wnn4_Tw services$/d' \
  318. </etc/services >/tmp/services.tmp$$
  319. cat /tmp/services.tmp$$ >/etc/services
  320. rm /tmp/services.tmp$$
  321. else
  322. cat <<'_EOD3_' >&2
  323. warning: Unable to find the lines `# start of wnn4_Tw services' and
  324. warning: `# end of wnn4_Tw services' in the file /etc/services.
  325. warning: You should remove the wnn4_Tw services from /etc/service manually.
  326. _EOD3_
  327. fi
  328. fi
  329. /sbin/chkconfig --del tWnn
  330. %pre -n kWnn
  331. # Do only for the first install
  332. if [ "$1" = 1 ] ; then
  333. # Add the wnn4_Kr lines to /etc/services
  334. if (grep '22305/tcp' /etc/services >/dev/null); then
  335. cat <<'_EOD1_' >&2
  336. warning: The kserver services appear to be present in /etc/services.
  337. _EOD1_
  338. true
  339. else
  340. cat <<'_EOD2_' >>/etc/services
  341. # start of wnn4_Kr services
  342. wnn4_Kr 22305/tcp
  343. # end of wnn4_Kr services
  344. _EOD2_
  345. fi
  346. fi
  347. %post -n kWnn
  348. /sbin/chkconfig --add kWnn
  349. cd /var/lib/wnn/ko_KR/dic/sys
  350. %{_bindir}/kwnntouch *.*
  351. /sbin/ldconfig
  352. %preun -n kWnn
  353. # Do only for the last un-install
  354. if [ "$1" = 0 ] ; then
  355. # remove the wnn4_Kr lines from /etc/services
  356. if (grep '^# start of wnn4_Kr services$' /etc/services >/dev/null && \
  357. grep '^# end of wnn4_Kr services$' /etc/services >/dev/null ); then
  358. sed -e '/^# start of wnn4_Kr services$/,/^# end of wnn4_Kr services$/d' \
  359. </etc/services >/tmp/services.tmp$$
  360. cat /tmp/services.tmp$$ >/etc/services
  361. rm /tmp/services.tmp$$
  362. else
  363. cat <<'_EOD3_' >&2
  364. warning: Unable to find the lines `# start of wnn4_Kr services' and
  365. warning: `# end of wnn4_Kr services' in the file /etc/services.
  366. warning: You should remove the wnn4_Kr services from /etc/service manually.
  367. _EOD3_
  368. fi
  369. fi
  370. /sbin/chkconfig --del kWnn
  371. %postun -n kWnn
  372. /sbin/ldconfig
  373. %files
  374. %defattr(-,root,root)
  375. %doc Wnn/manual Wnn/manual.en
  376. %config /etc/rc.d/init.d/FreeWnn
  377. %attr(-,wnn,root) %{_bindir}/atod
  378. %attr(-,wnn,root) %{_bindir}/dtoa
  379. %attr(-,wnn,root) %{_bindir}/oldatonewa
  380. %attr(-,wnn,root) %{_bindir}/wdreg
  381. %attr(-,wnn,root) %{_bindir}/wnnstat
  382. %attr(-,wnn,root) %{_bindir}/atof
  383. %attr(4711,wnn,root) %{_bindir}/jserver
  384. %attr(-,wnn,root) %{_bindir}/wddel
  385. %attr(-,wnn,root) %{_bindir}/wnnkill
  386. %attr(-,wnn,root) %{_bindir}/wnntouch
  387. %{_mandir}/ja/man1/*
  388. %{_mandir}/ja/man4/*
  389. %{_mandir}/ja/man5/*
  390. %attr(-,wnn,root)/var/lib/wnn/ja/dic
  391. %dir /etc/FreeWnn/ja
  392. /etc/FreeWnn/ja/dic
  393. %config /etc/FreeWnn/ja/hinsi.data
  394. %config /etc/FreeWnn/ja/jserverrc
  395. %config /etc/FreeWnn/ja/libwnn.msg
  396. %config /etc/FreeWnn/ja/rk
  397. %config /etc/FreeWnn/ja/rk.vi
  398. %config /etc/FreeWnn/ja/uum.msg
  399. %config /etc/FreeWnn/ja/uumkey
  400. %config /etc/FreeWnn/ja/uumkey.omr
  401. %config /etc/FreeWnn/ja/uumkey_e
  402. %config /etc/FreeWnn/ja/uumrc
  403. %config /etc/FreeWnn/ja/uumrc.omr
  404. %config /etc/FreeWnn/ja/uumrc.rev
  405. %config /etc/FreeWnn/ja/uumrc_e
  406. %config /etc/FreeWnn/ja/uumrc_vi
  407. %config /etc/FreeWnn/ja/wnnenvrc
  408. %config /etc/FreeWnn/ja/wnnenvrc.omr
  409. %config /etc/FreeWnn/ja/wnnenvrc.rem
  410. %config /etc/FreeWnn/ja/wnnenvrc.rev
  411. %config /etc/FreeWnn/ja/wnnenvrc_R
  412. %config /etc/FreeWnn/ja/wnnenvrc_R.omr
  413. %config /etc/FreeWnn/ja/wnnenvrc_R.rem
  414. %config /etc/FreeWnn/ja/wnnstat.msg
  415. %dir /etc/FreeWnn/lt_LN
  416. /etc/FreeWnn/lt_LN/rk
  417. %config /etc/FreeWnn/lt_LN/uum.msg
  418. %config /etc/FreeWnn/lt_LN/uumkey
  419. %config /etc/FreeWnn/lt_LN/uumkey_e
  420. %config /etc/FreeWnn/lt_LN/uumrc
  421. %files devel
  422. %defattr(-,root,root)
  423. %{_includedir}/wnn/*
  424. %{_libdir}/libjd.a
  425. %{_libdir}/libjd.so
  426. %{_libdir}/libwnn.a
  427. %{_libdir}/libwnn.so
  428. %{_mandir}/ja/man3/*
  429. %files common
  430. %defattr(-,root,root)
  431. %doc CONTRIBUTORS ChangeLog
  432. %{_libdir}/libjd.so.*
  433. %{_libdir}/libwnn.so.*
  434. %dir /etc/FreeWnn
  435. %config /etc/FreeWnn/cvt_key_empty
  436. %config /etc/FreeWnn/cvt_key_tbl
  437. %config /etc/FreeWnn/cvt_key_tbl.ST
  438. %config /etc/FreeWnn/cvt_key_tbl.gm
  439. %config /etc/FreeWnn/cvt_key_tbl.kt
  440. %config /etc/FreeWnn/cvt_key_tbl.mv
  441. %config /etc/FreeWnn/cvt_key_tbl.vt
  442. %config /etc/FreeWnn/serverdefs
  443. %files -n cWnn
  444. %defattr(-,root,root)
  445. %config /etc/rc.d/init.d/cWnn
  446. %attr(4711,wnn,root) %{_bindir}/cserver
  447. %dir /etc/FreeWnn/zh_CN
  448. %config /etc/FreeWnn/zh_CN/cixing.data
  449. %config /etc/FreeWnn/zh_CN/cserverrc
  450. /etc/FreeWnn/zh_CN/dic
  451. %attr(-,wnn,root)/var/lib/wnn/zh_CN/dic
  452. %config /etc/FreeWnn/zh_CN/libwnn.msg
  453. /etc/FreeWnn/zh_CN/rk
  454. /etc/FreeWnn/zh_CN/rk_p
  455. /etc/FreeWnn/zh_CN/rk_z
  456. /etc/FreeWnn/zh_CN/uum.msg
  457. /etc/FreeWnn/zh_CN/uumkey
  458. /etc/FreeWnn/zh_CN/uumkey_e
  459. /etc/FreeWnn/zh_CN/uumkey_p
  460. %config /etc/FreeWnn/zh_CN/uumrc
  461. %config /etc/FreeWnn/zh_CN/uumrc_p
  462. %config /etc/FreeWnn/zh_CN/uumrc_z
  463. %config /etc/FreeWnn/zh_CN/wnnenvrc
  464. %config /etc/FreeWnn/zh_CN/wnnenvrc_Qi
  465. %config /etc/FreeWnn/zh_CN/wnnenvrc_QiR
  466. %config /etc/FreeWnn/zh_CN/wnnenvrc_R
  467. %config /etc/FreeWnn/zh_CN/wnnenvrc_Wu
  468. %config /etc/FreeWnn/zh_CN/wnnenvrc_WuR
  469. %config /etc/FreeWnn/zh_CN/wnnstat.msg
  470. %{_mandir}/man1/cserver.1*
  471. %files -n cWnn-common
  472. %defattr(-,root,root)
  473. %doc cWnn/manual cWnn/manual.en
  474. %{_libdir}/libcwnn.so.*
  475. %{_bindir}/catod
  476. %{_bindir}/catof
  477. %{_bindir}/cdtoa
  478. %{_bindir}/cwddel
  479. %{_bindir}/cwdreg
  480. %{_bindir}/cwnnkill
  481. %{_bindir}/cwnnstat
  482. %{_bindir}/cwnntouch
  483. %{_mandir}/man1/catod.1*
  484. %{_mandir}/man1/catof.1*
  485. %{_mandir}/man1/cdicsort.1*
  486. %{_mandir}/man1/cdtoa.1*
  487. %{_mandir}/man1/cuum.1*
  488. %{_mandir}/man1/cwddel.1*
  489. %{_mandir}/man1/cwdreg.1*
  490. %{_mandir}/man1/cwnnkill.1*
  491. %{_mandir}/man1/cwnnstat.1*
  492. %{_mandir}/man4/cenv.4*
  493. %{_mandir}/man4/ckey.4*
  494. %{_mandir}/man4/cwnn.4*
  495. %{_mandir}/man4/cst_end.4*
  496. %files -n cWnn-devel
  497. %defattr(-,root,root)
  498. %{_includedir}/cwnn/*
  499. %{_libdir}/libcwnn.a
  500. %{_libdir}/libcwnn.so
  501. %files -n tWnn
  502. %defattr(-,root,root)
  503. %config /etc/rc.d/init.d/tWnn
  504. %attr(4711,wnn,root) %{_bindir}/tserver
  505. %dir /etc/FreeWnn/zh_TW
  506. %config /etc/FreeWnn/zh_TW/cixing.data
  507. /etc/FreeWnn/zh_TW/dic
  508. %attr(-,wnn,root) /var/lib/wnn/zh_TW/dic
  509. %config /etc/FreeWnn/zh_TW/libwnn.msg
  510. /etc/FreeWnn/zh_TW/rk
  511. /etc/FreeWnn/zh_TW/rk_p
  512. /etc/FreeWnn/zh_TW/rk_z
  513. %config /etc/FreeWnn/zh_TW/tserverrc
  514. %config /etc/FreeWnn/zh_TW/uum.msg
  515. %config /etc/FreeWnn/zh_TW/uumkey
  516. %config /etc/FreeWnn/zh_TW/uumkey_e
  517. %config /etc/FreeWnn/zh_TW/uumkey_p
  518. %config /etc/FreeWnn/zh_TW/uumrc
  519. %config /etc/FreeWnn/zh_TW/uumrc_p
  520. %config /etc/FreeWnn/zh_TW/uumrc_z
  521. %config /etc/FreeWnn/zh_TW/wnnenvrc
  522. %config /etc/FreeWnn/zh_TW/wnnenvrc_R
  523. %config /etc/FreeWnn/zh_TW/wnnstat.msg
  524. %files -n kWnn
  525. %defattr(-,root,root)
  526. %config /etc/rc.d/init.d/kWnn
  527. %{_libdir}/libkwnn.so.*
  528. %{_bindir}/katod
  529. %{_bindir}/katof
  530. %{_bindir}/kdtoa
  531. %attr(4711,wnn,root) %{_bindir}/kserver
  532. %{_bindir}/kwddel
  533. %{_bindir}/kwdreg
  534. %{_bindir}/kwnnkill
  535. %{_bindir}/kwnnstat
  536. %{_bindir}/kwnntouch
  537. %dir /etc/FreeWnn/ko_KR
  538. /etc/FreeWnn/ko_KR/dic
  539. %attr(-,wnn,root) /var/lib/wnn/ko_KR/dic
  540. %config /etc/FreeWnn/ko_KR/hinsi.data
  541. %config /etc/FreeWnn/ko_KR/kserverrc
  542. %config /etc/FreeWnn/ko_KR/libwnn.msg
  543. /etc/FreeWnn/ko_KR/rk
  544. %config /etc/FreeWnn/ko_KR/uum.msg
  545. %config /etc/FreeWnn/ko_KR/uumkey
  546. %config /etc/FreeWnn/ko_KR/uumrc
  547. %config /etc/FreeWnn/ko_KR/wnnenvrc
  548. %config /etc/FreeWnn/ko_KR/wnnenvrc_R
  549. %config /etc/FreeWnn/ko_KR/wnnstat.msg
  550. %files -n kWnn-devel
  551. %defattr(-,root,root)
  552. %{_includedir}/kwnn/*
  553. %{_libdir}/libkwnn.a
  554. %{_libdir}/libkwnn.so
  555. %changelog
  556. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.1-2vl5
  557. - applied new versioning policy, spec in utf-8
  558. * Sat Sep 01 2007 Shu KONNO <owa@bg.wakwak.com> 1.1.1-1vl11
  559. - s/Copyright/License/
  560. - added Patch6: FreeWnn-1.1.1-config.sub.patch
  561. - added Patch7: FreeWnn-1.1.1-js.patch
  562. - added option '--target=%%{_arch}-pc-linux-gnu' to %%configure
  563. * Wed Aug 01 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  564. - 1.1.1-1vl10
  565. - added Patch5 along with adding "autoconf" in %%build section
  566. (cpp is /lib/cpp, not `gcc -print-prog-name=cpp`, ad-hoc though...)
  567. * Wed Jul 18 2001 Yasuhide OOMORI <dasen@icntv.ne.jp>
  568. - 1.1.1-1vl9
  569. - rebuilt on egcs-1.1.2-24vl19
  570. - update to FreeWnn-1.1.1-a018
  571. - renewed FreeWnn-noroot.patch
  572. * Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  573. - 1.1.1-1vl8
  574. - rebuilt for VineSeed (with new %%{_mandir} definition)
  575. * Thu Jan 11 2001 Tomoya TAKA <tomoya@olive.plala.or.jp> 1.1.1-1vl7
  576. - removed options of %%configure
  577. * Sun Nov 19 2000 Satoshi MACHINO <machino@vinelinux.org> 1.1.1-1vl6
  578. - build with gcc-2.95.3
  579. - partially used rpmmacros
  580. * Tue Jul 25 2000 Lisa Sagami <czs14350@mb.infoweb.ne.jp>
  581. - changed: each package (except devel) owns /etc/FreeWnn/* by adding %dir
  582. - modified again *.init to do with socket left in /tmp
  583. * Fri Jul 14 2000 Lisa Sagami <czs14350@nifty.ne.jp>
  584. - add %pre to addusr 127/wnn to avoid non-root build failure
  585. - modified *.init to do with socket left in /tmp
  586. - correct %doc
  587. * Tue Jul 11 2000 Masato Bito <masato@nets.ce.hiroshima-cu.ac.jp>
  588. - 1.1.1-1vl3
  589. - modified %patch0 -p3 -> %patch0 -p2
  590. - modified BuildRoot:
  591. * Thu Jul 6 2000 Jun Nishii <jun@vinelinux.org>
  592. - 1.1.1-1vl2
  593. - fix bug in FreeWnn-ja-a017.patch
  594. * Wed Jul 5 2000 Jun Nishii <jun@vinelinux.org>
  595. - 1.1.1-1vl1
  596. - handle man page compress
  597. - update to FreeWnn-1.1.1-a017
  598. * Mon Jan 31 2000 Norihito Ohmori <nono@kondara.org>
  599. - ja_JP -> ja
  600. - configuration file move to /etc
  601. - change group.
  602. - add cWnn and kWnn.
  603. - add FreeWnn-common Package.
  604. - remove sample.eggrc
  605. * Tue Jan 25 2000 Norihito Ohmori <nono@vinelinux.org>
  606. - add defattr and attr for %files section
  607. * Tue Nov 23 1999 Norihito Ohmori <ohmori@flatout.org>
  608. - add Requires: chkconfig
  609. - Conflicts change from Wnn6 to wnn6
  610. * Fri Nov 12 1999 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rins.st.ryukoku.ac.jp>
  611. - FreeWnn-1.1.1-0.a013.4
  612. - added Prereq: grep,textutils
  613. * Wed Nov 10 1999 Jun Nishii <jun@flatout.org>
  614. - remove cWnn and kWnn
  615. * Sun Nov 7 1999 Yasuhide OOMORI <dasen@typhoon.co.jp>
  616. - [FreeWnn-1.1.1-0.a013.2]
  617. - Added a sample file of .eggrc to utilize gerodic.
  618. - Now do not ldconfig after installation of FreeWnn-devel.
  619. - Enabled you to compile with multi processors.
  620. - Added 'Prereq: shadow-utils' for installation.
  621. - Modified FreeWnn-jserver.script against error at boot time.
  622. * Wed Oct 20 1999 Yasuhide OOMORI <dasen@typhoon.co.jp>
  623. - [FreeWnn-1.1.1-0.a013.1]
  624. - Updated to FreeWnn-1.1.1-a013.
  625. - Separated cWnn,kWnn packages again.
  626. - Make this package relocatable.
  627. - Keep jserverrc and wnnenvrc when upgrading.
  628. * Fri Sep 24 1999 Masaru Yokoi <yokoi @yk.fks.ryukoku.ac.jp>
  629. - [FreeWnn-1.10-3]
  630. - Added /var/lib/wnn/*/dic/usr .
  631. - Moved libwnn.a from FreeWnn package to FreeWnn-devel package.
  632. - Moved Japanese manuals from /usr/X11R6/man/man*
  633. - to /usr/X11R6/man/ja_JP.ujis/man* .
  634. * Wed Aug 11 1999 Masaru Yokoi <yokoi@yk.fks.ryukoku.ac.jp>
  635. - First release. Original idea is Sat Jul 12 1999 Norihito Ohmori
  636. - <ohmori@flatout.org>