1 | %define ver 0.1.2 |
---|
2 | %define rel 2 |
---|
3 | |
---|
4 | Summary: Japanese Kana Kanji Engine for Fcitx |
---|
5 | Name: fcitx-kkc |
---|
6 | Version: %{ver} |
---|
7 | Release: %{rel}%{_dist_release} |
---|
8 | License: GPLv3 |
---|
9 | Group: System Environment/Libraries |
---|
10 | URL: https://fcitx-im.org |
---|
11 | Source0: http://download.fcitx-im.org/fcitx-kkc/%{name}-%{version}.tar.xz |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
13 | BuildRequires: cmake |
---|
14 | BuildRequires: fcitx-devel >= 4.2.8 |
---|
15 | BuildRequires: libkkc-devel >= 0.2.3 |
---|
16 | Requires: fcitx |
---|
17 | |
---|
18 | Distribution: Vine Linux |
---|
19 | Vendor: Project Vine |
---|
20 | Packager: iwaim |
---|
21 | |
---|
22 | %description |
---|
23 | Japanese Kana Kanji Engine for Fcitx. |
---|
24 | |
---|
25 | %prep |
---|
26 | %setup -q |
---|
27 | |
---|
28 | %build |
---|
29 | %__mkdir build |
---|
30 | pushd build |
---|
31 | %cmake ENABLE_QT=On .. |
---|
32 | make %{?_smp_mflags} |
---|
33 | popd |
---|
34 | |
---|
35 | %install |
---|
36 | rm -rf $RPM_BUILD_ROOT |
---|
37 | pushd build |
---|
38 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" |
---|
39 | popd |
---|
40 | |
---|
41 | %find_lang %{name} |
---|
42 | |
---|
43 | %clean |
---|
44 | rm -rf $RPM_BUILD_ROOT |
---|
45 | |
---|
46 | %post |
---|
47 | /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
48 | |
---|
49 | %postun |
---|
50 | if [ $1 -eq 0 ] ; then |
---|
51 | /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
52 | /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
53 | fi |
---|
54 | |
---|
55 | %posttrans |
---|
56 | /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
57 | |
---|
58 | %files -f %{name}.lang |
---|
59 | %defattr(-,root,root,-) |
---|
60 | %doc COPYING |
---|
61 | %{_libdir}/fcitx/fcitx-kkc.so |
---|
62 | %{_libdir}/fcitx/qt/libfcitx-kkc-config.so |
---|
63 | %{_datadir}/fcitx/addon/fcitx-kkc.conf |
---|
64 | %{_datadir}/fcitx/configdesc/fcitx-kkc.desc |
---|
65 | %{_datadir}/fcitx/imicon/kkc.png |
---|
66 | %{_datadir}/fcitx/inputmethod/kkc.conf |
---|
67 | %dir %{_datadir}/fcitx/kkc |
---|
68 | %{_datadir}/fcitx/kkc/dictionary_list |
---|
69 | %{_datadir}/fcitx/kkc/rule |
---|
70 | %{_datadir}/icons/hicolor/64x64/apps/fcitx-kkc.png |
---|
71 | %dir %{_includedir}/fcitx/module/kkc |
---|
72 | %{_includedir}/fcitx/module/kkc/fcitx-kkc.h |
---|
73 | |
---|
74 | %changelog |
---|
75 | * Thu Jun 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.1.2-2 |
---|
76 | - rebuilt with new toolchain. |
---|
77 | |
---|
78 | * Mon Jun 1 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 0.1.2-1 |
---|
79 | - update to 0.1.2 |
---|
80 | - drop unnecessary patch (Patch0): upstream merged |
---|
81 | - drop unnecessary ja.po (Source0): upstream merged |
---|
82 | |
---|
83 | * Sat May 2 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 0.1.1-2 |
---|
84 | - update ja.po from upstream |
---|
85 | - add 'fix the check for the keymap conflict was inverted' patch (Patch0) |
---|
86 | - clean up spec file |
---|
87 | |
---|
88 | * Sun Jun 15 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.1.1-1 |
---|
89 | - update to 0.1.1 |
---|
90 | |
---|
91 | * Sun Dec 22 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.1.0-1.git51112956 |
---|
92 | - initial relase |
---|
93 | |
---|