Blame fcitx5-rime.spec

bc02deb
%global forgeurl https://github.com/fcitx/fcitx5-rime
bc02deb
%global commit   e4fc60043e8c608d344b7f7b3e83116a81d89318
bc02deb
%forgemeta
bc02deb
%global __provides_exclude_from ^%{_libdir}/fcitx5/.*\\.so$
bc02deb
bc02deb
bc02deb
Name:           fcitx5-rime
bc02deb
Version:        0
daf496a
Release:        0.3%{?dist}
bc02deb
Summary:        RIME support for Fcitx
bc02deb
License:        LGPLv2+
bc02deb
URL:            %{forgeurl}
bc02deb
Source:         %{forgesource}
bc02deb
bc02deb
bc02deb
BuildRequires:  brise 
bc02deb
BuildRequires:  cmake
bc02deb
BuildRequires:  extra-cmake-modules
bc02deb
BuildRequires:  gcc-c++
bc02deb
BuildRequires:  ninja-build
bc02deb
BuildRequires:  gettext
bc02deb
BuildRequires:  pkgconfig
bc02deb
BuildRequires:  pkgconfig(Fcitx5Core)
bc02deb
BuildRequires:  pkgconfig(Fcitx5Module)
bc02deb
BuildRequires:  pkgconfig(rime)
bc02deb
Requires:       hicolor-icon-theme
bc02deb
Requires:       fcitx5-data
daf496a
Requires:       brise
bc02deb
bc02deb
%description
bc02deb
RIME(中州韻輸入法引擎) is mainly a Traditional Chinese 
bc02deb
input method engine.
bc02deb
bc02deb
%prep
bc02deb
%forgesetup
bc02deb
bc02deb
%build
bc02deb
%cmake -GNinja
bc02deb
%cmake_build 
bc02deb
bc02deb
%install
bc02deb
%cmake_install
bc02deb
bc02deb
%find_lang %{name}
bc02deb
bc02deb
%check
bc02deb
%ctest
bc02deb
bc02deb
%files -f %{name}.lang
bc02deb
%license LICENSES/LGPL-2.1-or-later.txt
bc02deb
%doc README.md 
bc02deb
%{_libdir}/fcitx5/rime.so
bc02deb
%{_datadir}/fcitx5/*/rime.conf
bc02deb
%{_datadir}/icons/hicolor/*/*/*
bc02deb
bc02deb
bc02deb
%changelog
daf496a
* Sat Aug 22 2020 Qiyu Yan <yanqiyu@fedoraproject.org> - 0-0.3.20200811gite4fc600
daf496a
- add missing Requires
daf496a
bc02deb
* Sun Aug 16 2020 Qiyu Yan <yanqiyu@fedoraproject.org> - 0-0.2.20200811gite4fc600
bc02deb
- rebuilt
bc02deb
bc02deb
* Wed Aug 12 2020 Qiyu Yan <yanqiyu@fedoraproject.org> - 0-0.1.20200811gite4fc600
bc02deb
- initial package