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