## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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-lua Version: 5.0.12 Release: %autorelease Summary: Lua support for fcitx License: LGPLv2+ URL: https://github.com/fcitx/fcitx5-lua 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: cmake BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: ninja-build BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(Fcitx5Core) BuildRequires: pkgconfig(Fcitx5Module) BuildRequires: /usr/bin/appstream-util # to make testing happy BuildRequires: fcitx5 Requires: fcitx5-data %description Lua support for fcitx. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: fcitx5-devel %description devel Devel files for fcitx5-lua %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup %build %cmake -GNinja %cmake_build %install %cmake_install install -d %{buildroot}%{_datadir}/lua/imeapi/extensions appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml %find_lang %{name} %check %ctest %files -f %{name}.lang %license LICENSES/LGPL-2.1-or-later.txt %doc README.md %{_libdir}/fcitx5/libluaaddonloader.so %{_datadir}/fcitx5/addon/imeapi.conf %{_datadir}/fcitx5/addon/luaaddonloader.conf %{_datadir}/fcitx5/lua %{_metainfodir}/org.fcitx.Fcitx5.Addon.Lua.metainfo.xml %files devel %{_includedir}/Fcitx5/Module/fcitx-module/luaaddonloader %{_libdir}/cmake/Fcitx5ModuleLuaAddonLoader %changelog ## START: Generated by rpmautospec * Wed Jan 24 2024 Fedora Release Engineering - 5.0.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 5.0.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 05 2024 Qiyu Yan - 5.0.12-2 - fix failed test * Fri Jan 05 2024 Qiyu Yan - 5.0.12-1 - update to upstream release 5.0.12 * Mon Oct 02 2023 Qiyu Yan - 5.0.11-1 - update to upstream release 5.0.11 * Wed Jul 19 2023 Fedora Release Engineering - 5.0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 5.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Aug 30 2022 Qiyu Yan - 5.0.10-1 - update to upstream release 5.0.10 * Thu Jul 21 2022 Fedora Release Engineering - 5.0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 04 2022 Qiyu Yan - 5.0.9-1 - update to upstream release 5.0.9 * Mon May 23 2022 Qiyu Yan - 5.0.8-1 - update to upstream release 5.0.8 * Thu Mar 10 2022 Qiyu Yan - 5.0.7-2 - fix missing file * Thu Mar 10 2022 Qiyu Yan - 5.0.7-1 - update to upstream release 5.0.7 * Wed Feb 02 2022 Qiyu Yan - 5.0.6-1 - update to upstream release 5.0.6 * Thu Jan 20 2022 Fedora Release Engineering - 5.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * 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 * Tue Jan 26 2021 Fedora Release Engineering - 5.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jan 13 11:10:56 CST 2021 Qiyu Yan - 5.0.2-1 - update to 5.0.2 upstream release * Sat Dec 5 16:24:45 CST 2020 Qiyu Yan - 5.0.1-1 - Update to 5.0.1 upstream release * Tue Nov 3 20:07:15 CST 2020 Qiyu Yan - 5.0.0-1 - update to 5.0.0 upstream release * Sat Sep 12 2020 Qiyu Yan - 0-0.3 - Rebuild for fcitx5 - Upstream commit ff218dd82db069d4a502a3eb212a80184c592ce0 * Sun Aug 16 2020 Qiyu Yan - 0-0.2.20200811gitd705404 - rebuilt * Wed Aug 12 2020 Qiyu Yan - 0-0.1.20200811gitd705404 - initial package ## END: Generated by rpmautospec