]>
Commit | Line | Data |
---|---|---|
1 | Summary: FreeWnn Japanese Input System | |
2 | Summary(pl.UTF-8): FreeWnn - system wprowadzania znaków japońskich | |
3 | Name: FreeWnn | |
4 | Version: 1.1.1 | |
5 | %define subver a021 | |
6 | Release: 0.%{subver}.2 | |
7 | Epoch: 2 | |
8 | License: LGPL v2+ (libraries), GPL v2+ (programs) | |
9 | Group: Applications/System | |
10 | #Source0Download: http://sourceforge.jp/projects/freewnn/releases/ | |
11 | Source0: http://dl.sourceforge.jp/freewnn/17724/%{name}-%{version}-%{subver}.tar.bz2 | |
12 | # Source0-md5: 7e15ab385932d58e3743400d303a05e6 | |
13 | Source1: %{name}.init | |
14 | Source2: %{name}-cWnn.init | |
15 | Source3: %{name}-tWnn.init | |
16 | Source4: %{name}-kWnn.init | |
17 | Patch0: %{name}-fhs.patch | |
18 | Patch1: %{name}-ja.patch | |
19 | Patch2: %{name}-noroot.patch | |
20 | Patch3: %{name}-jserverrc-g-jinmei.patch | |
21 | Patch4: %{name}-reuid.patch | |
22 | Patch5: %{name}-manpaths.patch | |
23 | Patch6: %{name}-libtool.patch | |
24 | Patch7: %{name}-cpp.patch | |
25 | Patch8: %{name}-install.patch | |
26 | Patch9: %{name}-link.patch | |
27 | Patch10: %{name}-format.patch | |
28 | URL: http://www.freewnn.org/ | |
29 | BuildRequires: autoconf | |
30 | BuildRequires: automake | |
31 | BuildRequires: libtool | |
32 | BuildRequires: libwrap-devel | |
33 | BuildRequires: ncurses-devel | |
34 | BuildRequires: rpmbuild(macros) >= 1.268 | |
35 | Requires(post,preun): /sbin/chkconfig | |
36 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
37 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
38 | Requires: setup >= 2.4.1 | |
39 | Conflicts: wnn6 | |
40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
41 | ||
42 | %define _sysconfdir /etc/FreeWnn | |
43 | ||
44 | %description | |
45 | This distribution contains FreeWnn Japanese Input System. FreeWnn is a | |
46 | network-extensible Kana-to-Kanji conversion system and was jointly | |
47 | developed and released by the Software Research Group of Kyoto | |
48 | University Research Institute for Mathematical Science, OMRON | |
49 | Corporation and Astec, Inc. | |
50 | ||
51 | %description -l pl.UTF-8 | |
52 | Ten pakiet zawiera system wprowadzania znaków japońskich FreeWnn. Jest | |
53 | to, działający także przez sieć, system konwersji Kana do Kanji, | |
54 | stworzony i rozwijany wspólnie przez Software Research Group z | |
55 | Institute for Mathematical Science Kyoto University, OMRON Corporation | |
56 | oraz Astec, Inc. | |
57 | ||
58 | %package libs | |
59 | Summary: Runtime library for FreeWnn | |
60 | Summary(pl.UTF-8): Biblioteki współdzielone FreeWnn | |
61 | Group: Libraries | |
62 | ||
63 | %description libs | |
64 | This package contains the runtime library for running programs with | |
65 | FreeWnn. | |
66 | ||
67 | %description libs -l pl.UTF-8 | |
68 | Ten pakiet zawiera biblioteki współdzielone FreeWnn. | |
69 | ||
70 | %package devel | |
71 | Summary: Header files for FreeWnn | |
72 | Summary(pl.UTF-8): Pliki nagłówkowe FreeWnn | |
73 | Group: Development/Libraries | |
74 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
75 | ||
76 | %description devel | |
77 | This package contains the header files for building programs with use | |
78 | FreeWnn. | |
79 | ||
80 | %description devel -l pl.UTF-8 | |
81 | Ten pakiet zawiera pliki nagłówkowe potrzebne do budowania programów | |
82 | używających FreeWnn. | |
83 | ||
84 | %package static | |
85 | Summary: Static FreeWnn library | |
86 | Summary(pl.UTF-8): Statyczna biblioteka FreeWnn | |
87 | Group: Development/Libraries | |
88 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
89 | ||
90 | %description static | |
91 | Static version of FreeWnn library. | |
92 | ||
93 | %description static -l pl.UTF-8 | |
94 | Statyczna wersja biblioteki FreeWnn. | |
95 | ||
96 | %package common | |
97 | Summary: Common files for Wnn | |
98 | Summary(pl.UTF-8): Wspólne pliki Wnn | |
99 | Group: Applications/System | |
100 | Requires(postun): /usr/sbin/groupdel | |
101 | Requires(postun): /usr/sbin/userdel | |
102 | Requires(pre): /bin/id | |
103 | Requires(pre): /usr/bin/getgid | |
104 | Requires(pre): /usr/sbin/groupadd | |
105 | Requires(pre): /usr/sbin/useradd | |
106 | Provides: group(wnn) | |
107 | Provides: user(wnn) | |
108 | ||
109 | %description common | |
110 | FreeWnn-common includes the files you need to run FreeWnn, cWnn or | |
111 | kWnn. | |
112 | ||
113 | %description common -l pl.UTF-8 | |
114 | Ten pakiet zawiera wspólne pliki niezbędne do uruchomienia FreeWnn, | |
115 | cWnn lub kWnn. | |
116 | ||
117 | %package -n cWnn | |
118 | Summary: cWnn Chinese Input System (version for China) | |
119 | Summary(pl.UTF-8): cWnn System wprowadzania znaków chińskich (wersja dla Chin) | |
120 | Group: Applications/System | |
121 | Requires(post,preun): /sbin/chkconfig | |
122 | Requires: cWnn-common = %{epoch}:%{version}-%{release} | |
123 | Requires: setup >= 2.4.1-3 | |
124 | ||
125 | %description -n cWnn | |
126 | This package includes FreeWnn Chinese Input System (version for | |
127 | China). | |
128 | ||
129 | %description -n cWnn -l pl.UTF-8 | |
130 | Ten pakiet zawiera system wprowadzania znaków chińskich FreeWnn w | |
131 | wersji dla Chin. | |
132 | ||
133 | %package -n cWnn-common | |
134 | Summary: cWnn/tWnn Chinese Input System common files | |
135 | Summary(pl.UTF-8): Wspólne pliki systemu wprowadzania znaków chińskich cWnn/tWnn | |
136 | Group: Applications/System | |
137 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
138 | Requires: cWnn-libs = %{epoch}:%{version}-%{release} | |
139 | ||
140 | %description -n cWnn-common | |
141 | This package includes cWnn/tWnn Chinese Input System common files for | |
142 | China and Taiwan version. | |
143 | ||
144 | %description -n cWnn-common -l pl.UTF-8 | |
145 | Ten pakiet zawiera pliki wspólne dla wersji chińskiej i tajwańskiej | |
146 | systemu wprowadzania znaków chińskich cWnn/tWnn. | |
147 | ||
148 | %package -n cWnn-libs | |
149 | Summary: cWnn/tWnn runtime library | |
150 | Summary(pl.UTF-8): Biblioteka współdzielona cWnn/tWnn | |
151 | Group: Libraries | |
152 | ||
153 | %description -n cWnn-libs | |
154 | This package contains cWnn/tWnn runtime library. | |
155 | ||
156 | %description -n cWnn-libs -l pl.UTF-8 | |
157 | Ten pakiet zawiera bibliotekę współdzieloną cWnn/tWnn. | |
158 | ||
159 | %package -n cWnn-devel | |
160 | Summary: Header files for cWnn/tWnn | |
161 | Summary(pl.UTF-8): Pliki nagłówkowe cWnn/tWnn | |
162 | Group: Development/Libraries | |
163 | Requires: cWnn-libs = %{epoch}:%{version}-%{release} | |
164 | ||
165 | %description -n cWnn-devel | |
166 | This package contains the header files for building programs with use | |
167 | cWnn/tWnn. | |
168 | ||
169 | %description -n cWnn-devel -l pl.UTF-8 | |
170 | Ten pakiet zawiera pliki nagłówkowe do budowania programów używających | |
171 | cWnn/tWnn. | |
172 | ||
173 | %package -n cWnn-static | |
174 | Summary: Static cWnn/tWnn library | |
175 | Summary(pl.UTF-8): Statyczna biblioteka cWnn/tWnn | |
176 | Group: Development/Libraries | |
177 | Requires: cWnn-devel = %{epoch}:%{version}-%{release} | |
178 | ||
179 | %description -n cWnn-static | |
180 | This package contains static version of cWnn/tWnn library. | |
181 | ||
182 | %description -n cWnn-static -l pl.UTF-8 | |
183 | Ten pakiet zawiera statyczną wersję biblioteki cWnn/tWnn. | |
184 | ||
185 | %package -n tWnn | |
186 | Summary: tWnn Chinese Input System (version for Taiwan) | |
187 | Summary(pl.UTF-8): System wprowadzania znaków chińskich tWnn (wersja dla Tajwanu) | |
188 | Group: Applications/System | |
189 | Requires(post,preun): /sbin/chkconfig | |
190 | Requires: cWnn-common = %{epoch}:%{version}-%{release} | |
191 | Requires: setup >= 2.4.1-3 | |
192 | ||
193 | %description -n tWnn | |
194 | FreeWnn Chinese Input System (version for Taiwan). | |
195 | ||
196 | %description -n tWnn -l pl.UTF-8 | |
197 | System wprowadzania znaków chińskich FreeWnn w wersji dla Tajwanu. | |
198 | ||
199 | %package -n kWnn | |
200 | Summary: kWnn Korean Input System | |
201 | Summary(pl.UTF-8): System wprowadzania znaków koreańskich kWnn | |
202 | Group: Applications/System | |
203 | Requires(post,preun): /sbin/chkconfig | |
204 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
205 | Requires: kWnn-libs = %{epoch}:%{version}-%{release} | |
206 | Requires: setup >= 2.4.1-3 | |
207 | ||
208 | %description -n kWnn | |
209 | FreeWnn Korean Input System. | |
210 | ||
211 | %description -n kWnn -l pl.UTF-8 | |
212 | System wprowadzania znaków koreańskich FreeWnn. | |
213 | ||
214 | %package -n kWnn-libs | |
215 | Summary: kWnn runtime library | |
216 | Summary(pl.UTF-8): Biblioteka współdzielona kWnn | |
217 | Group: Libraries | |
218 | ||
219 | %description -n kWnn-libs | |
220 | This package contains kWnn runtime library. | |
221 | ||
222 | %description -n kWnn-libs -l pl.UTF-8 | |
223 | Ten pakiet zawiera bibliotekę współdzieloną kWnn. | |
224 | ||
225 | %package -n kWnn-devel | |
226 | Summary: Header files for kWnn | |
227 | Summary(pl.UTF-8): Pliki nagłówkowe kWnn | |
228 | Group: Development/Libraries | |
229 | Requires: kWnn-libs = %{epoch}:%{version}-%{release} | |
230 | ||
231 | %description -n kWnn-devel | |
232 | This package contains the header files for building programs which use | |
233 | kWnn. | |
234 | ||
235 | %description -n kWnn-devel -l pl.UTF-8 | |
236 | Ten pakiet zawiera pliki nagłówkowe do budowania programów używających | |
237 | kWnn. | |
238 | ||
239 | %package -n kWnn-static | |
240 | Summary: Static kWnn library | |
241 | Summary(pl.UTF-8): Statyczna biblioteka kWnn | |
242 | Group: Development/Libraries | |
243 | Requires: kWnn-devel = %{epoch}:%{version}-%{release} | |
244 | ||
245 | %description -n kWnn-static | |
246 | This package contains static version of kWnn library. | |
247 | ||
248 | %description -n kWnn-static -l pl.UTF-8 | |
249 | Ten pakiet zawiera statyczną wersję biblioteki kWnn. | |
250 | ||
251 | %prep | |
252 | %setup -q -n %{name}-%{version}-%{subver} | |
253 | %patch0 -p1 | |
254 | %patch1 -p1 | |
255 | %patch2 -p1 | |
256 | %patch3 -p1 | |
257 | %patch4 -p1 | |
258 | %patch5 -p1 | |
259 | %patch6 -p1 | |
260 | %patch7 -p1 | |
261 | %patch8 -p1 | |
262 | %patch9 -p1 | |
263 | %patch10 -p1 | |
264 | ||
265 | cp -p Wnn-consortium/dic/README README.Wnn-consortium.dic | |
266 | ||
267 | %build | |
268 | %{__libtoolize} | |
269 | %{__aclocal} | |
270 | %{__autoconf} | |
271 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" | |
272 | %configure | |
273 | ||
274 | %{__make} -j1 | |
275 | ||
276 | %install | |
277 | rm -rf $RPM_BUILD_ROOT | |
278 | ||
279 | %{__make} install install.man \ | |
280 | DESTDIR=$RPM_BUILD_ROOT | |
281 | ||
282 | # Makefile is missing for en manuals - install manually | |
283 | for f in atod atof dtoa ; do | |
284 | install -D Wnn/man.en/6.jutil/${f}.man $RPM_BUILD_ROOT%{_mandir}/man1/${f}.1 | |
285 | done | |
286 | ||
287 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d | |
288 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/FreeWnn | |
289 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/cWnn | |
290 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/tWnn | |
291 | install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/kWnn | |
292 | ||
293 | ln -sf /var/lib/wnn/ja/dic $RPM_BUILD_ROOT%{_sysconfdir}/ja/dic | |
294 | ln -sf /var/lib/wnn/zh_CN/dic $RPM_BUILD_ROOT%{_sysconfdir}/zh_CN/dic | |
295 | ln -sf /var/lib/wnn/zh_TW/dic $RPM_BUILD_ROOT%{_sysconfdir}/zh_TW/dic | |
296 | ln -sf /var/lib/wnn/ko_KR/dic $RPM_BUILD_ROOT%{_sysconfdir}/ko_KR/dic | |
297 | ||
298 | %clean | |
299 | rm -rf $RPM_BUILD_ROOT | |
300 | ||
301 | %post | |
302 | %{_bindir}/wnntouch /var/lib/wnn/ja/dic/gerodic/g-jinmei.dic | |
303 | cd /var/lib/wnn/ja/dic/pubdic | |
304 | %{_bindir}/wnntouch *.* | |
305 | /sbin/chkconfig --add FreeWnn | |
306 | %service FreeWnn restart | |
307 | ||
308 | %preun | |
309 | if [ "$1" = "0" ]; then | |
310 | %service FreeWnn stop | |
311 | /sbin/chkconfig --del FreeWnn | |
312 | fi | |
313 | ||
314 | %post libs -p /sbin/ldconfig | |
315 | %postun libs -p /sbin/ldconfig | |
316 | ||
317 | %post -n cWnn | |
318 | cd /var/lib/wnn/zh_CN/dic/sys | |
319 | %{_bindir}/cwnntouch *.* | |
320 | /sbin/chkconfig --add cWnn | |
321 | %service cWnn restart | |
322 | ||
323 | %preun -n cWnn | |
324 | if [ "$1" = "0" ]; then | |
325 | %service cWnn stop | |
326 | /sbin/chkconfig --del cWnn | |
327 | fi | |
328 | ||
329 | %post -n cWnn-libs -p /sbin/ldconfig | |
330 | %postun -n cWnn-libs -p /sbin/ldconfig | |
331 | ||
332 | %post -n tWnn | |
333 | cd /var/lib/wnn/zh_TW/dic/sys | |
334 | %{_bindir}/cwnntouch *.* | |
335 | /sbin/chkconfig --add tWnn | |
336 | %service tWnn restart | |
337 | ||
338 | %preun -n tWnn | |
339 | if [ "$1" = "0" ]; then | |
340 | %service tWnn stop | |
341 | /sbin/chkconfig --del tWnn | |
342 | fi | |
343 | ||
344 | %post -n kWnn | |
345 | cd /var/lib/wnn/ko_KR/dic/sys | |
346 | %{_bindir}/kwnntouch *.* | |
347 | /sbin/chkconfig --add kWnn | |
348 | %service kWnn restart | |
349 | ||
350 | %preun -n kWnn | |
351 | if [ "$1" = "0" ]; then | |
352 | %service kWnn stop | |
353 | /sbin/chkconfig --del kWnn | |
354 | fi | |
355 | ||
356 | %post -n kWnn-libs -p /sbin/ldconfig | |
357 | %postun -n kWnn-libs -p /sbin/ldconfig | |
358 | ||
359 | %pre common | |
360 | %groupadd -P %{name}-common -g 42 wnn | |
361 | %useradd -P %{name}-common -u 42 -c "Wnn Service User" -g wnn -s /bin/false wnn | |
362 | ||
363 | %postun common | |
364 | if [ "$1" = "0" ]; then | |
365 | %userremove wnn | |
366 | %groupremove wnn | |
367 | fi | |
368 | ||
369 | %files | |
370 | %defattr(644,root,root,755) | |
371 | %doc Contrib/dic/gerodic/GERODIC PubdicPlus/PUBDICPLUS-README Wnn/manual.en | |
372 | %lang(ja) %doc PubdicPlus/{PUBDICPLUS-ERRATA,PUBDICPLUS-README.jp} Wnn/manual README.Wnn-consortium.dic | |
373 | %attr(754,root,root) /etc/rc.d/init.d/FreeWnn | |
374 | %attr(755,root,root) %{_bindir}/atod | |
375 | %attr(755,root,root) %{_bindir}/atof | |
376 | %attr(755,root,root) %{_bindir}/dtoa | |
377 | %attr(755,root,root) %{_bindir}/jserver | |
378 | %attr(755,root,root) %{_bindir}/oldatonewa | |
379 | %attr(755,root,root) %{_bindir}/wddel | |
380 | %attr(755,root,root) %{_bindir}/wdreg | |
381 | %attr(755,root,root) %{_bindir}/wnnkill | |
382 | %attr(755,root,root) %{_bindir}/wnnstat | |
383 | %attr(755,root,root) %{_bindir}/wnntouch | |
384 | %{_mandir}/man1/atod.1* | |
385 | %{_mandir}/man1/atof.1* | |
386 | %{_mandir}/man1/dtoa.1* | |
387 | %lang(ja) %{_mandir}/ja/man1/atod.1* | |
388 | %lang(ja) %{_mandir}/ja/man1/atof.1* | |
389 | %lang(ja) %{_mandir}/ja/man1/dtoa.1* | |
390 | %lang(ja) %{_mandir}/ja/man1/jserver.1* | |
391 | %lang(ja) %{_mandir}/ja/man1/oldatonewa.1* | |
392 | %lang(ja) %{_mandir}/ja/man1/uum.1* | |
393 | %lang(ja) %{_mandir}/ja/man1/wddel.1* | |
394 | %lang(ja) %{_mandir}/ja/man1/wdreg.1* | |
395 | %lang(ja) %{_mandir}/ja/man1/wnnkill.1* | |
396 | %lang(ja) %{_mandir}/ja/man1/wnnstat.1* | |
397 | %lang(ja) %{_mandir}/ja/man1/wnntouch.1* | |
398 | %lang(ja) %{_mandir}/ja/man4/2a_ctrl.4* | |
399 | %lang(ja) %{_mandir}/ja/man4/2b_romkana.4* | |
400 | %lang(ja) %{_mandir}/ja/man4/cvt_key_tbl.4* | |
401 | %lang(ja) %{_mandir}/ja/man4/fzk.data.4* | |
402 | %lang(ja) %{_mandir}/ja/man4/fzk.u.4* | |
403 | %lang(ja) %{_mandir}/ja/man4/hinsi_data.4* | |
404 | %lang(ja) %{_mandir}/ja/man4/jserverrc.4* | |
405 | %lang(ja) %{_mandir}/ja/man4/mode.4* | |
406 | %lang(ja) %{_mandir}/ja/man4/serverdefs.4* | |
407 | %lang(ja) %{_mandir}/ja/man4/ujis_dic.4* | |
408 | %lang(ja) %{_mandir}/ja/man4/uumkey.4* | |
409 | %lang(ja) %{_mandir}/ja/man4/uumrc.4* | |
410 | %lang(ja) %{_mandir}/ja/man4/wnnenvrc.4* | |
411 | %lang(ja) %{_mandir}/ja/man5/pubdic.5* | |
412 | %lang(ja) %{_mandir}/ja/man5/usr_dic.5* | |
413 | %dir %{_sysconfdir}/ja | |
414 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ja/hinsi.data | |
415 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ja/jserverrc | |
416 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ja/uumkey* | |
417 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ja/uumrc* | |
418 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ja/wnnenvrc* | |
419 | %{_sysconfdir}/ja/libwnn.msg | |
420 | %{_sysconfdir}/ja/uum.msg | |
421 | %{_sysconfdir}/ja/wnnstat.msg | |
422 | %{_sysconfdir}/ja/dic | |
423 | %{_sysconfdir}/ja/rk | |
424 | %{_sysconfdir}/ja/rk.vi | |
425 | %dir %{_sysconfdir}/lt_LN | |
426 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lt_LN/uumkey* | |
427 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lt_LN/uumrc* | |
428 | %{_sysconfdir}/lt_LN/uum.msg | |
429 | %{_sysconfdir}/lt_LN/rk | |
430 | %dir /var/lib/wnn/ja | |
431 | %attr(775,root,wnn) %dir /var/lib/wnn/ja/dic | |
432 | %attr(775,root,wnn) %dir /var/lib/wnn/ja/dic/gerodic | |
433 | %attr(664,root,wnn) /var/lib/wnn/ja/dic/gerodic/g-jinmei.dic | |
434 | %attr(775,root,wnn) %dir /var/lib/wnn/ja/dic/pubdic | |
435 | %attr(664,root,wnn) /var/lib/wnn/ja/dic/pubdic/*.dic | |
436 | %attr(664,root,wnn) /var/lib/wnn/ja/dic/pubdic/*.fzk | |
437 | %attr(775,root,wnn) %dir /var/lib/wnn/ja/dic/src | |
438 | %attr(664,root,wnn) /var/lib/wnn/ja/dic/src/fzk.* | |
439 | %attr(775,root,wnn) %dir /var/lib/wnn/ja/dic/wnncons | |
440 | %attr(664,root,wnn) /var/lib/wnn/ja/dic/wnncons/tankan*.dic | |
441 | ||
442 | %files libs | |
443 | %defattr(644,root,root,755) | |
444 | %attr(755,root,root) %{_libdir}/libjd.so.*.*.* | |
445 | %attr(755,root,root) %ghost %{_libdir}/libjd.so.0 | |
446 | %attr(755,root,root) %{_libdir}/libwnn.so.*.*.* | |
447 | %attr(755,root,root) %ghost %{_libdir}/libwnn.so.0 | |
448 | ||
449 | %files devel | |
450 | %defattr(644,root,root,755) | |
451 | %attr(755,root,root) %{_libdir}/libjd.so | |
452 | %attr(755,root,root) %{_libdir}/libwnn.so | |
453 | %{_libdir}/libjd.la | |
454 | %{_libdir}/libwnn.la | |
455 | %{_includedir}/wnn | |
456 | %lang(ja) %{_mandir}/ja/man3/jl_*.3* | |
457 | %lang(ja) %{_mandir}/ja/man3/js_*.3* | |
458 | %lang(ja) %{_mandir}/ja/man3/msg_*.3* | |
459 | %lang(ja) %{_mandir}/ja/man3/romkan_*.3* | |
460 | ||
461 | %files static | |
462 | %defattr(644,root,root,755) | |
463 | %{_libdir}/libjd.a | |
464 | %{_libdir}/libwnn.a | |
465 | ||
466 | %files common | |
467 | %defattr(644,root,root,755) | |
468 | %doc CONTRIBUTORS ChangeLog.en Xwnmo/manual.en | |
469 | %lang(ja) %doc ChangeLog Xwnmo/manual | |
470 | %dir %{_sysconfdir} | |
471 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cvt_key_empty | |
472 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cvt_key_tbl* | |
473 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/serverdefs | |
474 | %dir /var/lib/wnn | |
475 | ||
476 | %files -n cWnn | |
477 | %defattr(644,root,root,755) | |
478 | %attr(754,root,root) /etc/rc.d/init.d/cWnn | |
479 | %attr(755,root,root) %{_bindir}/cserver | |
480 | %dir %{_sysconfdir}/zh_CN | |
481 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zh_CN/cixing.data | |
482 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zh_CN/cserverrc | |
483 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zh_CN/uumkey* | |
484 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zh_CN/uumrc* | |
485 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zh_CN/wnnenvrc* | |
486 | %{_sysconfdir}/zh_CN/libwnn.msg | |
487 | %{_sysconfdir}/zh_CN/uum.msg | |
488 | %{_sysconfdir}/zh_CN/wnnstat.msg | |
489 | %{_sysconfdir}/zh_CN/dic | |
490 | %{_sysconfdir}/zh_CN/rk | |
491 | %{_sysconfdir}/zh_CN/rk_p | |
492 | %{_sysconfdir}/zh_CN/rk_z | |
493 | %dir /var/lib/wnn/zh_CN | |
494 | %attr(775,root,wnn) %dir /var/lib/wnn/zh_CN/dic | |
495 | %attr(775,root,wnn) %dir /var/lib/wnn/zh_CN/dic/sys | |
496 | %attr(664,root,wnn) /var/lib/wnn/zh_CN/dic/sys/*.dic | |
497 | %attr(664,root,wnn) /var/lib/wnn/zh_CN/dic/sys/full.con* | |
498 | %{_mandir}/man1/cserver.1* | |
499 | ||
500 | %files -n cWnn-common | |
501 | %defattr(644,root,root,755) | |
502 | %doc cWnn/manual.en | |
503 | %lang(ja) %doc cWnn/manual | |
504 | %attr(755,root,root) %{_bindir}/catod | |
505 | %attr(755,root,root) %{_bindir}/catof | |
506 | %attr(755,root,root) %{_bindir}/cdtoa | |
507 | %attr(755,root,root) %{_bindir}/cwddel | |
508 | %attr(755,root,root) %{_bindir}/cwdreg | |
509 | %attr(755,root,root) %{_bindir}/cwnnkill | |
510 | %attr(755,root,root) %{_bindir}/cwnnstat | |
511 | %attr(755,root,root) %{_bindir}/cwnntouch | |
512 | %{_mandir}/man1/catod.1* | |
513 | %{_mandir}/man1/catof.1* | |
514 | %{_mandir}/man1/cdicsort.1* | |
515 | %{_mandir}/man1/cdtoa.1* | |
516 | %{_mandir}/man1/cuum.1* | |
517 | %{_mandir}/man1/cwddel.1* | |
518 | %{_mandir}/man1/cwdreg.1* | |
519 | %{_mandir}/man1/cwnnkill.1* | |
520 | %{_mandir}/man1/cwnnstat.1* | |
521 | %{_mandir}/man1/cwnntouch.1* | |
522 | %{_mandir}/man4/cenv.4* | |
523 | %{_mandir}/man4/ckey.4* | |
524 | %{_mandir}/man4/cst_end.4* | |
525 | %{_mandir}/man4/cwnn.4* | |
526 | ||
527 | %files -n cWnn-libs | |
528 | %defattr(644,root,root,755) | |
529 | %attr(755,root,root) %{_libdir}/libcwnn.so.*.*.* | |
530 | %attr(755,root,root) %ghost %{_libdir}/libcwnn.so.0 | |
531 | ||
532 | %files -n cWnn-devel | |
533 | %defattr(644,root,root,755) | |
534 | %attr(755,root,root) %{_libdir}/libcwnn.so | |
535 | %{_libdir}/libcwnn.la | |
536 | %{_includedir}/cwnn | |
537 | ||
538 | %files -n cWnn-static | |
539 | %defattr(644,root,root,755) | |
540 | %{_libdir}/libcwnn.a | |
541 | ||
542 | %files -n tWnn | |
543 | %defattr(644,root,root,755) | |
544 | %attr(754,root,root) /etc/rc.d/init.d/tWnn | |
545 | %attr(755,root,root) %{_bindir}/tserver | |
546 | %dir %{_sysconfdir}/zh_TW | |
547 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zh_TW/cixing.data | |
548 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zh_TW/tserverrc | |
549 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zh_TW/uumkey* | |
550 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zh_TW/uumrc* | |
551 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zh_TW/wnnenvrc* | |
552 | %{_sysconfdir}/zh_TW/libwnn.msg | |
553 | %{_sysconfdir}/zh_TW/uum.msg | |
554 | %{_sysconfdir}/zh_TW/wnnstat.msg | |
555 | %{_sysconfdir}/zh_TW/dic | |
556 | %{_sysconfdir}/zh_TW/rk | |
557 | %{_sysconfdir}/zh_TW/rk_p | |
558 | %{_sysconfdir}/zh_TW/rk_z | |
559 | %dir /var/lib/wnn/zh_TW | |
560 | %attr(775,root,wnn) %dir /var/lib/wnn/zh_TW/dic | |
561 | %attr(775,root,wnn) %dir /var/lib/wnn/zh_TW/dic/sys | |
562 | %attr(664,root,wnn) /var/lib/wnn/zh_TW/dic/sys/*.dic | |
563 | %attr(664,root,wnn) /var/lib/wnn/zh_TW/dic/sys/full.con* | |
564 | ||
565 | %files -n kWnn | |
566 | %defattr(644,root,root,755) | |
567 | %attr(754,root,root) /etc/rc.d/init.d/kWnn | |
568 | %attr(755,root,root) %{_bindir}/katod | |
569 | %attr(755,root,root) %{_bindir}/katof | |
570 | %attr(755,root,root) %{_bindir}/kdtoa | |
571 | %attr(755,root,root) %{_bindir}/kserver | |
572 | %attr(755,root,root) %{_bindir}/kwddel | |
573 | %attr(755,root,root) %{_bindir}/kwdreg | |
574 | %attr(755,root,root) %{_bindir}/kwnnkill | |
575 | %attr(755,root,root) %{_bindir}/kwnnstat | |
576 | %attr(755,root,root) %{_bindir}/kwnntouch | |
577 | %dir %{_sysconfdir}/ko_KR | |
578 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ko_KR/hinsi.data | |
579 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ko_KR/kserverrc | |
580 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ko_KR/uumkey | |
581 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ko_KR/uumrc | |
582 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ko_KR/wnnenvrc* | |
583 | %{_sysconfdir}/ko_KR/libwnn.msg | |
584 | %{_sysconfdir}/ko_KR/uum.msg | |
585 | %{_sysconfdir}/ko_KR/wnnstat.msg | |
586 | %{_sysconfdir}/ko_KR/dic | |
587 | %{_sysconfdir}/ko_KR/rk | |
588 | %dir /var/lib/wnn/ko_KR | |
589 | %attr(775,root,wnn) %dir /var/lib/wnn/ko_KR/dic | |
590 | %attr(775,root,wnn) %dir /var/lib/wnn/ko_KR/dic/sys | |
591 | %attr(664,root,wnn) /var/lib/wnn/ko_KR/dic/sys/*.dic | |
592 | %attr(664,root,wnn) /var/lib/wnn/ko_KR/dic/sys/full.fzk | |
593 | ||
594 | %files -n kWnn-libs | |
595 | %defattr(644,root,root,755) | |
596 | %attr(755,root,root) %{_libdir}/libkwnn.so.*.*.* | |
597 | %attr(755,root,root) %ghost %{_libdir}/libkwnn.so.0 | |
598 | ||
599 | %files -n kWnn-devel | |
600 | %defattr(644,root,root,755) | |
601 | %attr(755,root,root) %{_libdir}/libkwnn.so | |
602 | %{_libdir}/libkwnn.la | |
603 | %{_includedir}/kwnn | |
604 | ||
605 | %files -n kWnn-static | |
606 | %defattr(644,root,root,755) | |
607 | %{_libdir}/libkwnn.a |