Blame fcitx5-table-other.spec

e85ff2d
Name:       fcitx5-table-other
5167d3e
Version:    5.0.5
e85ff2d
Release:    1%{?dist}
e85ff2d
Summary:    Other tables for Fcitx5
e85ff2d
License:    GPLv3
e85ff2d
URL:        https://github.com/fcitx/fcitx5-table-other
e85ff2d
Source:     https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.xz
e85ff2d
Source1:    https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.xz.sig
e85ff2d
Source2:    https://pgp.key-server.io/download/0x8E8B898CBF2412F9
e85ff2d
BuildArch:  noarch
e85ff2d
e85ff2d
BuildRequires:  gnupg2
e85ff2d
BuildRequires:  cmake
e85ff2d
BuildRequires:  extra-cmake-modules
e85ff2d
BuildRequires:  ninja-build
e85ff2d
BuildRequires:  boost-devel
e85ff2d
BuildRequires:  cmake(Fcitx5Utils)
e85ff2d
BuildRequires:  cmake(LibIMETable)
e85ff2d
BuildRequires:  gettext
e85ff2d
BuildRequires:  libappstream-glib
e85ff2d
e85ff2d
Requires:       hicolor-icon-theme
e85ff2d
Requires:       fcitx5-data
e85ff2d
e85ff2d
%description
e85ff2d
Fcitx-table-other provides some other tables 
e85ff2d
for Fcitx, fork from ibus-table-others, scim-tables.
e85ff2d
e85ff2d
%prep
e85ff2d
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
e85ff2d
%autosetup
e85ff2d
e85ff2d
%build 
58f11f0
%cmake -GNinja -DCMAKE_PREFIX_PATH="%{_libdir}/cmake;%{_libdir}64/cmake"
e85ff2d
%cmake_build
e85ff2d
e85ff2d
%install
e85ff2d
%cmake_install
e85ff2d
e85ff2d
# convert symlinked icons to copied icons, this will help co-existing with
e85ff2d
# fcitx4
e85ff2d
for iconfile in $(find %{buildroot}%{_datadir}/icons -type l)
e85ff2d
do
e85ff2d
  origicon=$(readlink -f ${iconfile})
e85ff2d
  rm -f ${iconfile}
e85ff2d
  cp ${origicon} ${iconfile}
e85ff2d
done 
e85ff2d
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml
e85ff2d
e85ff2d
%files 
bab1c51
%license LICENSES/GPL-3.0-only.txt
e85ff2d
%doc README NEWS 
e85ff2d
%{_datadir}/fcitx5/inputmethod/*
e85ff2d
%{_datadir}/fcitx5/table/*
e85ff2d
%{_datadir}/icons/hicolor/*/apps/*
e85ff2d
%{_metainfodir}/org.fcitx.Fcitx5.Addon.TableOther.metainfo.xml
e85ff2d
e85ff2d
%changelog
5167d3e
* Wed May 05 2021 Qiyu Yan <yanqiyu@fedoraproject.org> - 5.0.5-1
5167d3e
- Update to 5.0.5 upstream release
5167d3e
36d0c64
* Mon Mar 22 2021 Qiyu Yan <yanqiyu@fedoraproject.org> - 5.0.4-1
36d0c64
- Update to 5.0.4 upstream release
36d0c64
e85ff2d
* Fri Mar 12 2021 Qiyu Yan <yanqiyu@fedoraproject.org> - 5.0.3-1
e85ff2d
- Update to 5.0.3 upstream release
e85ff2d
e85ff2d
* Fri Feb 19 2021 Qiyu Yan <yanqiyu@fedoraproject.org> - 5.0.2-1
e85ff2d
- update to 5.0.2 upstream release
e85ff2d
e85ff2d
* Fri Dec 11 23:37:13 CST 2020 Qiyu Yan <yanqiyu@fedoraproject.org> - 5.0.1-1
e85ff2d
- Update to 5.0.1 upstream release