Blame fcitx5-m17n.spec

51fb7a2
%global __provides_exclude_from ^%{_libdir}/fcitx5/.*\\.so$
51fb7a2
51fb7a2
Name:       fcitx5-m17n
e4d58a8
Version:    5.0.5
51fb7a2
Release:    1%{?dist}
51fb7a2
Summary:    m17n Wrapper for Fcitx5
51fb7a2
License:    LGPLv2+
51fb7a2
URL:        https://github.com/fcitx/fcitx5-m17n
51fb7a2
Source:     https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.xz
51fb7a2
Source1:    https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.xz.sig
51fb7a2
Source2:    https://pgp.key-server.io/download/0x8E8B898CBF2412F9
51fb7a2
51fb7a2
BuildRequires:  gnupg2
51fb7a2
BuildRequires:  cmake
51fb7a2
BuildRequires:  extra-cmake-modules
51fb7a2
BuildRequires:  gcc-c++
51fb7a2
BuildRequires:  ninja-build
51fb7a2
BuildRequires:  gettext
51fb7a2
BuildRequires:  pkgconfig
51fb7a2
BuildRequires:  cmake(Fcitx5Core)
51fb7a2
BuildRequires:  cmake(fmt)
51fb7a2
BuildRequires:  pkgconfig(m17n-gui) > 1.6.3
695e23e
BuildRequires:  pkgconfig(m17n-db)
7db776a
BuildRequires:  /usr/bin/appstream-util
51fb7a2
Requires:       fcitx5-data
695e23e
Requires:       pkgconfig(m17n-db)
51fb7a2
51fb7a2
%description
51fb7a2
M17N is a large collection of input method, which can cover 
51fb7a2
quite a lot languages in the world, including Latin, Arabic, 
51fb7a2
etc.
51fb7a2
51fb7a2
%prep
51fb7a2
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
51fb7a2
%autosetup
51fb7a2
51fb7a2
%build
51fb7a2
%cmake -GNinja
51fb7a2
%cmake_build
51fb7a2
51fb7a2
%install
51fb7a2
%cmake_install
7db776a
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml
51fb7a2
%find_lang %{name}
51fb7a2
51fb7a2
%files -f %{name}.lang
51fb7a2
%license LICENSES/LGPL-2.1-or-later.txt
51fb7a2
%doc README.md 
51fb7a2
%{_libdir}/fcitx5/m17n.so
51fb7a2
%{_datadir}/fcitx5/addon/m17n.conf
51fb7a2
%dir %{_datadir}/fcitx5/m17n
51fb7a2
%{_datadir}/fcitx5/m17n/default
51fb7a2
%{_metainfodir}/org.fcitx.Fcitx5.Addon.M17N.metainfo.xml
51fb7a2
51fb7a2
%changelog
e4d58a8
* Wed May 05 2021 Qiyu Yan <yanqiyu@fedoraproject.org> - 5.0.5-1
e4d58a8
- Update to 5.0.5 upstream release
e4d58a8
e8b03a9
* Mon Mar 22 2021 Qiyu Yan <yanqiyu@fedoraproject.org> - 5.0.4-1
e8b03a9
- Update to 5.0.4 upstream release
e8b03a9
51fb7a2
* Sat Feb 20 2021 Qiyu Yan <yanqiyu@fedoraproject.org> - 5.0.3-1
51fb7a2
- update to 5.0.3 upstream release
51fb7a2
51fb7a2
* Fri Feb 19 2021 Qiyu Yan <yanqiyu@fedoraproject.org> - 5.0.2-1
51fb7a2
- update to 5.0.2 upstream release
51fb7a2
51fb7a2
* Fri Dec 11 23:24:04 CST 2020 Qiyu Yan - 5.0.1-1
51fb7a2
- Update to 5.0.1 upstream release
51fb7a2