1 | %define pkg_name fcitx-skk |
---|
2 | %define pkg_version 0.1.3 |
---|
3 | %define pkg_release 2%{?_dist_release} |
---|
4 | |
---|
5 | Summary: An input method engine for Fcitx |
---|
6 | Summary(ja): Fcitx のための SKK インプットメソッドエンジン |
---|
7 | Name: %{pkg_name} |
---|
8 | Version: %{pkg_version} |
---|
9 | Release: %{pkg_release} |
---|
10 | |
---|
11 | License: GPLv3 |
---|
12 | Group: System Environment/Libraries |
---|
13 | URL: https://github.com/fcitx/fcitx-skk |
---|
14 | |
---|
15 | Source0: https://github.com/fcitx/fcitx-skk/archive/%{name}-%{version}.tar.gz |
---|
16 | Patch1: fcitx-0.1.3-skk-newChooseKeyType.patch |
---|
17 | |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
---|
19 | BuildRequires: cmake |
---|
20 | BuildRequires: fcitx-devel |
---|
21 | BuildRequires: libskk-devel |
---|
22 | BuildRequires: qt4-devel |
---|
23 | Requires: fcitx |
---|
24 | Requires: libskk |
---|
25 | Requires: skkdic |
---|
26 | Requires: qt4 |
---|
27 | |
---|
28 | Vendor: Project Vine |
---|
29 | Distribution: Vine Linux |
---|
30 | |
---|
31 | %description |
---|
32 | fcitx-skk is an input method engine for Fcitx, which uses libskk as its backend. |
---|
33 | |
---|
34 | %description -l ja |
---|
35 | Fcitx のための SKK インプットメソッドエンジンです。 |
---|
36 | |
---|
37 | (注意点) |
---|
38 | fcitx-skk を使用する場合には NumLock をオフにして下さい。 |
---|
39 | |
---|
40 | NumLock がオンになっていると変換候補の確定ができません。 |
---|
41 | (この場合にはテンキーで確定することしかできません) |
---|
42 | |
---|
43 | |
---|
44 | %prep |
---|
45 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
46 | %setup -q |
---|
47 | %patch1 -p1 |
---|
48 | |
---|
49 | %build |
---|
50 | %{__cmake} . |
---|
51 | %{__make} %{?_smp_mflags} |
---|
52 | |
---|
53 | %install |
---|
54 | %{make_install} PREFIX=%{_prefix} |
---|
55 | %{__cp} -a ${RPM_BUILD_ROOT}/usr/local/share/* ${RPM_BUILD_ROOT}%{_datadir} |
---|
56 | %{__rm} -rf ${RPM_BUILD_ROOT}/usr/local |
---|
57 | |
---|
58 | %clean |
---|
59 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
60 | |
---|
61 | %post -p %{_syssbindir}/ldconfig |
---|
62 | |
---|
63 | %postun -p %{_syssbindir}/ldconfig |
---|
64 | |
---|
65 | |
---|
66 | %files |
---|
67 | %defattr(-, root, root) |
---|
68 | %doc COPYING README.md |
---|
69 | %{_libdir}/fcitx/qt/ |
---|
70 | %{_libdir}/fcitx/fcitx-skk.so |
---|
71 | %{_datadir}/fcitx/ |
---|
72 | %{_datadir}/icons/ |
---|
73 | %{_datadir}/locale/ |
---|
74 | |
---|
75 | |
---|
76 | %changelog |
---|
77 | * Sat Dec 23 2017 Toshiaki Ara <ara_t@384.jp> 0.1.3-2 |
---|
78 | - add Patch1 (fcitx-0.1.3-skk-newChooseKeyType.patch) |
---|
79 | - add new choose key typing (asdfjkl) |
---|
80 | |
---|
81 | * Sat Dec 23 2017 Toshiaki Ara <ara_t@384.jp> 0.1.3-1 |
---|
82 | - Initial release |
---|