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