## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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-m17n Version: 5.1.1 Release: %autorelease Summary: m17n Wrapper for Fcitx5 License: LGPLv2+ URL: https://github.com/fcitx/fcitx5-m17n Source: https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.zst Source1: https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.zst.sig Source2: https://pgp.key-server.io/download/0x8E8B898CBF2412F9 BuildRequires: gnupg2 BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: ninja-build BuildRequires: gettext BuildRequires: pkgconfig BuildRequires: cmake(Fcitx5Core) BuildRequires: cmake(fmt) BuildRequires: pkgconfig(m17n-gui) > 1.6.3 BuildRequires: pkgconfig(m17n-db) BuildRequires: /usr/bin/appstream-util Requires: fcitx5-data Requires: pkgconfig(m17n-db) %description M17N is a large collection of input method, which can cover quite a lot languages in the world, including Latin, Arabic, etc. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup %build %cmake -GNinja %cmake_build %install %cmake_install appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml %find_lang %{name} %files -f %{name}.lang %license LICENSES/LGPL-2.1-or-later.txt %doc README.md %{_libdir}/fcitx5/m17n.so %{_datadir}/fcitx5/addon/m17n.conf %dir %{_datadir}/fcitx5/m17n %{_datadir}/fcitx5/m17n/default %{_metainfodir}/org.fcitx.Fcitx5.Addon.M17N.metainfo.xml %changelog ## START: Generated by rpmautospec * Sun Jul 14 2024 Kefu Chai - 5.1.1-2 - Rebuilt for fmt 11 * Tue Apr 23 2024 Qiyu Yan - 5.1.1-1 - update to upstream release 5.1.1 * Wed Jan 24 2024 Fedora Release Engineering - 5.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 5.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * 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.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 28 2023 Vitaly Zaitsev - 5.0.11-3 - Rebuilt due to fmt 10 update. * Thu Jan 19 2023 Fedora Release Engineering - 5.0.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Nov 21 2022 Qiyu Yan - 5.0.11-1 - update to 5.0.11 release * Thu Jul 21 2022 Fedora Release Engineering - 5.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 04 2022 Qiyu Yan - 5.0.10-1 - update to upstream release 5.0.10 * Mon May 23 2022 Qiyu Yan - 5.0.9-1 - update to upstream release 5.0.9 * 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 Jan 02 2022 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 * Wed Jul 21 2021 Fedora Release Engineering - 5.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed May 05 2021 Qiyu Yan - 5.0.5-1 - Update to 5.0.5 upstream release * Mon Mar 22 2021 Qiyu Yan - 5.0.4-1 - Update to 5.0.4 upstream release * Sat Feb 20 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:24:04 CST 2020 Qiyu Yan - 5.0.1-1 - Update to 5.0.1 upstream release ## END: Generated by rpmautospec