fwnn/fwnn.spec

734 lines
25 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# spec file for package fwnn (Version 1.1.1a017)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org
#
# norootforbuild
Name: fwnn
BuildRequires: termcap
%define base_version 1.1.1
%define alpha_version a017
License: GPL
Group: System/I18n/Japanese
Requires: fwnncom
Conflicts: wnn6
Prereq: /usr/sbin/useradd %insserv_prereq %fillup_prereq
Autoreqprov: on
Version: 1.1.1a017
Release: 549
URL: http://www.freewnn.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: FreeWnn Japanese Input System - Server only
Source: ftp://ftp.etl.go.jp/pub/FreeWnn/alpha/FreeWnn-%{base_version}-%{alpha_version}.tar.bz2
Source1: rcfwnn
Source2: rcfcwnn
Source3: rcftwnn
Source4: rcfkwnn
Patch0: FreeWnn-fsstnd.patch
Patch1: FreeWnn-ja.patch
Patch2: FreeWnn-noroot.patch
Patch3: FreeWnn-sighandler.patch
Patch4: FreeWnn-uum.patch
Patch5: FreeWnn-%{base_version}-%{alpha_version}.dif
Patch6: FreeWnn-lib64.patch
Patch7: FreeWnn-s390x.patch
Patch8: FreeWnn-warnings.patch
Patch9: conflicting-prototypes.patch
Patch10: FreeWnn-fixes.patch
Patch11: FreeWnn-include.patch
Patch12: FreeWnn-returnvalue.diff
# Summary(ja): FreeWnn 日本語入力システム - サーバのみ
# %description -l ja
#
# Wnn(うんぬ)とは?  京都大学、オムロン株式会社、株式会社アステック
# によって共同開発され、 1987年に完成した UNIX上のかな漢字変換システム。現
# 在では、FreeWnn プロジェクトが開発と維持をします
# (http://www.freewnn.org)。
#
#
# Watashino Namaeha Nakanodesu私の名前は中野ですという文章の一括変換が
# できる (当時は、文章を一括変換できることは画期的だった!)システム とい
# うことで、その文の各文節の頭文字をとって名付けられた。  C言語で 書かれ
# たソースコードが無料で配布されたことから、多くのワークステーショ ン上で
# 使われるようになり、現在では、UNIX上のかな漢字変換システムの デファクト・
# スタンダード(事実上の標準)となっている。  一番の特徴はクライアント・
# サーバ方式を採用していることで、 サーバ部分jserverは、 X Window
# System 上の入力システムであるxwnmoの かな漢字変換エンジンとしてや、
# Nemacs/ Mule のたまごegg のかな漢字変換エンジンとして、使われている。
#
#
# このパッケージには日本語入力サーバのみ含まれます。
%description
FreeWnn is a Kana-Kanji translation system, originally developed by a
joint project made up of Kyoto University, OMRON Corporation [formerly
known as Tateishi Electronics Co.], and ASTEC Inc. Further development
and maintenance is now done by the "FreeWnn Project"
(http://www.freewnn.org).
The name "Wnn", is an acronym for the Japanese sentence "Watashino
Namaeha Nakanodesu" (literally, it means "my name is Nakano."), and is
derived from a goal of the project: to develop a system powerful enough
to translate a whole sentence like that at once. The source code has
been written in C, and is freely distributed. Consequently, Wnn spread
widely among workstation platforms, and became a de-facto standard as a
Kana-Kanji translation system for UNIX operating systems.
Wnn works in a client-server manner. The server portion of Wnn, or
jserver, is used as a Kana-Kanji translation engine for clients like
"xwnmo" and "kinput2" (input systems for the X Window System), or for
clients like "Egg", which are part of Mule (MUlti-Lingual Emacs) and
XEmacs.
This package contains only the Japanese server.
%package -n fwnndev
Group: Development/Libraries/C and C++
Summary: Development Library and Header Files for FreeWnn
# Summary(ja): FreeWnn 用開発ライブラリとヘッダファイル
# %description -n fwnndev -l ja
#
# このパッケージには FreeWnn を利用した日本語入力 client をコンパイルする
# ために必要なヘッダファイルとライブラリが含まれています。
%description -n fwnndev
This package contains the header files and libraries for building
client programs which use FreeWnn for Japanese input.
%package -n fwnncom
Summary: Common Files for FreeWnn
Group: System/I18n/Japanese
Prereq: /usr/sbin/useradd
%description -n fwnncom
This package includes files you need to run FreeWnn, Free cWnn, Free
tWnn, or Free kWnn. Install this package if you will be using any part
of the Wnn System.
%package -n fcwnn
Group: System/I18n/Chinese
Requires: fwnncom, fcwnncom
Prereq: /usr/sbin/useradd fcwnncom
Summary: Free cWnn Chinese Input System (Mainland China)
# Summary(ja): Free cWnn 中国語の入力システム (中華人民共和国)
# %description -n fcwnn -l ja
#
# Free cWnn 中国語の入力システム (中華人民共和国)
%description -n fcwnn
Free cWnn Chinese Input System (mainland China).
%package -n fcwnncom
Summary: Free cWnn/tWnn Chinese Input System Common Files (Mainland and Taiwan)
Group: System/I18n/Chinese
Requires: fwnncom
Prereq: /usr/sbin/useradd
%description -n fcwnncom
This package includes the common files for the Free cWnn and Free tWnn
Chinese Input Systems. Free cWnn is for mainland Chinese and free tWnn
is for Taiwan-Chinese.
%package -n fcwnndev
Group: Development/Libraries/C and C++
Summary: Development Libraries and Header Files for Free cWnn
# Summary(ja): Free cWnn 用開発ライブラリとヘッダファイル
# %description -n fcwnndev -l ja
#
# このパッケージには Free cWnn を利用したプログラムをコンパイルするために
# 必要なヘッダファイルとライブラリを含んでいます。
%description -n fcwnndev
This package contains the header files and libraries for building
client programs that use the Chinese Input System, Free cWnn.
%package -n ftwnn
Summary: Free tWnn Chinese Input System (Taiwan)
Group: System/I18n/Chinese
Requires: fwnncom, fcwnncom
Prereq: /usr/sbin/useradd, fcwnncom
# Summary(ja): Free tWnn 中国語の入力システム (台湾)
# %description -n ftwnn -l ja
#
# Free tWnn 中国語の入力システム (台湾)
%description -n ftwnn
Free tWnn Chinese input system (Taiwan).
%package -n fkwnn
Summary: Free kWnn Korean Input System
Group: System/I18n/Korean
Requires: fwnncom
Prereq: /usr/sbin/useradd
# Summary(ja): Free kWnn 韓国語の入力システム
# %description -n fkwnn -l ja
#
# Free kWnn 韓国語の入力システム
%description -n fkwnn
Free kWnn Korean input system.
%package -n fkwnndev
Group: Development/Libraries/C and C++
Summary: Development Libraries and Header Files for Free kWnn
# Summary(ja): Free kWnn 用開発ライブラリとヘッダファイル
# %description -n fkwnndev -l ja
#
# このパッケージには Free kWnn を利用したプログラムをコンパイルするために
# 必要なヘッダファイルとライブラリを含んでいます。
%description -n fkwnndev
This package contains the header files and libraries for building
client programs that use the Korean Input System, Free kWnn.
%prep
######################################################################
# package xwnmo
# I don't know how to build xwnmo. Will try that later ...
# %package -n xwnmo
# Requires: wnn
# Summary: xwnmo - Input Manager for the X11 Window System
# Summary(ja): xwnmo - Xウィンドウ・インプットマネージャー
# Group: Applications/X11
#
# %description -n xwnmo
#
# Xwnmo is a input manager for the Input Method of the X Window System.
# It is based on the X11 Input Method Specifications. It provides a
# multi-language input environment for multiple clients in the X11
# Window System. Clients can connect to it by using the XIM library. The
# conversion engine xwnmo uses the internationalized Wnn. It selects
# the conversion server in accordance with language of clients.
#
# %description -n xwnmo -l ja
#
# xwnmo は、Xウィンドウ・インプットメソッド用のインプット・マネージャーで
# す。 X Window System, Version 11 Input Method Specifications をベースに
# 作成されました。 xwnmo は、Xウィンドウの複数のクライアントに対して、多
# 国語の入力環境を提供します。クライアントは、XIMライブラリを使うことに
# より、xwnmo を使用できます。変換のエンジンには、国際化されたWnnを使用
# します。クライアントのランゲージに応じて、変換サーバを選択します。
%setup -q -n FreeWnn-%{base_version}-%{alpha_version}/Xsi
%patch0 -p2
%patch1 -p2
%patch2 -p2
%patch3 -p2
%patch4 -p2
%patch5 -p1
%patch6 -p2
%patch7 -p2 -b .s390x
%patch8
%patch9 -p2
%patch10 -p2
%patch11 -p2
%patch12
#%setup -b 1 -n Xsi # add include-files for Xwnmo
# SuSE setlocale patch, try to set LC_CTYPE if LC_ALL fails (Xwnmo) and
#......................................................................
# %patch2 -p1
# Trying to make Xwnmo work...
#..................................................................
# %patch3 -p1
%build
# update config.{guess,sub}
%{?suse_update_config}
./configure --prefix=/usr \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
%{_target_cpu}-suse-linux-gnu
make CCOPTIONS="$RPM_OPT_FLAGS"
pushd Wnn/uum
make CCOPTIONS="$RPM_OPT_FLAGS"
popd
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTPGMFLAGS=
make install.man DESTDIR=$RPM_BUILD_ROOT
pushd Wnn/uum
make install DESTDIR=$RPM_BUILD_ROOT INSTPGMFLAGS=
popd
#----------------------------------------------------------------------
# move Japanese man pages to their correct destination:
# (the above 'make install.man' command installs Japanese AND English
# manpages, but unfortunately all of them into the same directory.
# The Japanese manpages should be in a subdirectory 'ja'
# (or maybe ja_JP.eucJP), therefore I move them here:
for i in 1 2 3 4 5 6 7 8 9 ; do
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/ja/man$i
done
for i in atod.1 atof.1 dtoa.1 jserver.1 oldatonewa.1 uum.1 wddel.1 wdreg.1 \
wnnkill.1 wnnstat.1 wnntouch.1
do
mv $RPM_BUILD_ROOT/%{_mandir}/man1/$i $RPM_BUILD_ROOT/%{_mandir}/ja/man1/
done
mv $RPM_BUILD_ROOT/%{_mandir}/man3/* $RPM_BUILD_ROOT/%{_mandir}/ja/man3/
for i in 2a_ctrl.4 2b_romkana.4 cvt_key_tbl.4 fzk.data.4 fzk.u.4 \
hinsi_data.4 jserverrc.4 mode.4 serverdefs.4 ujis_dic.4 \
uumkey.4 uumrc.4 wnnenvrc.4
do
mv $RPM_BUILD_ROOT/%{_mandir}/man4/$i $RPM_BUILD_ROOT/%{_mandir}/ja/man4/
done
for i in pubdic.5 usr_dic.5
do
mv $RPM_BUILD_ROOT/%{_mandir}/man5/$i $RPM_BUILD_ROOT/%{_mandir}/ja/man5/
done
#----------------------------------------------------------------------
# Make sure directories for of boot script installation exist:
mkdir -p $RPM_BUILD_ROOT/etc/init.d
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
mkdir -p $RPM_BUILD_ROOT/usr/sbin
#----------------------------------------------------------------------
# Install boot scripts:
install -m 755 $RPM_SOURCE_DIR/rcfwnn $RPM_BUILD_ROOT/etc/init.d/fwnn
install -m 755 $RPM_SOURCE_DIR/rcfcwnn $RPM_BUILD_ROOT/etc/init.d/fcwnn
install -m 755 $RPM_SOURCE_DIR/rcftwnn $RPM_BUILD_ROOT/etc/init.d/ftwnn
install -m 755 $RPM_SOURCE_DIR/rcfkwnn $RPM_BUILD_ROOT/etc/init.d/fkwnn
#----------------------------------------------------------------------
# Make symbolic links
for i in fwnn fcwnn ftwnn fkwnn ; do
( cd $RPM_BUILD_ROOT/usr/sbin; ln -sf ../../etc/init.d/$i rc$i )
done
ln -sf /var/lib/wnn/ja/dic ${RPM_BUILD_ROOT}/etc/FreeWnn/ja/dic
ln -sf /var/lib/wnn/zh_CN/dic ${RPM_BUILD_ROOT}/etc/FreeWnn/zh_CN/dic
ln -sf /var/lib/wnn/zh_TW/dic ${RPM_BUILD_ROOT}/etc/FreeWnn/zh_TW/dic
ln -sf /var/lib/wnn/ko_KR/dic ${RPM_BUILD_ROOT}/etc/FreeWnn/ko_KR/dic
#----------------------------------------------------------------------
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%pre -n fwnn
/usr/sbin/useradd -r -o -g root -u 66 -s /bin/false -c "Wnn System Account" -d /var/lib/wnn wnn 2> /dev/null || :
%post -n fwnn
# touch all public dictionary files:
chroot . usr/bin/wnntouch var/lib/wnn/ja/dic/gerodic/g-jinmei.dic
chroot . usr/bin/wnntouch var/lib/wnn/ja/dic/pubdic/*.*
# Create symbolic runlevel links:
%{fillup_and_insserv -sy fwnn START_FREE_WNN}
%preun -n fwnn
%stop_on_removal fwnn
%postun -n fwnn
%restart_on_update fwnn
%insserv_cleanup
#%post -n fwnndev
# if you make libwnn.so, unomment it.
#/sbin/ldconfig
%pre -n fwnncom
/usr/sbin/useradd -r -o -g root -u 66 -s /bin/false -c "Wnn System Account" -d /var/lib/wnn wnn 2> /dev/null || :
%pre -n fcwnn
/usr/sbin/useradd -r -o -g root -u 66 -s /bin/false -c "Wnn System Account" -d /var/lib/wnn wnn 2> /dev/null || :
%preun -n fcwnn
%stop_on_removal fcwnn
%post -n fcwnn
# touch all public dictionary files:
chroot . usr/bin/cwnntouch var/lib/wnn/zh_CN/dic/sys/*.*
# Create symbolic run level links:
%{fillup_and_insserv -s fcwnn START_FREE_CWNN}
%postun -n fcwnn
%restart_on_update fcwnn
%insserv_cleanup
#%postun -n fcwnndev
# if you make libwnn.so, unomment it.
#/sbin/ldconfig
%pre -n ftwnn
/usr/sbin/useradd -r -o -g root -u 66 -s /bin/false -c "Wnn System Account" -d /var/lib/wnn wnn 2> /dev/null || :
%preun -n ftwnn
%stop_on_removal ftwnn
%post -n ftwnn
# touch all public dictionary files:
chroot . usr/bin/cwnntouch var/lib/wnn/zh_TW/dic/sys/*.*
# Create symbolic run level links:
%{fillup_and_insserv -s ftwnn START_FREE_TWNN}
%postun -n ftwnn
%restart_on_update ftwnn
%insserv_cleanup
%pre -n fkwnn
/usr/sbin/useradd -r -o -g root -u 66 -s /bin/false -c "Wnn System Account" -d /var/lib/wnn wnn 2> /dev/null || :
%preun -n fkwnn
%stop_on_removal fkwnn
%post -n fkwnn
# touch all public dictionary files:
chroot . usr/bin/kwnntouch var/lib/wnn/ko_KR/dic/sys/*.*
# Create symbolic run level links:
%{fillup_and_insserv -s fkwnn START_FREE_KWNN}
%postun -n fkwnn
%restart_on_update fkwnn
%insserv_cleanup
#%postun -n fkwnndev
# if you make libwnn.so, unomment it.
#/sbin/ldconfig
%files
%defattr(-,root,root)
%config /etc/init.d/fwnn
%config /usr/sbin/rcfwnn
%attr(-,wnn,root) /usr/bin/atod
%attr(-,wnn,root) /usr/bin/dtoa
%attr(-,wnn,root) /usr/bin/oldatonewa
%attr(-,wnn,root) /usr/bin/wdreg
%attr(-,wnn,root) /usr/bin/wnnstat
%attr(-,wnn,root) /usr/bin/atof
%attr(755,wnn,root) /usr/bin/jserver
%attr(-,wnn,root) /usr/bin/wddel
%attr(-,wnn,root) /usr/bin/wnnkill
%attr(-,wnn,root) /usr/bin/uum
%attr(-,wnn,root) /usr/bin/wnntouch
%dir %attr(-,wnn,root) /var/lib/wnn/
%dir %attr(-,wnn,root) /var/lib/wnn/ja/
%attr(-,wnn,root) /var/lib/wnn/ja/dic
%dir /etc/FreeWnn/ja/
/etc/FreeWnn/ja/dic
%config /etc/FreeWnn/ja/hinsi.data
%config /etc/FreeWnn/ja/jserverrc
%config /etc/FreeWnn/ja/libwnn.msg
%config /etc/FreeWnn/ja/rk
%config /etc/FreeWnn/ja/rk.vi
%config /etc/FreeWnn/ja/uum.msg
%config /etc/FreeWnn/ja/uumkey
%config /etc/FreeWnn/ja/uumkey.omr
%config /etc/FreeWnn/ja/uumkey_e
%config /etc/FreeWnn/ja/uumrc
%config /etc/FreeWnn/ja/uumrc.omr
%config /etc/FreeWnn/ja/uumrc.rev
%config /etc/FreeWnn/ja/uumrc_e
%config /etc/FreeWnn/ja/uumrc_vi
%config /etc/FreeWnn/ja/wnnenvrc
%config /etc/FreeWnn/ja/wnnenvrc.omr
%config /etc/FreeWnn/ja/wnnenvrc.rem
%config /etc/FreeWnn/ja/wnnenvrc.rev
%config /etc/FreeWnn/ja/wnnenvrc_R
%config /etc/FreeWnn/ja/wnnenvrc_R.omr
%config /etc/FreeWnn/ja/wnnenvrc_R.rem
%config /etc/FreeWnn/ja/wnnstat.msg
%dir /etc/FreeWnn/lt_LN/
/etc/FreeWnn/lt_LN/rk
%config /etc/FreeWnn/lt_LN/uum.msg
%config /etc/FreeWnn/lt_LN/uumkey
%config /etc/FreeWnn/lt_LN/uumkey_e
%config /etc/FreeWnn/lt_LN/uumrc
%files -n fwnndev
%defattr(-,root,root)
%dir /usr/include/wnn/
/usr/include/wnn/*
%{_libdir}/libjd.a
%{_libdir}/libwnn.a
%files -n fwnncom
%defattr(-,root,root)
%doc CONTRIBUTORS COPYRIGHT COPYRIGHT-j ChangeLog ChangeLog.old INSTALL
%doc olddoc/ Wnn/manual/ Wnn/manual.en/
%doc cWnn/manual cWnn/manual.en
%doc %{_mandir}/man?/*
%dir %{_mandir}/ja/
%dir %{_mandir}/ja/*/
%doc %{_mandir}/ja/man?/*
%dir %attr(-,wnn,root) /var/lib/wnn
%dir /etc/FreeWnn/
%config /etc/FreeWnn/cvt_key_empty
%config /etc/FreeWnn/cvt_key_tbl
%config /etc/FreeWnn/cvt_key_tbl.ST
%config /etc/FreeWnn/cvt_key_tbl.gm
%config /etc/FreeWnn/cvt_key_tbl.kt
%config /etc/FreeWnn/cvt_key_tbl.mv
%config /etc/FreeWnn/cvt_key_tbl.vt
%config /etc/FreeWnn/serverdefs
%files -n fcwnn
%defattr(-,root,root)
%config /etc/init.d/fcwnn
%config /usr/sbin/rcfcwnn
%attr(755,wnn,root) /usr/bin/cserver
%config /etc/FreeWnn/zh_CN/cixing.data
%config /etc/FreeWnn/zh_CN/cserverrc
/etc/FreeWnn/zh_CN/dic
%dir %attr(-,wnn,root) /var/lib/wnn/
%dir %attr(-,wnn,root) /var/lib/wnn/zh_CN/
%attr(-,wnn,root)/var/lib/wnn/zh_CN/dic
%config /etc/FreeWnn/zh_CN/libwnn.msg
%dir /etc/FreeWnn/
%dir /etc/FreeWnn/zh_CN/
/etc/FreeWnn/zh_CN/rk
/etc/FreeWnn/zh_CN/rk_p
/etc/FreeWnn/zh_CN/rk_z
/etc/FreeWnn/zh_CN/uum.msg
/etc/FreeWnn/zh_CN/uumkey
/etc/FreeWnn/zh_CN/uumkey_e
/etc/FreeWnn/zh_CN/uumkey_p
%config /etc/FreeWnn/zh_CN/uumrc
%config /etc/FreeWnn/zh_CN/uumrc_p
%config /etc/FreeWnn/zh_CN/uumrc_z
%config /etc/FreeWnn/zh_CN/wnnenvrc
%config /etc/FreeWnn/zh_CN/wnnenvrc_Qi
%config /etc/FreeWnn/zh_CN/wnnenvrc_QiR
%config /etc/FreeWnn/zh_CN/wnnenvrc_R
%config /etc/FreeWnn/zh_CN/wnnenvrc_Wu
%config /etc/FreeWnn/zh_CN/wnnenvrc_WuR
%config /etc/FreeWnn/zh_CN/wnnstat.msg
%files -n fcwnncom
%defattr(-,root,root)
/usr/bin/catod
/usr/bin/catof
/usr/bin/cdtoa
/usr/bin/cwddel
/usr/bin/cwdreg
/usr/bin/cwnnkill
/usr/bin/cwnnstat
/usr/bin/cwnntouch
%files -n fcwnndev
%defattr(-,root,root)
%dir /usr/include/cwnn/
/usr/include/cwnn/*
%{_libdir}/libcwnn.a
%files -n ftwnn
%defattr(-,root,root)
%config /etc/init.d/ftwnn
%config /usr/sbin/rcftwnn
%attr(755,wnn,root) /usr/bin/tserver
%config /etc/FreeWnn/zh_TW/cixing.data
/etc/FreeWnn/zh_TW/dic
%dir %attr(-,wnn,root) /var/lib/wnn/
%dir %attr(-,wnn,root) /var/lib/wnn/zh_TW/
%attr(-,wnn,root) /var/lib/wnn/zh_TW/dic
%config /etc/FreeWnn/zh_TW/libwnn.msg
%dir /etc/FreeWnn/
%dir /etc/FreeWnn/zh_TW/
/etc/FreeWnn/zh_TW/rk
/etc/FreeWnn/zh_TW/rk_p
/etc/FreeWnn/zh_TW/rk_z
%config /etc/FreeWnn/zh_TW/tserverrc
%config /etc/FreeWnn/zh_TW/uum.msg
%config /etc/FreeWnn/zh_TW/uumkey
%config /etc/FreeWnn/zh_TW/uumkey_e
%config /etc/FreeWnn/zh_TW/uumkey_p
%config /etc/FreeWnn/zh_TW/uumrc
%config /etc/FreeWnn/zh_TW/uumrc_p
%config /etc/FreeWnn/zh_TW/uumrc_z
%config /etc/FreeWnn/zh_TW/wnnenvrc
%config /etc/FreeWnn/zh_TW/wnnenvrc_R
%config /etc/FreeWnn/zh_TW/wnnstat.msg
%files -n fkwnn
%defattr(-,root,root)
%config /etc/init.d/fkwnn
%config /usr/sbin/rcfkwnn
%attr(755,wnn,root) /usr/bin/kserver
/usr/bin/katod
/usr/bin/katof
/usr/bin/kdtoa
/usr/bin/kwddel
/usr/bin/kwdreg
/usr/bin/kwnnkill
/usr/bin/kwnnstat
/usr/bin/kwnntouch
%dir /etc/FreeWnn/
%dir /etc/FreeWnn/ko_KR/
/etc/FreeWnn/ko_KR/dic
%dir %attr(-,wnn,root) /var/lib/wnn/
%dir %attr(-,wnn,root) /var/lib/wnn/ko_KR/
%attr(-,wnn,root) /var/lib/wnn/ko_KR/dic
%config /etc/FreeWnn/ko_KR/hinsi.data
%config /etc/FreeWnn/ko_KR/kserverrc
%config /etc/FreeWnn/ko_KR/libwnn.msg
/etc/FreeWnn/ko_KR/rk
%config /etc/FreeWnn/ko_KR/uum.msg
%config /etc/FreeWnn/ko_KR/uumkey
%config /etc/FreeWnn/ko_KR/uumrc
%config /etc/FreeWnn/ko_KR/wnnenvrc
%config /etc/FreeWnn/ko_KR/wnnenvrc_R
%config /etc/FreeWnn/ko_KR/wnnstat.msg
%files -n fkwnndev
%defattr(-,root,root)
%dir /usr/include/kwnn/
/usr/include/kwnn/*
%{_libdir}/libkwnn.a
# I don't know how to build xwnmo. Will try that later ...
# %files -n xwnmo
# %doc Xwnmo/manual Xwnmo/manual.en Xwnmo/README Xwnmo/README.j
# %doc Xwnmo/X11R6/README Xwnmo/X11R6/include/README
# %doc Xwnmo/xjutil/README Xwnmo/xjutil/README.j Xwnmo/xwnmo/README
# %doc Xwnmo/xwnmo/README.j Xwnmo/xwnmo/SEP_README Xwnmo/xwnmo/SEP_README.j
# /usr/X11R6/lib/X11/app-defaults/Xwnmo
# /usr/X11R6/bin/xwnmo
# /usr/X11R6/bin/killxwnmo
# /usr/X11R6/bin/xjutil
# /usr/X11R6/man/ja_JP.ujis/man1/xwnmo.1.gz
# /usr/X11R6/man/ja_JP.ujis/man1/ximrc.1.gz
# /usr/X11R6/man/ja_JP.ujis/man1/ximconf.1.gz
# /usr/X11R6/man/ja_JP.ujis/man1/cvt_fun_tbl.1.gz
# /usr/X11R6/man/ja_JP.ujis/man1/cvt_meta_tbl.1.gz
# /usr/X11R6/man/ja_JP.ujis/man1/killxwnmo.1.gz
# /usr/X11R6/man/ja_JP.ujis/man1/cvt_xim_tbl.1.gz
# /usr/X11R6/man/ja_JP.ujis/man1/xjutil.1.gz
# /usr/X11R6/man/man1/xwnmo.1.gz
# /usr/X11R6/man/man1/ximrc.1.gz
# /usr/X11R6/man/man1/ximconf.1.gz
# /usr/X11R6/man/man1/cvt_fun_tbl.1.gz
# /usr/X11R6/man/man1/cvt_meta_tbl.1.gz
# /usr/X11R6/man/man1/killxwnmo.1.gz
# /usr/X11R6/man/man1/cvt_xim_tbl.1.gz
# /usr/X11R6/man/man1/xjutil.1.gz
# /var/lib/wnn/ja_JP/uumrc.xim
# /var/lib/wnn/ja_JP/uumrc_vi.xim
# /var/lib/wnn/ja_JP/uumrc_e.xim
# /var/lib/wnn/ja_JP/uumkey.xim
# /var/lib/wnn/ja_JP/uumkey_v.xim
# /var/lib/wnn/ja_JP/uumkey_e.xim
# /var/lib/wnn/ja_JP/xim.msg
# /var/lib/wnn/ja_JP/xjutil.msg
# /var/lib/wnn/lt_LN/uumrc.xim
# /var/lib/wnn/lt_LN/uumkey.xim
# /var/lib/wnn/lt_LN/xim.msg
# /var/lib/wnn/zh_CN/uumrc.xim
# /var/lib/wnn/zh_CN/uumrc_p.xim
# /var/lib/wnn/zh_CN/uumrc_z.xim
# /var/lib/wnn/zh_CN/uumkey.xim
# /var/lib/wnn/zh_CN/uumkey_p.xim
# /var/lib/wnn/zh_CN/xim.msg
# /var/lib/wnn/zh_CN/xjutil.msg
# /var/lib/wnn/zh_TW/uumrc.xim
# /var/lib/wnn/zh_TW/uumrc_p.xim
# /var/lib/wnn/zh_TW/uumrc_z.xim
# /var/lib/wnn/zh_TW/uumkey.xim
# /var/lib/wnn/zh_TW/uumkey_p.xim
# /var/lib/wnn/zh_TW/xim.msg
# /var/lib/wnn/zh_TW/xjutil.msg
# /var/lib/wnn/ko_KR/uumrc.xim
# /var/lib/wnn/ko_KR/uumkey.xim
# /var/lib/wnn/ko_KR/xim.msg
# /var/lib/wnn/ko_KR/xjutil.msg
# %config /var/lib/wnn/ximconf
# %config /var/lib/wnn/ximrc
# %config /var/lib/wnn/ximrc_vi
# %config /var/lib/wnn/cvt_xim_tbl
%changelog -n fwnn
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Jan 14 2006 - schwab@suse.de
- Don't strip binaries.
- Don't build as root.
* Fri Oct 21 2005 - mmj@suse.de
- fix missing return value
* Thu Sep 22 2005 - yxu@suse.de
- add needed prototypes
* Wed Jun 15 2005 - meissner@suse.de
- Use RPM_OPT_FLAGS.
- Add lots of include files to avoid implicit declarations
- Use system getopt and bsearch.
- Fixed bad atoi() call spotted by -Wall
* Wed Apr 13 2005 - mfabian@suse.de
- make it build on STABLE again: conflicting-prototypes.patch
* Tue Jun 08 2004 - ro@suse.de
- get rid of some compiler warnings
* Mon Sep 15 2003 - mfabian@suse.de
- Bugzilla #30921: /var/lib/wnn should be owned by user "wnn"
for all subpackages.
* Mon Aug 18 2003 - mfabian@suse.de
- Use new stop_on_removal/restart_on_upate macros
* Mon Jun 16 2003 - mfabian@suse.de
- fix "directory not owned by any package".
* Sun Nov 03 2002 - mfabian@suse.de
- Bug Id #17416: fix usage of socket API to make /usr/bin/jserver
work on s390x. Thanks to <bk@suse.de> for help.
* Fri Sep 13 2002 - mfabian@suse.de
- change "network route named" -> "$network $named" in
"# Required-Start:".
* Thu Aug 01 2002 - mfabian@suse.de
- add %%insserv_prereq %%fillup_prereq to Prereq:
* Wed Jul 24 2002 - mfabian@suse.de
- Don't parse rc.config in init scripts
- change usage of useradd in pre script to comply with
the package howto
- move home-dir into fwnncom sub package (fwnncom is required by
all other *wnn* packages).
* Tue Jul 02 2002 - ro@suse.de
- added home-dir to base package
* Thu Apr 11 2002 - mfabian@suse.de
- use %%{_libdir} and add FreeWnn-lib64.patch from <froh@suse.de>
* Thu Jan 10 2002 - egmont@suselinux.hu
- changed /sbin/init.d to /etc/init.d in init script comments
* Fri Dec 07 2001 - mfabian@suse.de
- get rid of START_* variables in /etc/rc.config:
use new macros fill_up_and_insserv and insserv_cleanup and
remove testing for START_* variables from init scripts.
* Thu Sep 06 2001 - mfabian@suse.de
- set START_FREE_TWNN="no", START_FREE_KWNN="no",
START_FREE_CWNN="no",
* Tue Sep 04 2001 - schwab@suse.de
- Add prototypes for C++, constify.
* Mon May 07 2001 - mfabian@suse.de
- bzip2 sources
* Thu May 03 2001 - mfabian@suse.de
- make init scripts comply with latest LSB spec
* Tue Dec 05 2000 - schwab@suse.de
- Fix missing declarations.
* Tue Nov 28 2000 - mfabian@suse.de
- forgot to change the links to the init scripts to /etc/init.d
fixed.
* Mon Nov 27 2000 - mfabian@suse.de
- removed sockets before starting the FreeWnn servers.
sometimes these sockets remained after killing a FreeWnn server,
which prevented the restart.
* Mon Nov 27 2000 - mfabian@suse.de
- added "route named" to "Required-Start:"
- moved init scripts to /etc/init.d
* Fri Nov 24 2000 - mfabian@suse.de
- change to new init script mechanism:
rewrote the init scripts to use insserv to handle links to
init scripts.
* Wed Nov 01 2000 - mfabian@suse.de
- made the command line client "uum" work.
* Mon Oct 30 2000 - mfabian@suse.de
- moved all manpages into the fwnncom subpackage
* Fri Oct 27 2000 - bk@suse.de
- fixed startproc call, useradd and server permissions
* Wed Oct 25 2000 - mfabian@suse.de
- new package: fwnn (FreeWnn, Version 1.1.1-a017)