%global forgeurl https://github.com/fcitx/fcitx5-skk %global commit 02fb41d84d27969116ca878428978df2275c597a %forgemeta %global __provides_exclude_from ^%{_libdir}/fcitx5/.*\\.so$ Name: fcitx5-skk Version: 0 Release: 0.2%{?dist} Summary: Japanese SKK (Simple Kana Kanji) Engine for Fcitx5 License: GPLv3+ URL: %{forgeurl} Source: %{forgesource} 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 Requires: fcitx5 Requires: skkdic Requires: hicolor-icon-theme %description Fcitx5-skk is an SKK (Simple Kana Kanji) engine for Fcitx. It provides Japanese input method using libskk. %prep %forgesetup %build %cmake -GNinja %cmake_build %install %cmake_install %find_lang %{name} %files -f %{name}.lang %license COPYING %doc README.md %{_libdir}/fcitx5/qt5/libfcitx5-skk-config.so %{_libdir}/fcitx5/skk.so %{_datadir}/fcitx5/addon/skk.conf %{_datadir}/fcitx5/inputmethod/skk.conf %{_datadir}/fcitx5/skk/dictionary_list %{_datadir}/icons/hicolor/64x64/apps/fcitx-skk.png %changelog * Sun Aug 16 2020 Qiyu Yan - 0-0.2.20200813git02fb41d - rebuilt * Thu Aug 13 2020 Qiyu Yan - 0-0.1.20200813git02fb41d - Initial Package