Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
075409a8bd
!6 Upgrade to version 2.24.4
From: @dedv_dwe 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2023-11-29 03:02:16 +00:00
ut004527
2f9a8eb0df Upgrade to version 2.24.4 2023-11-29 10:40:29 +08:00
openeuler-ci-bot
a478610032
!5 Upgrade to version 2.23.4
From: @chen-jan 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-09-04 03:13:42 +00:00
chen-jan
afe18ea333 Upgrade to version 2.23.4 2023-09-04 10:50:45 +08:00
openeuler-ci-bot
f8370e90fe
!4 License compliance rectification
From: @konglidong 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
2022-11-18 05:41:39 +00:00
konglidong
0818ff7620 License compliance rectification 2022-10-20 17:47:53 +08:00
openeuler-ci-bot
049e758c06
!2 Package upgrade
From: @wk333 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-06-21 09:00:39 +00:00
wk333
accb9b1201 Package upgrade 2022-06-21 14:34:15 +08:00
openeuler-ci-bot
dc2520b05f !1 Add ibus-typing-booster.yaml
Merge pull request !1 from yaokai13/master
2020-05-09 16:27:42 +08:00
yaokai13
7014943bfa Add ibus-typing-booster.yaml 2020-05-07 17:41:56 +08:00
4 changed files with 45 additions and 13 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,23 +1,37 @@
%define with_check 0
Name: ibus-typing-booster Name: ibus-typing-booster
Version: 2.1.2 Version: 2.24.4
Release: 3 Release: 1
Summary: A completion input method to speedup typing Summary: A completion input method to speedup typing
License: GPLv3+, ASL 2.0 License: GPL-3.0 and Apache-2.0
URL: https://mike-fabian.github.io/ibus-typing-booster/ URL: https://mike-fabian.github.io/ibus-typing-booster/
Source0: https://github.com/mike-fabian/ibus-typing-booster/releases/download/%{version}/ibus-typing-booster-%{version}.tar.gz Source0: https://github.com/mike-fabian/ibus-typing-booster/releases/download/%{version}/ibus-typing-booster-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: ibus-devel m17n-db-extras libappstream-glib glib2 BuildRequires: ibus-devel m17n-db-extras libappstream-glib glib2
BuildRequires: python3-devel python3-pyxdg python3-enchant BuildRequires: python3-devel python3-pyxdg python3-enchant
%if %{with_check}
BuildRequires: m17n-lib hunspell-cs hunspell-de hunspell-en BuildRequires: m17n-lib hunspell-cs hunspell-de hunspell-en
BuildRequires: hunspell-es hunspell-fr hunspell-it hunspell-ko BuildRequires: hunspell-es hunspell-fr hunspell-it hunspell-ko
%endif BuildRequires: gcc m17n-db-devel enchant2 gtk3 dconf dbus-x11 ibus
BuildRequires: xorg-x11-server-Xvfb make python3-packaging glibc-all-langpacks
BuildRequires: python3-libvoikko libvoikko-devel appstream desktop-file-utils
BuildRequires: python3-gobject python3-gobject-base
Requires: python3 >= 3.3 python3-dbus python3-enchant python3-pyxdg Requires: python3 >= 3.3 python3-dbus python3-enchant python3-pyxdg
Requires: cldr-emoji-annotation unicode-ucd ibus >= 1.5.3 m17n-lib Requires: cldr-emoji-annotation unicode-ucd ibus >= 1.5.3 m17n-lib
# Recommend reasonably good fonts which have most of the emoji:
Recommends: google-noto-emoji-fonts google-noto-emoji-color-fonts gdouros-symbola-fonts Recommends: google-noto-emoji-fonts google-noto-emoji-color-fonts gdouros-symbola-fonts
# For better description of the dictionaries in the setup tool
# makes it possible to search for full language and territory names
# and not just locale codes:
Recommends: python3-langtable
# To play a sound on error:
Recommends: python3-simpleaudio
# Use better regexpressions if available:
Recommends: python3-regex
# To get the currently active window in a Gnome Wayland session:
Recommends: python3-pyatspi
Provides: emoji-picker = %{version}-%{release} Provides: emoji-picker = %{version}-%{release}
Obsoletes: emoji-picker < %{version}-%{release} Obsoletes: emoji-picker < %{version}-%{release}
@ -32,23 +46,26 @@ Ibus-typing-booster is a completion input method to speedup typing.
%build %build
export PYTHON=%{__python3} export PYTHON=%{__python3}
%configure --disable-additional %configure --disable-static --disable-additional
%make_build %make_build
%install %install
export PYTHON=%{__python3} export PYTHON=%{__python3}
%make_install NO_INDEX=true pkgconfigdir=%{_datadir}/pkgconfig %make_install NO_INDEX=true pkgconfigdir=%{_datadir}/pkgconfig
%py_byte_compile %{__python3} %{buildroot}/usr/share/ibus-typing-booster/engine
%py_byte_compile %{__python3} %{buildroot}/usr/share/ibus-typing-booster/setup
rm $RPM_BUILD_ROOT/%{_datadir}/ibus-typing-booster/data/annotations*/*.xml rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/annotations/*.xml
rm $RPM_BUILD_ROOT/%{_datadir}/ibus-typing-booster/data/UnicodeData.txt rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/annotationsDerived/*.xml
rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/data/UnicodeData.txt
gzip -n --force --best $RPM_BUILD_ROOT/%{_datadir}/ibus-typing-booster/data/emoji* gzip -n --force --best $RPM_BUILD_ROOT/%{_datadir}/ibus-typing-booster/data/*.txt
gzip -n --force --best $RPM_BUILD_ROOT/%{_datadir}/ibus-typing-booster/data/*.json
%find_lang ibus-typing-booster %find_lang ibus-typing-booster
%delete_la_and_a %delete_la_and_a
%if %{with_check}
%check %check
export LC_ALL=en_US.UTF-8 export LC_ALL=en_US.UTF-8
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
@ -86,7 +103,6 @@ dconf write /org/freedesktop/ibus/engine/typing-booster/showstatusinfoinaux true
dconf dump / dconf dump /
ibus-daemon -drx ibus-daemon -drx
make check || cat ./tests/test-suite.log make check || cat ./tests/test-suite.log
%endif
%post %post
[ -x %{_bindir}/ibus ] && %{_bindir}/ibus write-cache --system &>/dev/null || : [ -x %{_bindir}/ibus ] && %{_bindir}/ibus write-cache --system &>/dev/null || :
@ -109,9 +125,21 @@ make check || cat ./tests/test-suite.log
%files help %files help
%defattr(-,root,root) %defattr(-,root,root)
%doc README ChangeLog NEWS %doc README README.html README.md
%changelog %changelog
* Wed Nov 29 2023 wangqia <wangqia@uniontech.com> - 2.24.4-1
- Upgrade to version 2.24.4
* Fri Sep 01 2023 chenchen <chen_aka_jan@163.com> - 2.23.4-1
- Upgrade to version 2.23.4
* Thu Oct 20 2022 konglidong <konglidong@uniontech.com> - 2.16.0-2
- License compliance rectification
* Tue Jun 21 2022 SimpleUpdate Robot <tc@openeuler.org> - 2.16.0-1
- Upgrade to version 2.16.0
* Thu Nov 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.2-3 * Thu Nov 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.2-3
- Package init - Package init

4
ibus-typing-booster.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: mike-fabian/ibus-typing-booster
tag_prefix: ^v
seperator: .