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