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
This commit is contained in:
Mike FABIAN 2020-07-09 10:09:24 +02:00
parent 3551f3f364
commit cfb66958ff
3 changed files with 70 additions and 9 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -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
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
</component>
EOF
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/cantonyale.appdata.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<component type="inputmethod">
<id>cantonyale.db</id>
<metadata_license>CC0-1.0</metadata_license>
<name>cantonyale</name>
<summary>Cantonese input method based on yale romanization</summary>
<description>
<p>
The cantonyale input method is designed to enter Chinese text using yale romanization.
</p>
<p>
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.
</p>
</description>
<url type="homepage">http://code.google.com/p/ibus/</url>
<url type="bugtracker">https://code.google.com/p/ibus/issues/list</url>
<url type="help">https://code.google.com/p/ibus/wiki/FAQ</url>
<languages>
<lang percentage="100">zh_CN</lang>
<lang percentage="100">zh_HK</lang>
<lang percentage="100">zh_SG</lang>
<lang percentage="100">zh_TW</lang>
</languages>
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
</component>
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 <mfabian@redhat.com> - 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 <releng@fedoraproject.org> - 1.8.2-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
e2da3f98657258e1380b8507ca88a9f5 ibus-table-chinese-1.8.2-Source.tar.gz
SHA512 (ibus-table-chinese-1.8.3.tar.gz) = 610455343d9c9bf6577c7fd7aef9435c339c2f23c4d5f7ae2cbbc2366a9eb6a8a124e86621387497cc624e3276bf739b55602355ad41c4127f45f6d85cc5b4dc