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