update to libime commit 2aae1a9166173deec4eae9cbf927b84a586ec7b0

This commit is contained in:
Qiyu Yan 2020-08-29 11:11:18 +08:00
parent 322cf4a02e
commit d8fe345fb6
No known key found for this signature in database
GPG Key ID: 4FC914F065F2DF12
1 changed files with 22 additions and 4 deletions

View File

@ -1,5 +1,5 @@
%global forgeurl0 https://github.com/fcitx/libime
%global commit0 dff3ea6d1600166a5da65e4e7bee72fa8d595daa
%global commit0 2aae1a9166173deec4eae9cbf927b84a586ec7b0
# KenLM is used as submodule in upstream
%global forgeurl1 https://github.com/kpu/kenlm
@ -15,7 +15,7 @@ Version: 0
# both kenlm and libime are released under LGPL2+, but kenlm have some
# files in MIT and BSD
License: LGPLv2+ and MIT and BSD
Release: 0.4%{?dist}
Release: 0.5%{?dist}
Summary: This is a library to support generic input method implementation
URL: %{forgeurl0}
Source0: %{forgesource0}
@ -42,6 +42,14 @@ BuildRequires: pkgconfig(eigen3)
%description
This is a library to support generic input method implementation.
%package data
Summary: Data files of %{name}
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: hicolor-icon-theme
%description data
The %{name}-data package provides shared data for %{name}.
%package devel
Summary: Development files for %{name}
@ -81,8 +89,13 @@ ln -s %{S:4} %{_builddir}/%{name}-%{commit0}/data
%{_libdir}/libIMECore.so.0*
%{_libdir}/libIMEPinyin.so.0*
%{_libdir}/libIMETable.so.0*
%{_datadir}/%{name}/
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/zh_CN.lm
%{_libdir}/%{name}/zh_CN.lm.predict
%files data
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*.dict
%files devel
%{_libdir}/libIMECore.so
@ -94,7 +107,12 @@ ln -s %{S:4} %{_builddir}/%{name}-%{commit0}/data
%changelog
* Fri Aug 28 2020 Qiyu Yan <yanqiyu@fedoraproject.org> - 0-0.4
* Sat Aug 29 2020 Qiyu Yan <yanqiyu@fedoraproject.org> - 0-0.5.20200829git2aae1a9.s20200812git96d303c
- upstream issue https://github.com/fcitx/fcitx5-chinese-addons/issues/33
- move some files to prefix/lib64
- bring libime-data back
* Fri Aug 28 2020 Qiyu Yan <yanqiyu@fedoraproject.org> - 0-0.4.20200822gitdff3ea6.s20200822git96d303c
- remove the -data package (endian makes the files different)
* Sat Aug 22 2020 Qiyu Yan <yanqiyu@fedoraproject.org> - 0-0.3.20200822gitdff3ea6.s20200822git96d303c