From cfb66958ff94d94320cca5565eacecb5335e8b11 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 9 Jul 2020 10:09:24 +0200 Subject: [PATCH] Update to 1.8.3 - Turned cangjie 3 and 5's DYNAMIC_ADJUST to FALSE Resolves: https://github.com/definite/ibus-table-chinese/pull/14 - Add SUGGESTION_MODE = TRUE to the wubi tables Resolves: https://github.com/definite/ibus-table-chinese/pull/15 - Support pinyin mode also for stroke5 table Resolves: https://github.com/definite/ibus-table-chinese/pull/12 - Use nicer values for symbol and status prompt Resolves: https://github.com/definite/ibus-table-chinese/pull/8 - update jyutping table; add cantonyale table Resolves: https://github.com/definite/ibus-table-chinese/pull/11 - Update jyutping and cantonese tables Resolves: https://github.com/definite/ibus-table-chinese/pull/9 --- .gitignore | 2 ++ ibus-table-chinese.spec | 75 ++++++++++++++++++++++++++++++++++++----- sources | 2 +- 3 files changed, 70 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index dcfb01d..b5ffbbc 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ /ibus-table-chinese-1.8.0-Source.tar.gz /ibus-table-chinese-1.8.1-Source.tar.gz /ibus-table-chinese-1.8.2-Source.tar.gz +/ibus-table-chinese-1.8.3-Source.tar.gz +/ibus-table-chinese-1.8.3.tar.gz diff --git a/ibus-table-chinese.spec b/ibus-table-chinese.spec index 2490b10..af0458e 100644 --- a/ibus-table-chinese.spec +++ b/ibus-table-chinese.spec @@ -3,20 +3,19 @@ %global ibus_icons_dir %{_datadir}/ibus-table/icons %global createdb ibus-table-createdb Name: ibus-table-chinese -Version: 1.8.2 -Release: 15%{?dist} +Version: 1.8.3 +Release: 1%{?dist} Summary: Chinese input tables for IBus Summary(zh_CN): 中文码表输入法 Summary(zh_TW): 中文碼表輸入法 License: GPLv3+ URL: https://github.com/definite/ibus-table-chinese -# Change Source URL when upstream released tar ball -# Source0: https://github.com/definite/ibus-table-chinese/archive/%{version}.tar.gz#/%{name}-%{version}-Source.tar.gz -Source0: https://fedorahosted.org/releases/c/m/%{name}/%{name}-%{version}-Source.tar.gz +Source0: https://github.com/definite/ibus-table-chinese/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake >= 2.6.2 -BuildRequires: ibus-table-devel >= 1.2.0 -Requires: ibus-table >= 1.2.0 +BuildRequires: cmake-fedora +BuildRequires: ibus-table-devel >= 1.5.0 +Requires: ibus-table >= 1.5.0 Obsoletes: ibus-table-yinma < 1.3 Obsoletes: ibus-table-xingma < 1.3 @@ -296,8 +295,16 @@ YongMa input method. %description -l zh_TW yong 永碼輸入法。 +%package cantonyale +Summary: Cantonese input method based on yale romanization +License: GPLv2 +Requires: %{name} = %{version}-%{release} + +%description cantonyale +Cantonese input method based on yale romanization + %prep -%setup -q -n %{name}-%{version}-Source +%setup -q -n %{name}-%{version} %{__sed} -i 's/\r//' tables/wubi-haifeng/COPYING %build @@ -406,6 +413,35 @@ cat > $RPM_BUILD_ROOT%{_datadir}/appdata/wubi-jidian86.appdata.xml < EOF +cat > $RPM_BUILD_ROOT%{_datadir}/appdata/cantonyale.appdata.xml < + + cantonyale.db + CC0-1.0 + cantonyale + Cantonese input method based on yale romanization + +

+ The cantonyale input method is designed to enter Chinese text using yale romanization. +

+

+ Input methods are typing systems allowing users to input complex languages. + They are necessary because these contain too many characters to simply be laid + out on a traditional keyboard. +

+
+ http://code.google.com/p/ibus/ + https://code.google.com/p/ibus/issues/list + https://code.google.com/p/ibus/wiki/FAQ + + zh_CN + zh_HK + zh_SG + zh_TW + + +
+EOF # We install document using doc rm -fr %{buildroot}%{_docdir}/* @@ -456,6 +492,9 @@ rm -fr %{buildroot}%{_docdir}/* %post yong %{createdb} -i -n %{ibus_tables_dir}/yong.db +%post cantonyale +%{createdb} -i -n %{ibus_tables_dir}/cantonyale.db + %files %doc @@ -527,7 +566,27 @@ rm -fr %{buildroot}%{_docdir}/* %{ibus_icons_dir}/yong.* %{ibus_tables_dir}/yong.db +%files cantonyale +%{_datadir}/appdata/cantonyale.appdata.xml +%{ibus_icons_dir}/cantonyale.* +%verify(not size md5 mtime) %{ibus_tables_dir}/cantonyale.db + %changelog +* Thu Jul 09 2020 Mike FABIAN - 1.8.3-1 +- Update to 1.8.3 +- Turned cangjie 3 and 5's DYNAMIC_ADJUST to FALSE + Resolves: https://github.com/definite/ibus-table-chinese/pull/14 +- Add SUGGESTION_MODE = TRUE to the wubi tables + Resolves: https://github.com/definite/ibus-table-chinese/pull/15 +- Support pinyin mode also for stroke5 table + Resolves: https://github.com/definite/ibus-table-chinese/pull/12 +- Use nicer values for symbol and status prompt + Resolves: https://github.com/definite/ibus-table-chinese/pull/8 +- update jyutping table; add cantonyale table + Resolves: https://github.com/definite/ibus-table-chinese/pull/11 +- Update jyutping and cantonese tables + Resolves: https://github.com/definite/ibus-table-chinese/pull/9 + * Wed Jan 29 2020 Fedora Release Engineering - 1.8.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 8bbb1ea..2e064ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e2da3f98657258e1380b8507ca88a9f5 ibus-table-chinese-1.8.2-Source.tar.gz +SHA512 (ibus-table-chinese-1.8.3.tar.gz) = 610455343d9c9bf6577c7fd7aef9435c339c2f23c4d5f7ae2cbbc2366a9eb6a8a124e86621387497cc624e3276bf739b55602355ad41c4127f45f6d85cc5b4dc