Name: ibus-kkc Version: 1.5.22 Release: 20%{?dist} Summary: Japanese Kana Kanji input method for ibus License: GPLv2+ URL: https://github.com/ueno/ibus-kkc Source0: https://github.com/ueno/ibus-kkc/releases/download/v%{version}/%{name}-%{version}.tar.gz Patch0: ibus-kkc-content-type.patch Patch1: ibus-HEAD.patch BuildRequires: vala BuildRequires: intltool BuildRequires: libkkc-devel >= 0.3.4 BuildRequires: ibus-devel BuildRequires: gtk3-devel BuildRequires: desktop-file-utils BuildRequires: make Requires: ibus %description A Japanese Kana Kanji Input Method Engine for ibus. %prep %setup -q rm src/*vala.stamp # don't touch XKB layout under Fedora sed -i 's!jp!default!' src/kkc.xml.in.in # for ibus 1.5.4 or later %patch0 -p1 -b .content-type %patch1 -p1 -b .orig %build %configure make %{?_smp_mflags} %install %make_install INSTALL="install -p" # Register as an AppStream component to be visible in the software center # # NOTE: It would be *awesome* if this file was maintained by the upstream # project, translated and installed into the right place during `make install`. # # See http://www.freedesktop.org/software/appstream/docs/ for more details. # mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata cat > $RPM_BUILD_ROOT%{_datadir}/appdata/kkc.appdata.xml < kkc.xml CC0-1.0 Kana Kanji Japanese input method

The Kana Kanji input method is designed for entering Japanese text. It uses the Kana Kanji conversion library as backend, whose algorithm is based on 3-gram statistical language model generated from Wikipedia data.

Input methods are typing systems allowing users to input complex languages. They are necessary because these contain too many characters to simply be laid out on a traditional keyboard.

https://bitbucket.org/libkkc/libkkc/ GNOME GNOME The GNOME Project https://code.google.com/p/ibus/issues/list http://www.gnome.org/friends/ https://code.google.com/p/ibus/wiki/FAQ
EOF desktop-file-validate %{buildroot}/%{_datadir}/applications/ibus-setup-kkc.desktop %find_lang %{name} %files -f %{name}.lang %doc AUTHORS COPYING ChangeLog README %{_datadir}/appdata/*.appdata.xml %{_datadir}/ibus-kkc %{_libexecdir}/ibus-*-kkc %{_datadir}/ibus/component/kkc.xml %{_datadir}/applications/ibus-setup-kkc.desktop %changelog * Thu Jul 21 2022 Fedora Release Engineering - 1.5.22-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.5.22-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.5.22-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 18 2021 Takao Fujiwara - 1.5.22-17 - Delete ibus write-cache in scriptlet * Wed Apr 21 2021 Takao Fujiwara - 1.5.22-16 - Resolves: #1948197 Change post to posttrans * Tue Jan 26 2021 Fedora Release Engineering - 1.5.22-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.5.22-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.5.22-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.5.22-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.5.22-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.5.22-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.5.22-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Dec 14 2017 Jens Petersen - 1.5.22-8 - update to upstream head (f7516ae) - fixes FTBFS * Wed Aug 02 2017 Fedora Release Engineering - 1.5.22-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.5.22-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.5.22-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.5.22-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.5.22-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Mar 25 2015 Richard Hughes - 1.5.22-2 - Register as an AppStream component. * Fri Dec 19 2014 Daiki Ueno - 1.5.22-1 - new upstream release * Sat Aug 16 2014 Fedora Release Engineering - 1.5.21-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jul 7 2014 Daiki Ueno - 1.5.21-1 - new upstream release - update required libkkc version to 0.3.4, for libgee compatibility * Sat Jun 07 2014 Fedora Release Engineering - 1.5.20-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Apr 1 2014 Daiki Ueno - 1.5.20-1 - new upstream release * Tue Dec 17 2013 Daiki Ueno - 1.5.19-1 - new upstream release * Thu Nov 7 2013 Daiki Ueno - 1.5.18-2 - write ibus registry cache in %%post and %%postun (Closes: #1013980) - add patch to respect content-type of target application (Closes: #1013398) * Fri Sep 13 2013 Daiki Ueno - 1.5.18-1 - new upstream release, with improved dictionary selection UI (Closes: #1007648) * Tue Sep 10 2013 Daiki Ueno - 1.5.17-1 - new upstream release, to avoid redundant LM loading (Closes: #1004722) * Thu Jul 25 2013 Daiki Ueno - 1.5.16-2 - remove buildroot cleanup - validate .desktop file on %%install * Thu Jul 11 2013 Daiki Ueno - 1.5.16-1 - new upstream release (Closes: #980872) * Fri Jul 5 2013 Daiki Ueno - 1.5.15-1 - new upstream release * Fri Jun 7 2013 Daiki Ueno - 1.5.14-1 - new upstream release * Wed May 15 2013 Daiki Ueno - 1.5.13-1 - new upstream release * Thu May 9 2013 Daiki Ueno - 1.5.12-1 - new upstream release * Thu May 2 2013 Daiki Ueno - 1.5.11-2 - specify IBus version when configure * Wed May 1 2013 Daiki Ueno - 1.5.11-1 - new upstream release * Tue Mar 19 2013 Daiki Ueno - 1.5.10-1 - new upstream release * Tue Mar 12 2013 Daiki Ueno - 1.5.9-1 - new upstream release (Closes: #911495) * Fri Feb 22 2013 Daiki Ueno - 1.5.7-1 - new upstream release - don't touch XKB layout (#910959) * Mon Feb 11 2013 Daiki Ueno - 1.5.6-1 - new upstream release - change the license to GPLv2+ * Tue Feb 5 2013 Daiki Ueno - 1.5.5-1 - new upstream release - re-add README to %%doc * Mon Feb 4 2013 Daiki Ueno - 1.5.4-1 - new upstream release - change the license to GPLv3+ - remove empty README file from %%doc * Thu Jan 31 2013 Daiki Ueno - 1.5.3-1 - new upstream release * Thu Jan 24 2013 Daiki Ueno - 1.5.0-1 - initial packaging