## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %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 Name: fcitx5-table-extra Version: 5.1.0 Release: %autorelease Summary: Extra tables for Fcitx5 License: GPLv3+ URL: https://github.com/fcitx/fcitx5-table-extra 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 BuildArch: noarch BuildRequires: gnupg2 BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: ninja-build BuildRequires: boost-devel BuildRequires: cmake(Fcitx5Core) BuildRequires: cmake(LibIMETable) BuildRequires: gettext BuildRequires: /usr/bin/appstream-util Requires: hicolor-icon-theme Requires: fcitx5-data %description Extra tables for Fcitx5. fcitx5-table-extra provides extra table for Fcitx5, including Boshiamy, Zhengma, Cangjie, and Quick. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup %build # %%{_libdir} expands to /usr/lib, even on 64bit platform, that we need to # to this tricky thing %cmake -GNinja -DCMAKE_PREFIX_PATH="%{_libdir}/cmake;%{_libdir}64/cmake" %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 %files %license LICENSES/GPL-3.0-or-later.txt %doc README NEWS AUTHORS %{_datadir}/fcitx5/table/* %{_datadir}/fcitx5/inputmethod/* %{_datadir}/icons/hicolor/*/apps/* %{_metainfodir}/org.fcitx.Fcitx5.Addon.TableExtra.metainfo.xml %changelog * Fri Aug 18 2023 Qiyu Yan - 5.1.0-1 - update to upstream release 5.1.0 * Wed Jul 19 2023 Fedora Release Engineering - 5.0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Mar 12 2023 Qiyu Yan - 5.0.13-1 - update to upstream release 5.0.13 * Thu Jan 19 2023 Fedora Release Engineering - 5.0.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Nov 21 2022 Qiyu Yan - 5.0.12-1 - update to upstream release 5.0.12 * Thu Jul 21 2022 Fedora Release Engineering - 5.0.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 04 2022 Qiyu Yan - 5.0.11-1 - update to upstream release 5.0.11 * Mon May 23 2022 Qiyu Yan - 5.0.10-1 - update to upstream release 5.0.10 * Thu Mar 10 2022 Qiyu Yan - 5.0.9-1 - update to upstream release 5.0.9 * Wed Feb 02 2022 Qiyu Yan - 5.0.8-2 - license change to GPLv3+ * Wed Feb 02 2022 Qiyu Yan - 5.0.8-1 - update to upstream release 5.0.8 * Thu Jan 20 2022 Fedora Release Engineering - 5.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Dec 05 2021 Qiyu Yan - 5.0.7-1 - update to 5.0.7 * Sat Nov 06 2021 Qiyu Yan - 5.0.6-1 - update to 5.0.6 * Tue Oct 19 2021 Qiyu Yan - 5.0.5-1 - update to 5.0.5 * Wed Jul 21 2021 Fedora Release Engineering - 5.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed May 05 2021 Qiyu Yan - 5.0.4-1 - Update to 5.0.4 upstream release * Mon Mar 22 2021 Qiyu Yan - 5.0.3-1 - Update to 5.0.3 upstream release * Fri Feb 19 2021 Qiyu Yan - 5.0.2-1 - update to 5.0.2 upstream release * Fri Dec 11 23:29:36 CST 2020 Qiyu Yan - 5.0.1-1 - Update to 5.0.1 upstream release