## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global __provides_exclude_from ^%{_libdir}/fcitx5/.*\\.so$ Name: fcitx5-skk Version: 5.0.14 Release: %autorelease Summary: Japanese SKK (Simple Kana Kanji) Engine for Fcitx5 License: GPLv3+ URL: https://github.com/fcitx/fcitx5-skk Source: https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.xz Source1: https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.xz.sig Source2: https://pgp.key-server.io/download/0x8E8B898CBF2412F9 BuildRequires: gnupg2 BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: ninja-build BuildRequires: extra-cmake-modules BuildRequires: fcitx5-qt-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(Fcitx5Core) BuildRequires: pkgconfig(libskk) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(Qt5) BuildRequires: pkgconfig(Qt5Core) BuildRequires: gettext BuildRequires: intltool BuildRequires: /usr/bin/appstream-util Requires: skkdic Requires: hicolor-icon-theme Requires: fcitx5-data %description Fcitx5-skk is an SKK (Simple Kana Kanji) engine for Fcitx. It provides Japanese input method using libskk. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup %build %cmake -GNinja %cmake_build %install %cmake_install # convert symlinked icons to copied icons, this will help co-existing with # fcitx4 for iconfile in $(find %{buildroot}%{_datadir}/icons -type l) do origicon=$(readlink -f ${iconfile}) rm -f ${iconfile} cp ${origicon} ${iconfile} done appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml %find_lang %{name} %files -f %{name}.lang %license LICENSES/GPL-3.0-or-later.txt %doc README.md %{_libdir}/fcitx5/qt5/libfcitx5-skk-config.so %{_libdir}/fcitx5/skk.so %{_datadir}/fcitx5/addon/skk.conf %{_datadir}/fcitx5/inputmethod/skk.conf %dir %{_datadir}/fcitx5/skk %{_datadir}/fcitx5/skk/dictionary_list %{_datadir}/icons/hicolor/64x64/apps/fcitx-skk.png %{_datadir}/icons/hicolor/64x64/apps/org.fcitx.Fcitx5.fcitx-skk.png %{_metainfodir}/org.fcitx.Fcitx5.Addon.Skk.metainfo.xml %changelog * Mon Nov 21 2022 Qiyu Yan 5.0.14-1 - update to upstream release 5.0.14 * Thu Jul 21 2022 Fedora Release Engineering 5.0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 04 2022 Qiyu Yan 5.0.13-1 - update to upstream release 5.0.13 * Mon May 23 2022 Qiyu Yan 5.0.12-1 - update to upstream release 5.0.12 * Thu Mar 10 2022 Qiyu Yan 5.0.11-1 - update to upstream release 5.0.11 * Wed Feb 02 2022 Qiyu Yan 5.0.10-1 - update to upstream release 5.0.10 * Thu Jan 20 2022 Fedora Release Engineering 5.0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Nov 06 2021 Qiyu Yan 5.0.9-1 - update to 5.0.9 * Tue Oct 19 2021 Qiyu Yan 5.0.8-1 - update to 5.0.8 * Sun Sep 26 2021 Qiyu Yan 5.0.7-1 - update to 5.0.7 * Wed Jul 21 2021 Fedora Release Engineering - 5.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed May 05 2021 Qiyu Yan - 5.0.6-1 - Update to 5.0.6 upstream release * Mon Mar 22 2021 Qiyu Yan - 5.0.5-1 - Update to 5.0.5 upstream release * Sat Feb 20 2021 Qiyu Yan - 5.0.4-1 - update to 5.0.4 upstream release * Tue Jan 26 2021 Fedora Release Engineering - 5.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 13 11:15:59 CST 2021 Qiyu Yan - 5.0.3-1 - update to 5.0.3 upstream release * Fri Dec 11 16:57:02 CST 2020 Qiyu Yan - 5.0.2-2 - fix conlict with fcitx4 * Sat Dec 5 17:30:36 CST 2020 Qiyu Yan - 5.0.2-1 - Update to 5.0.2 upstream release * Sat Dec 5 16:43:52 CST 2020 Qiyu Yan - 5.0.1-1 - Update to 5.0.1 upstream release * Tue Nov 3 20:19:30 CST 2020 Qiyu Yan - 5.0.0-1 - update to 5.0.0 upstream release * Fri Oct 16 2020 Qiyu Yan - 0-0.4 - update to eff9bc32bcccdae65dcae05adfc9eb7a642a667e upstream commit * Sat Sep 12 2020 Qiyu Yan - 0-0.3 - Rebuild for fcitx5 - Upstream commit cc9261407b496a5708dca642deec5bcafe1cf58c * Sun Aug 16 2020 Qiyu Yan - 0-0.2.20200813git02fb41d - rebuilt * Thu Aug 13 2020 Qiyu Yan - 0-0.1.20200813git02fb41d - Initial Package