]>
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 | |
51d85a30 | 6 | Release: 0.%{subver}.2 |
66a08130 JB |
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 | |
d1311dcf | 27 | Patch10: %{name}-format.patch |
320694f6 | 28 | URL: http://www.freewnn.org/ |
320694f6 JB |
29 | BuildRequires: autoconf |
30 | BuildRequires: automake | |
31 | BuildRequires: libtool | |
66a08130 | 32 | BuildRequires: libwrap-devel |
320694f6 | 33 | BuildRequires: ncurses-devel |
7bfa9b9d | 34 | BuildRequires: rpmbuild(macros) >= 1.268 |
187820d1 | 35 | Requires(post,preun): /sbin/chkconfig |
7bfa9b9d | 36 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
187820d1 JB |
37 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
38 | Requires: setup >= 2.4.1 | |
320694f6 JB |
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 | ||
aa88b5a0 JR |
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 | |
320694f6 JB |
55 | Institute for Mathematical Science Kyoto University, OMRON Corporation |
56 | oraz Astec, Inc. | |
57 | ||
58 | %package libs | |
59 | Summary: Runtime library for FreeWnn | |
254edc3e | 60 | Summary(pl.UTF-8): Biblioteki współdzielone FreeWnn |
320694f6 JB |
61 | Group: Libraries |
62 | ||
63 | %description libs | |
64 | This package contains the runtime library for running programs with | |
65 | FreeWnn. | |
66 | ||
aa88b5a0 JR |
67 | %description libs -l pl.UTF-8 |
68 | Ten pakiet zawiera biblioteki współdzielone FreeWnn. | |
320694f6 JB |
69 | |
70 | %package devel | |
71 | Summary: Header files for FreeWnn | |
254edc3e | 72 | Summary(pl.UTF-8): Pliki nagłówkowe FreeWnn |
320694f6 | 73 | Group: Development/Libraries |
187820d1 | 74 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
320694f6 JB |
75 | |
76 | %description devel | |
77 | This package contains the header files for building programs with use | |
78 | FreeWnn. | |
79 | ||
aa88b5a0 JR |
80 | %description devel -l pl.UTF-8 |
81 | Ten pakiet zawiera pliki nagłówkowe potrzebne do budowania programów | |
82 | używających FreeWnn. | |
320694f6 JB |
83 | |
84 | %package static | |
85 | Summary: Static FreeWnn library | |
254edc3e | 86 | Summary(pl.UTF-8): Statyczna biblioteka FreeWnn |
320694f6 | 87 | Group: Development/Libraries |
187820d1 | 88 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
320694f6 JB |
89 | |
90 | %description static | |
91 | Static version of FreeWnn library. | |
92 | ||
aa88b5a0 | 93 | %description static -l pl.UTF-8 |
320694f6 JB |
94 | Statyczna wersja biblioteki FreeWnn. |
95 | ||
96 | %package common | |
97 | Summary: Common files for Wnn | |
254edc3e | 98 | Summary(pl.UTF-8): Wspólne pliki Wnn |
320694f6 | 99 | Group: Applications/System |
6e43e7c6 ER |
100 | Requires(postun): /usr/sbin/groupdel |
101 | Requires(postun): /usr/sbin/userdel | |
06423cff | 102 | Requires(pre): /bin/id |
e17c4518 | 103 | Requires(pre): /usr/bin/getgid |
06423cff | 104 | Requires(pre): /usr/sbin/groupadd |
105 | Requires(pre): /usr/sbin/useradd | |
e17c4518 | 106 | Provides: group(wnn) |
107 | Provides: user(wnn) | |
320694f6 JB |
108 | |
109 | %description common | |
110 | FreeWnn-common includes the files you need to run FreeWnn, cWnn or | |
111 | kWnn. | |
112 | ||
aa88b5a0 JR |
113 | %description common -l pl.UTF-8 |
114 | Ten pakiet zawiera wspólne pliki niezbędne do uruchomienia FreeWnn, | |
320694f6 JB |
115 | cWnn lub kWnn. |
116 | ||
117 | %package -n cWnn | |
118 | Summary: cWnn Chinese Input System (version for China) | |
254edc3e | 119 | Summary(pl.UTF-8): cWnn System wprowadzania znaków chińskich (wersja dla Chin) |
320694f6 | 120 | Group: Applications/System |
7bfa9b9d | 121 | Requires(post,preun): /sbin/chkconfig |
6e43e7c6 ER |
122 | Requires: cWnn-common = %{epoch}:%{version}-%{release} |
123 | Requires: setup >= 2.4.1-3 | |
320694f6 JB |
124 | |
125 | %description -n cWnn | |
126 | This package includes FreeWnn Chinese Input System (version for | |
127 | China). | |
128 | ||
aa88b5a0 JR |
129 | %description -n cWnn -l pl.UTF-8 |
130 | Ten pakiet zawiera system wprowadzania znaków chińskich FreeWnn w | |
320694f6 JB |
131 | wersji dla Chin. |
132 | ||
133 | %package -n cWnn-common | |
134 | Summary: cWnn/tWnn Chinese Input System common files | |
254edc3e | 135 | Summary(pl.UTF-8): Wspólne pliki systemu wprowadzania znaków chińskich cWnn/tWnn |
320694f6 | 136 | Group: Applications/System |
187820d1 JB |
137 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
138 | Requires: cWnn-libs = %{epoch}:%{version}-%{release} | |
320694f6 JB |
139 | |
140 | %description -n cWnn-common | |
141 | This package includes cWnn/tWnn Chinese Input System common files for | |
142 | China and Taiwan version. | |
143 | ||
aa88b5a0 JR |
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. | |
320694f6 JB |
147 | |
148 | %package -n cWnn-libs | |
149 | Summary: cWnn/tWnn runtime library | |
254edc3e | 150 | Summary(pl.UTF-8): Biblioteka współdzielona cWnn/tWnn |
320694f6 JB |
151 | Group: Libraries |
152 | ||
153 | %description -n cWnn-libs | |
154 | This package contains cWnn/tWnn runtime library. | |
155 | ||
aa88b5a0 JR |
156 | %description -n cWnn-libs -l pl.UTF-8 |
157 | Ten pakiet zawiera bibliotekę współdzieloną cWnn/tWnn. | |
320694f6 JB |
158 | |
159 | %package -n cWnn-devel | |
160 | Summary: Header files for cWnn/tWnn | |
254edc3e | 161 | Summary(pl.UTF-8): Pliki nagłówkowe cWnn/tWnn |
320694f6 | 162 | Group: Development/Libraries |
187820d1 | 163 | Requires: cWnn-libs = %{epoch}:%{version}-%{release} |
320694f6 JB |
164 | |
165 | %description -n cWnn-devel | |
166 | This package contains the header files for building programs with use | |
167 | cWnn/tWnn. | |
168 | ||
aa88b5a0 JR |
169 | %description -n cWnn-devel -l pl.UTF-8 |
170 | Ten pakiet zawiera pliki nagłówkowe do budowania programów używających | |
320694f6 JB |
171 | cWnn/tWnn. |
172 | ||
173 | %package -n cWnn-static | |
174 | Summary: Static cWnn/tWnn library | |
254edc3e | 175 | Summary(pl.UTF-8): Statyczna biblioteka cWnn/tWnn |
320694f6 | 176 | Group: Development/Libraries |
187820d1 | 177 | Requires: cWnn-devel = %{epoch}:%{version}-%{release} |
320694f6 JB |
178 | |
179 | %description -n cWnn-static | |
180 | This package contains static version of cWnn/tWnn library. | |
181 | ||
aa88b5a0 JR |
182 | %description -n cWnn-static -l pl.UTF-8 |
183 | Ten pakiet zawiera statyczną wersję biblioteki cWnn/tWnn. | |
320694f6 JB |
184 | |
185 | %package -n tWnn | |
186 | Summary: tWnn Chinese Input System (version for Taiwan) | |
254edc3e | 187 | Summary(pl.UTF-8): System wprowadzania znaków chińskich tWnn (wersja dla Tajwanu) |
320694f6 | 188 | Group: Applications/System |
7bfa9b9d | 189 | Requires(post,preun): /sbin/chkconfig |
6e43e7c6 ER |
190 | Requires: cWnn-common = %{epoch}:%{version}-%{release} |
191 | Requires: setup >= 2.4.1-3 | |
320694f6 JB |
192 | |
193 | %description -n tWnn | |
194 | FreeWnn Chinese Input System (version for Taiwan). | |
195 | ||
aa88b5a0 JR |
196 | %description -n tWnn -l pl.UTF-8 |
197 | System wprowadzania znaków chińskich FreeWnn w wersji dla Tajwanu. | |
320694f6 JB |
198 | |
199 | %package -n kWnn | |
200 | Summary: kWnn Korean Input System | |
254edc3e | 201 | Summary(pl.UTF-8): System wprowadzania znaków koreańskich kWnn |
320694f6 | 202 | Group: Applications/System |
320694f6 | 203 | Requires(post,preun): /sbin/chkconfig |
7bfa9b9d | 204 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
187820d1 | 205 | Requires: kWnn-libs = %{epoch}:%{version}-%{release} |
7bfa9b9d | 206 | Requires: setup >= 2.4.1-3 |
320694f6 JB |
207 | |
208 | %description -n kWnn | |
209 | FreeWnn Korean Input System. | |
210 | ||
aa88b5a0 JR |
211 | %description -n kWnn -l pl.UTF-8 |
212 | System wprowadzania znaków koreańskich FreeWnn. | |
320694f6 JB |
213 | |
214 | %package -n kWnn-libs | |
215 | Summary: kWnn runtime library | |
254edc3e | 216 | Summary(pl.UTF-8): Biblioteka współdzielona kWnn |
320694f6 JB |
217 | Group: Libraries |
218 | ||
219 | %description -n kWnn-libs | |
220 | This package contains kWnn runtime library. | |
221 | ||
aa88b5a0 JR |
222 | %description -n kWnn-libs -l pl.UTF-8 |
223 | Ten pakiet zawiera bibliotekę współdzieloną kWnn. | |
320694f6 JB |
224 | |
225 | %package -n kWnn-devel | |
226 | Summary: Header files for kWnn | |
254edc3e | 227 | Summary(pl.UTF-8): Pliki nagłówkowe kWnn |
320694f6 | 228 | Group: Development/Libraries |
187820d1 | 229 | Requires: kWnn-libs = %{epoch}:%{version}-%{release} |
320694f6 JB |
230 | |
231 | %description -n kWnn-devel | |
232 | This package contains the header files for building programs which use | |
233 | kWnn. | |
234 | ||
aa88b5a0 JR |
235 | %description -n kWnn-devel -l pl.UTF-8 |
236 | Ten pakiet zawiera pliki nagłówkowe do budowania programów używających | |
320694f6 JB |
237 | kWnn. |
238 | ||
239 | %package -n kWnn-static | |
240 | Summary: Static kWnn library | |
254edc3e | 241 | Summary(pl.UTF-8): Statyczna biblioteka kWnn |
320694f6 | 242 | Group: Development/Libraries |
187820d1 | 243 | Requires: kWnn-devel = %{epoch}:%{version}-%{release} |
320694f6 JB |
244 | |
245 | %description -n kWnn-static | |
246 | This package contains static version of kWnn library. | |
247 | ||
aa88b5a0 JR |
248 | %description -n kWnn-static -l pl.UTF-8 |
249 | Ten pakiet zawiera statyczną wersję biblioteki kWnn. | |
320694f6 JB |
250 | |
251 | %prep | |
66a08130 | 252 | %setup -q -n %{name}-%{version}-%{subver} |
187820d1 JB |
253 | %patch0 -p1 |
254 | %patch1 -p1 | |
255 | %patch2 -p1 | |
256 | %patch3 -p1 | |
257 | %patch4 -p1 | |
258 | %patch5 -p1 | |
259 | %patch6 -p1 | |
66a08130 JB |
260 | %patch7 -p1 |
261 | %patch8 -p1 | |
262 | %patch9 -p1 | |
d1311dcf | 263 | %patch10 -p1 |
66a08130 JB |
264 | |
265 | cp -p Wnn-consortium/dic/README README.Wnn-consortium.dic | |
320694f6 JB |
266 | |
267 | %build | |
eb6e9a93 | 268 | %{__libtoolize} |
f89410ff | 269 | %{__aclocal} |
5b8e5283 | 270 | %{__autoconf} |
66a08130 | 271 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
320694f6 JB |
272 | %configure |
273 | ||
d1311dcf | 274 | %{__make} -j1 |
320694f6 JB |
275 | |
276 | %install | |
277 | rm -rf $RPM_BUILD_ROOT | |
278 | ||
279 | %{__make} install install.man \ | |
280 | DESTDIR=$RPM_BUILD_ROOT | |
281 | ||
66a08130 | 282 | # Makefile is missing for en manuals - install manually |
320694f6 | 283 | for f in atod atof dtoa ; do |
66a08130 | 284 | install -D Wnn/man.en/6.jutil/${f}.man $RPM_BUILD_ROOT%{_mandir}/man1/${f}.1 |
320694f6 JB |
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 | ||
320694f6 JB |
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 | |
7bfa9b9d | 306 | %service FreeWnn restart |
320694f6 JB |
307 | |
308 | %preun | |
309 | if [ "$1" = "0" ]; then | |
7bfa9b9d | 310 | %service FreeWnn stop |
320694f6 JB |
311 | /sbin/chkconfig --del FreeWnn |
312 | fi | |
313 | ||
320694f6 JB |
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 | |
7bfa9b9d | 321 | %service cWnn restart |
320694f6 JB |
322 | |
323 | %preun -n cWnn | |
324 | if [ "$1" = "0" ]; then | |
7bfa9b9d | 325 | %service cWnn stop |
320694f6 JB |
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 | |
7bfa9b9d | 336 | %service tWnn restart |
320694f6 JB |
337 | |
338 | %preun -n tWnn | |
339 | if [ "$1" = "0" ]; then | |
7bfa9b9d | 340 | %service tWnn stop |
320694f6 JB |
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 | |
7bfa9b9d | 348 | %service kWnn restart |
320694f6 JB |
349 | |
350 | %preun -n kWnn | |
351 | if [ "$1" = "0" ]; then | |
7bfa9b9d | 352 | %service kWnn stop |
320694f6 JB |
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 | ||
e68bf1e6 | 359 | %pre common |
a78edad0 ER |
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 | |
e68bf1e6 | 362 | |
363 | %postun common | |
364 | if [ "$1" = "0" ]; then | |
e17c4518 | 365 | %userremove wnn |
366 | %groupremove wnn | |
e68bf1e6 | 367 | fi |
368 | ||
320694f6 JB |
369 | %files |
370 | %defattr(644,root,root,755) | |
66a08130 JB |
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 | |
320694f6 JB |
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 | |
66a08130 JB |
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* | |
320694f6 | 413 | %dir %{_sysconfdir}/ja |
66a08130 JB |
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 | |
320694f6 JB |
422 | %{_sysconfdir}/ja/dic |
423 | %{_sysconfdir}/ja/rk | |
424 | %{_sysconfdir}/ja/rk.vi | |
425 | %dir %{_sysconfdir}/lt_LN | |
66a08130 JB |
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 | |
320694f6 | 429 | %{_sysconfdir}/lt_LN/rk |
66a08130 JB |
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 | |
320694f6 JB |
441 | |
442 | %files libs | |
443 | %defattr(644,root,root,755) | |
66a08130 JB |
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 | |
320694f6 JB |
448 | |
449 | %files devel | |
450 | %defattr(644,root,root,755) | |
320694f6 | 451 | %attr(755,root,root) %{_libdir}/libjd.so |
320694f6 | 452 | %attr(755,root,root) %{_libdir}/libwnn.so |
66a08130 | 453 | %{_libdir}/libjd.la |
187820d1 | 454 | %{_libdir}/libwnn.la |
320694f6 | 455 | %{_includedir}/wnn |
66a08130 JB |
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* | |
320694f6 JB |
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) | |
66a08130 JB |
468 | %doc CONTRIBUTORS ChangeLog.en Xwnmo/manual.en |
469 | %lang(ja) %doc ChangeLog Xwnmo/manual | |
320694f6 | 470 | %dir %{_sysconfdir} |
66a08130 JB |
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 | |
320694f6 JB |
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 | |
66a08130 JB |
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 | |
320694f6 JB |
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 | |
66a08130 JB |
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* | |
320694f6 JB |
498 | %{_mandir}/man1/cserver.1* |
499 | ||
500 | %files -n cWnn-common | |
501 | %defattr(644,root,root,755) | |
66a08130 JB |
502 | %doc cWnn/manual.en |
503 | %lang(ja) %doc cWnn/manual | |
320694f6 JB |
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 | |
66a08130 JB |
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* | |
320694f6 JB |
526 | |
527 | %files -n cWnn-libs | |
528 | %defattr(644,root,root,755) | |
66a08130 JB |
529 | %attr(755,root,root) %{_libdir}/libcwnn.so.*.*.* |
530 | %attr(755,root,root) %ghost %{_libdir}/libcwnn.so.0 | |
320694f6 JB |
531 | |
532 | %files -n cWnn-devel | |
533 | %defattr(644,root,root,755) | |
320694f6 | 534 | %attr(755,root,root) %{_libdir}/libcwnn.so |
187820d1 | 535 | %{_libdir}/libcwnn.la |
320694f6 JB |
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 | |
66a08130 JB |
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 | |
320694f6 JB |
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 | |
66a08130 JB |
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* | |
320694f6 JB |
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 | |
66a08130 JB |
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 | |
320694f6 | 586 | %{_sysconfdir}/ko_KR/dic |
320694f6 | 587 | %{_sysconfdir}/ko_KR/rk |
51d85a30 | 588 | %dir /var/lib/wnn/ko_KR |
66a08130 JB |
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 | |
320694f6 JB |
593 | |
594 | %files -n kWnn-libs | |
595 | %defattr(644,root,root,755) | |
66a08130 JB |
596 | %attr(755,root,root) %{_libdir}/libkwnn.so.*.*.* |
597 | %attr(755,root,root) %ghost %{_libdir}/libkwnn.so.0 | |
320694f6 JB |
598 | |
599 | %files -n kWnn-devel | |
600 | %defattr(644,root,root,755) | |
320694f6 | 601 | %attr(755,root,root) %{_libdir}/libkwnn.so |
187820d1 | 602 | %{_libdir}/libkwnn.la |
320694f6 JB |
603 | %{_includedir}/kwnn |
604 | ||
605 | %files -n kWnn-static | |
606 | %defattr(644,root,root,755) | |
607 | %{_libdir}/libkwnn.a |