source: projects/specs/trunk/f/fcitx-kkc/fcitx-kkc-vl.spec @ 9894

Revision 9894, 2.2 KB checked in by iwaim, 8 years ago (diff)

fcitx-kkc 0.1.2-1

Line 
1%define ver 0.1.2
2%define rel 1
3
4Summary: Japanese Kana Kanji Engine for Fcitx
5Name: fcitx-kkc
6Version: %{ver}
7Release: %{rel}%{_dist_release}
8License: GPLv3
9Group: System Environment/Libraries
10URL: https://fcitx-im.org
11Source0: http://download.fcitx-im.org/fcitx-kkc/%{name}-%{version}.tar.xz
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
13BuildRequires: cmake
14BuildRequires: fcitx-devel >= 4.2.8
15BuildRequires: libkkc-devel >= 0.2.3
16Requires: fcitx
17
18Distribution: Vine Linux
19Vendor:       Project Vine
20Packager:     iwaim
21
22%description
23Japanese Kana Kanji Engine for Fcitx.
24
25%prep
26%setup -q
27
28%build
29%__mkdir build
30pushd build
31%cmake ENABLE_QT=On ..
32make %{?_smp_mflags}
33popd
34
35%install
36rm -rf $RPM_BUILD_ROOT
37pushd build
38make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
39popd
40
41%find_lang %{name}
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%post
47/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
48
49%postun
50if [ $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 || :
53fi
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* Mon Jun  1 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 0.1.2-1
76- update to 0.1.2
77- drop unnecessary patch (Patch0): upstream merged
78- drop unnecessary ja.po (Source0): upstream merged
79
80* Sat May  2 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 0.1.1-2
81- update ja.po from upstream
82- add 'fix the check for the keymap conflict was inverted' patch (Patch0)
83- clean up spec file
84
85* Sun Jun 15 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.1.1-1
86- update to 0.1.1
87
88* Sun Dec 22 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.1.0-1.git51112956
89- initial relase
90
Note: See TracBrowser for help on using the repository browser.