source: projects/specs/trunk/f/fcitx-skk/fcitx-skk-vl.spec @ 11289

Revision 11289, 1.9 KB checked in by ara_t, 6 years ago (diff)

fcitx-skk: add fcitx-0.1.3-skk-newChooseKeyType.patch

Line 
1%define pkg_name    fcitx-skk
2%define pkg_version 0.1.3
3%define pkg_release 2%{?_dist_release}
4
5Summary: An input method engine for Fcitx
6Summary(ja): Fcitx のための SKK インプットメソッドエンジン
7Name:    %{pkg_name}
8Version: %{pkg_version}
9Release: %{pkg_release}
10
11License: GPLv3
12Group:   System Environment/Libraries
13URL:     https://github.com/fcitx/fcitx-skk
14
15Source0: https://github.com/fcitx/fcitx-skk/archive/%{name}-%{version}.tar.gz
16Patch1: fcitx-0.1.3-skk-newChooseKeyType.patch
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
19BuildRequires: cmake
20BuildRequires: fcitx-devel
21BuildRequires: libskk-devel
22BuildRequires: qt4-devel
23Requires: fcitx
24Requires: libskk
25Requires: skkdic
26Requires: qt4
27
28Vendor:       Project Vine
29Distribution: Vine Linux
30
31%description
32fcitx-skk is an input method engine for Fcitx, which uses libskk as its backend.
33
34%description -l ja
35Fcitx のための SKK インプットメソッドエンジンです。
36
37(注意点)
38fcitx-skk を使用する場合には NumLock をオフにして下さい。
39
40NumLock がオンになっていると変換候補の確定ができません。
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
Note: See TracBrowser for help on using the repository browser.