Name: libime-jyutping Version: 1.0.1 License: LGPLv2+ Release: 1%{?dist} Summary: This is a library to support generic input method implementation URL: https://github.com/fcitx/libime-jyutping Source: https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}_dict.tar.xz Source1: https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}_dict.tar.xz.sig Source2: https://pgp.key-server.io/download/0x8E8B898CBF2412F9 Patch0: 0001-Add-missing-headers.patch BuildRequires: gnupg2 BuildRequires: cmake BuildRequires: ninja-build BuildRequires: gcc-c++ BuildRequires: cmake(Fcitx5Utils) BuildRequires: cmake(Fcitx5ModulePunctuation) BuildRequires: cmake(LibIMECore) BuildRequires: fmt-devel BuildRequires: boost-devel BuildRequires: extra-cmake-modules BuildRequires: gettext Requires: %{name}-data Requires: libime %description This is a library to support generic input method implementation. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: libime%{?_isa} %description devel Development files for %{name} %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 %build %cmake -GNinja -DENABLE_DOC=off %cmake_build %install %cmake_install %check %ctest %find_lang fcitx5-jyutping %files -f fcitx5-jyutping.lang %license LICENSES/LGPL-2.1-or-later.txt %doc README.md %{_bindir}/libime_jyutpingdict %{_libdir}/libIMEJyutping.so.1* %{_libdir}/libime/zh_HK.lm %{_libdir}/libime/zh_HK.lm.predict %{_libdir}/fcitx5/jyutping.so %{_datadir}/fcitx5/inputmethod/jyutping.conf %{_datadir}/fcitx5/addon/jyutping.conf %{_datadir}/libime/jyutping.dict %{_metainfodir}/org.fcitx.Fcitx5.Addon.Jyutping.metainfo.xml %files devel %{_libdir}/libIMEJyutping.so %{_libdir}/cmake/LibIMEJyutping %{_includedir}/LibIME/libime/jyutping %changelog * Sat Dec 12 00:04:59 CST 2020 Qiyu Yan - 1.0.1-1 - Update to 1.0.1 upstream release