2010-03-19 10:58:27 +01:00
|
|
|
#
|
2011-06-28 11:06:21 +02:00
|
|
|
# spec file for package ibus-table
|
2010-03-19 10:58:27 +01:00
|
|
|
#
|
2020-02-20 02:31:20 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2010-03-19 10:58:27 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-02-20 02:31:20 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-03-19 10:58:27 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: ibus-table
|
Accepting request 862718 from home:wsxy162:branches:M17N
- Drop ibus-table_fix_other_tables_compile_error.patch, fixed in the
upstream version 1.9.23
- Update version to 1.12.3
* Pass the key for the command 'cancel' (default Esc) through if the preedit
is empty (Resolves: #64)
- Update version to 1.12.2
* Update translations from Weblate (updated ca, cs, es, fa, ja, pt_BR, pt_PT,
tr, zh_CN, zh_HK, zh_TW)
- Update version to 1.12.1
* Enable compose support.
* Add buttons to move key bindings for a command up or down.
* Make translations of 'Edit key bindings for command “%s”' work
* Added it_util.py to POTFILES, it had translatable strings for the “About”
dialog and the key settings dialog.
* Update translations from Weblate (updated ca, de, fr, tr, uk)
- Update version to 1.12.0
* New setup tool, now keybindings can be configured with a GUI.
* Resolves: #57
* Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1133127
* Put exact (except tone) pinyin matches next after exact
* matches in the candidate list.
* Resolves: #63
* Allow lookup table orientation “System Default” in the setup
* Remove “spacekeybehavior” option, it became useless as all
* keybindings are configurable now.
* Added a “debuglevel” option.
* Update translations from Weblate (updated ca, cs, de, es, fa, fr, ja, pt_BR,
pt_PT, uk, zh_TW, zh_HK, zh_CN)
- Update version to 1.11.0
* Make key bindings configurable (Only via the command line for the moment,
not yet easy to do for normal users. I have to rewrite the setup tool
eventually to make that possible)
* Resolves: ibus/ibus#2241
* Resolves: mike-fabian#41
- Update version to 1.10.1
* Add GUI test
* Make output of ibus-table-createdb deterministic
* Update translations from Weblate (updated fr, tr, zh_CN)
- Update version to 1.10.0
* Add suggestion mode feature (Resolves: mike-fabian#9 and rhbz#835376)
* Add test cases for suggestion mode feature
* Fix problems with the behaviour of the property menus
* Use python logging module with log file rotation instead of writing to
stdout/stderr
* Update translations from Weblate (updated de, es, fr, pt_BR, pt_PT, tr, uk)
- Update version to 1.9.25
* Fix crash when changing some options using the menu or the floating
panel (Resolves: mike-fabian#26)
* Translation updates (pt_PT)
- Update version to 1.9.24
* Fixed two typos in message ids (Thanks to Rafael Fontenelle)
* Translation updates (tr, fr, fa, pt, uk)
* New test cases for ibus-table-others
- Update version to 1.9.23
* Add exist_ok=True in os.makedirs(path, exist_ok=True) to avoid
failure due to race condition.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1786652
* Move MockEngine classes into a separate file and make test_itb.py
runnable standalone
* Translation updates for several languages (French at 100% now, Brazilian
Portuguese at 100% now, Porguguese (Portugal) new and now at 31.5%)
- Update version to 1.9.22
* Add Turkish translation from Weblate, 100% translated
* Minor translation fixes in some other languages (Punctuation fixes)
OBS-URL: https://build.opensuse.org/request/show/862718
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-table?expand=0&rev=44
2021-01-13 04:43:40 +01:00
|
|
|
Version: 1.12.3
|
2012-07-04 18:33:01 +02:00
|
|
|
Release: 0
|
2010-03-19 10:58:27 +01:00
|
|
|
Summary: The Table engine for IBus platform
|
2018-10-13 17:36:34 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2011-06-28 11:06:08 +02:00
|
|
|
Group: System/I18n/Chinese
|
2020-02-20 02:31:20 +01:00
|
|
|
URL: https://github.com/mike-fabian/ibus-table/
|
2018-10-14 10:00:20 +02:00
|
|
|
Source: https://github.com/mike-fabian/ibus-table/releases/download/%{version}/%{name}-%{version}.tar.gz
|
Accepting request 557211 from M17N:Devel
- Update to 1.9.17. This update will fix boo#939462
* Load .desktop file for ibus-setup-table correctly under Gnome Wayland
* Set WM_CLASS of ibus-setup-table correctly
* Avoid running initialization code of ibus_table_location.py
* when using ibus-table-createdb.
* Make it work on Python 3.6 (Unbreak sqlite on Python 3.6)
* (Resolves: rhbz#1413580).
* Update translations from zanata (ca, de, fr, uk updated)
* Point to new home-page in the “About” tab.
* Improve README
* Fix bug in Unihan_Variants.txt, 乾 U+4E7E is both simplified and traditional
Chinese (thanks to Heiher r@hev.cc)
* When ignoring key release events, “False” should be returned, not “True”
* Resolves: Resolves: rhbz#1369514
* add ibus-table.appdata.xml and make it translatable
* pull some new translations and updates from Zanata (ca, fr, pt_BR, and uk
are new, ja, zh_CN, and zh_TW have updates).
- Drop ibus-table-python3.patch, It is needless.
- update to 1.8.11
* Fix typo in variable name self_onechar -> self._onechar
* Disable “onechar” (Phrase mode/Single char mode) option for non-CJK
databases
* Disable auto_commit option for tables which do not have RULES
* Resolves: rhbz#1135759 - The rusle is broken with "Normal commit mode"
See: https://bugzilla.redhat.com/show_bug.cgi?id=1135759
* Pass IBus.KEY_KP_Enter to the application if the preedit is empty
* Resolves: rhbz#1133424 - With the new "rusle" table in ibus-table-cyrillic,
Keypad Enter problem
See: https://bugzilla.redhat.com/show_bug.cgi?id=1133424
OBS-URL: https://build.opensuse.org/request/show/557211
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-table?expand=0&rev=36
2017-12-15 05:48:10 +01:00
|
|
|
BuildRequires: docbook-utils-minimal
|
2014-07-27 14:43:28 +02:00
|
|
|
BuildRequires: fdupes
|
Accepting request 557211 from M17N:Devel
- Update to 1.9.17. This update will fix boo#939462
* Load .desktop file for ibus-setup-table correctly under Gnome Wayland
* Set WM_CLASS of ibus-setup-table correctly
* Avoid running initialization code of ibus_table_location.py
* when using ibus-table-createdb.
* Make it work on Python 3.6 (Unbreak sqlite on Python 3.6)
* (Resolves: rhbz#1413580).
* Update translations from zanata (ca, de, fr, uk updated)
* Point to new home-page in the “About” tab.
* Improve README
* Fix bug in Unihan_Variants.txt, 乾 U+4E7E is both simplified and traditional
Chinese (thanks to Heiher r@hev.cc)
* When ignoring key release events, “False” should be returned, not “True”
* Resolves: Resolves: rhbz#1369514
* add ibus-table.appdata.xml and make it translatable
* pull some new translations and updates from Zanata (ca, fr, pt_BR, and uk
are new, ja, zh_CN, and zh_TW have updates).
- Drop ibus-table-python3.patch, It is needless.
- update to 1.8.11
* Fix typo in variable name self_onechar -> self._onechar
* Disable “onechar” (Phrase mode/Single char mode) option for non-CJK
databases
* Disable auto_commit option for tables which do not have RULES
* Resolves: rhbz#1135759 - The rusle is broken with "Normal commit mode"
See: https://bugzilla.redhat.com/show_bug.cgi?id=1135759
* Pass IBus.KEY_KP_Enter to the application if the preedit is empty
* Resolves: rhbz#1133424 - With the new "rusle" table in ibus-table-cyrillic,
Keypad Enter problem
See: https://bugzilla.redhat.com/show_bug.cgi?id=1133424
OBS-URL: https://build.opensuse.org/request/show/557211
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-table?expand=0&rev=36
2017-12-15 05:48:10 +01:00
|
|
|
BuildRequires: gettext-tools
|
|
|
|
BuildRequires: gnome-common
|
2014-07-27 14:43:28 +02:00
|
|
|
BuildRequires: pkg-config
|
Accepting request 557211 from M17N:Devel
- Update to 1.9.17. This update will fix boo#939462
* Load .desktop file for ibus-setup-table correctly under Gnome Wayland
* Set WM_CLASS of ibus-setup-table correctly
* Avoid running initialization code of ibus_table_location.py
* when using ibus-table-createdb.
* Make it work on Python 3.6 (Unbreak sqlite on Python 3.6)
* (Resolves: rhbz#1413580).
* Update translations from zanata (ca, de, fr, uk updated)
* Point to new home-page in the “About” tab.
* Improve README
* Fix bug in Unihan_Variants.txt, 乾 U+4E7E is both simplified and traditional
Chinese (thanks to Heiher r@hev.cc)
* When ignoring key release events, “False” should be returned, not “True”
* Resolves: Resolves: rhbz#1369514
* add ibus-table.appdata.xml and make it translatable
* pull some new translations and updates from Zanata (ca, fr, pt_BR, and uk
are new, ja, zh_CN, and zh_TW have updates).
- Drop ibus-table-python3.patch, It is needless.
- update to 1.8.11
* Fix typo in variable name self_onechar -> self._onechar
* Disable “onechar” (Phrase mode/Single char mode) option for non-CJK
databases
* Disable auto_commit option for tables which do not have RULES
* Resolves: rhbz#1135759 - The rusle is broken with "Normal commit mode"
See: https://bugzilla.redhat.com/show_bug.cgi?id=1135759
* Pass IBus.KEY_KP_Enter to the application if the preedit is empty
* Resolves: rhbz#1133424 - With the new "rusle" table in ibus-table-cyrillic,
Keypad Enter problem
See: https://bugzilla.redhat.com/show_bug.cgi?id=1133424
OBS-URL: https://build.opensuse.org/request/show/557211
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-table?expand=0&rev=36
2017-12-15 05:48:10 +01:00
|
|
|
BuildRequires: pkgconfig(ibus-1.0)
|
|
|
|
BuildRequires: pkgconfig(python3)
|
2013-07-08 08:27:11 +02:00
|
|
|
Requires: ibus >= 1.4.99
|
2014-07-26 12:46:55 +02:00
|
|
|
Requires: python3
|
|
|
|
Requires: python3-curses
|
2014-07-27 14:43:28 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-03-19 10:58:27 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The package contains general Table engine for IBus platform.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development package for ibus-table
|
2014-02-14 23:54:20 +01:00
|
|
|
Group: Development/Libraries/Other
|
2014-07-27 14:43:28 +02:00
|
|
|
Requires: %{name} = %{version}
|
2010-03-19 10:58:27 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the files required for the development of ibus-table.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-06-28 11:06:08 +02:00
|
|
|
chmod -x AUTHORS COPYING README
|
2011-06-28 11:06:21 +02:00
|
|
|
|
2010-03-19 10:58:27 +01:00
|
|
|
%build
|
2014-07-26 12:46:55 +02:00
|
|
|
export PYTHON=python3
|
Accepting request 557211 from M17N:Devel
- Update to 1.9.17. This update will fix boo#939462
* Load .desktop file for ibus-setup-table correctly under Gnome Wayland
* Set WM_CLASS of ibus-setup-table correctly
* Avoid running initialization code of ibus_table_location.py
* when using ibus-table-createdb.
* Make it work on Python 3.6 (Unbreak sqlite on Python 3.6)
* (Resolves: rhbz#1413580).
* Update translations from zanata (ca, de, fr, uk updated)
* Point to new home-page in the “About” tab.
* Improve README
* Fix bug in Unihan_Variants.txt, 乾 U+4E7E is both simplified and traditional
Chinese (thanks to Heiher r@hev.cc)
* When ignoring key release events, “False” should be returned, not “True”
* Resolves: Resolves: rhbz#1369514
* add ibus-table.appdata.xml and make it translatable
* pull some new translations and updates from Zanata (ca, fr, pt_BR, and uk
are new, ja, zh_CN, and zh_TW have updates).
- Drop ibus-table-python3.patch, It is needless.
- update to 1.8.11
* Fix typo in variable name self_onechar -> self._onechar
* Disable “onechar” (Phrase mode/Single char mode) option for non-CJK
databases
* Disable auto_commit option for tables which do not have RULES
* Resolves: rhbz#1135759 - The rusle is broken with "Normal commit mode"
See: https://bugzilla.redhat.com/show_bug.cgi?id=1135759
* Pass IBus.KEY_KP_Enter to the application if the preedit is empty
* Resolves: rhbz#1133424 - With the new "rusle" table in ibus-table-cyrillic,
Keypad Enter problem
See: https://bugzilla.redhat.com/show_bug.cgi?id=1133424
OBS-URL: https://build.opensuse.org/request/show/557211
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-table?expand=0&rev=36
2017-12-15 05:48:10 +01:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
%configure --disable-static \
|
|
|
|
--enable-additional \
|
|
|
|
--libexecdir=%{_libdir}/ibus
|
2014-07-27 14:43:28 +02:00
|
|
|
make %{?_smp_mflags}
|
2010-03-19 10:58:27 +01:00
|
|
|
|
|
|
|
%install
|
Accepting request 557211 from M17N:Devel
- Update to 1.9.17. This update will fix boo#939462
* Load .desktop file for ibus-setup-table correctly under Gnome Wayland
* Set WM_CLASS of ibus-setup-table correctly
* Avoid running initialization code of ibus_table_location.py
* when using ibus-table-createdb.
* Make it work on Python 3.6 (Unbreak sqlite on Python 3.6)
* (Resolves: rhbz#1413580).
* Update translations from zanata (ca, de, fr, uk updated)
* Point to new home-page in the “About” tab.
* Improve README
* Fix bug in Unihan_Variants.txt, 乾 U+4E7E is both simplified and traditional
Chinese (thanks to Heiher r@hev.cc)
* When ignoring key release events, “False” should be returned, not “True”
* Resolves: Resolves: rhbz#1369514
* add ibus-table.appdata.xml and make it translatable
* pull some new translations and updates from Zanata (ca, fr, pt_BR, and uk
are new, ja, zh_CN, and zh_TW have updates).
- Drop ibus-table-python3.patch, It is needless.
- update to 1.8.11
* Fix typo in variable name self_onechar -> self._onechar
* Disable “onechar” (Phrase mode/Single char mode) option for non-CJK
databases
* Disable auto_commit option for tables which do not have RULES
* Resolves: rhbz#1135759 - The rusle is broken with "Normal commit mode"
See: https://bugzilla.redhat.com/show_bug.cgi?id=1135759
* Pass IBus.KEY_KP_Enter to the application if the preedit is empty
* Resolves: rhbz#1133424 - With the new "rusle" table in ibus-table-cyrillic,
Keypad Enter problem
See: https://bugzilla.redhat.com/show_bug.cgi?id=1133424
OBS-URL: https://build.opensuse.org/request/show/557211
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-table?expand=0&rev=36
2017-12-15 05:48:10 +01:00
|
|
|
make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install
|
2010-03-19 10:58:27 +01:00
|
|
|
|
|
|
|
%find_lang %{name}
|
Accepting request 557211 from M17N:Devel
- Update to 1.9.17. This update will fix boo#939462
* Load .desktop file for ibus-setup-table correctly under Gnome Wayland
* Set WM_CLASS of ibus-setup-table correctly
* Avoid running initialization code of ibus_table_location.py
* when using ibus-table-createdb.
* Make it work on Python 3.6 (Unbreak sqlite on Python 3.6)
* (Resolves: rhbz#1413580).
* Update translations from zanata (ca, de, fr, uk updated)
* Point to new home-page in the “About” tab.
* Improve README
* Fix bug in Unihan_Variants.txt, 乾 U+4E7E is both simplified and traditional
Chinese (thanks to Heiher r@hev.cc)
* When ignoring key release events, “False” should be returned, not “True”
* Resolves: Resolves: rhbz#1369514
* add ibus-table.appdata.xml and make it translatable
* pull some new translations and updates from Zanata (ca, fr, pt_BR, and uk
are new, ja, zh_CN, and zh_TW have updates).
- Drop ibus-table-python3.patch, It is needless.
- update to 1.8.11
* Fix typo in variable name self_onechar -> self._onechar
* Disable “onechar” (Phrase mode/Single char mode) option for non-CJK
databases
* Disable auto_commit option for tables which do not have RULES
* Resolves: rhbz#1135759 - The rusle is broken with "Normal commit mode"
See: https://bugzilla.redhat.com/show_bug.cgi?id=1135759
* Pass IBus.KEY_KP_Enter to the application if the preedit is empty
* Resolves: rhbz#1133424 - With the new "rusle" table in ibus-table-cyrillic,
Keypad Enter problem
See: https://bugzilla.redhat.com/show_bug.cgi?id=1133424
OBS-URL: https://build.opensuse.org/request/show/557211
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-table?expand=0&rev=36
2017-12-15 05:48:10 +01:00
|
|
|
|
2014-07-27 14:43:28 +02:00
|
|
|
%fdupes %{buildroot}
|
2010-03-19 10:58:27 +01:00
|
|
|
|
|
|
|
%files -f %{name}.lang
|
Accepting request 557211 from M17N:Devel
- Update to 1.9.17. This update will fix boo#939462
* Load .desktop file for ibus-setup-table correctly under Gnome Wayland
* Set WM_CLASS of ibus-setup-table correctly
* Avoid running initialization code of ibus_table_location.py
* when using ibus-table-createdb.
* Make it work on Python 3.6 (Unbreak sqlite on Python 3.6)
* (Resolves: rhbz#1413580).
* Update translations from zanata (ca, de, fr, uk updated)
* Point to new home-page in the “About” tab.
* Improve README
* Fix bug in Unihan_Variants.txt, 乾 U+4E7E is both simplified and traditional
Chinese (thanks to Heiher r@hev.cc)
* When ignoring key release events, “False” should be returned, not “True”
* Resolves: Resolves: rhbz#1369514
* add ibus-table.appdata.xml and make it translatable
* pull some new translations and updates from Zanata (ca, fr, pt_BR, and uk
are new, ja, zh_CN, and zh_TW have updates).
- Drop ibus-table-python3.patch, It is needless.
- update to 1.8.11
* Fix typo in variable name self_onechar -> self._onechar
* Disable “onechar” (Phrase mode/Single char mode) option for non-CJK
databases
* Disable auto_commit option for tables which do not have RULES
* Resolves: rhbz#1135759 - The rusle is broken with "Normal commit mode"
See: https://bugzilla.redhat.com/show_bug.cgi?id=1135759
* Pass IBus.KEY_KP_Enter to the application if the preedit is empty
* Resolves: rhbz#1133424 - With the new "rusle" table in ibus-table-cyrillic,
Keypad Enter problem
See: https://bugzilla.redhat.com/show_bug.cgi?id=1133424
OBS-URL: https://build.opensuse.org/request/show/557211
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-table?expand=0&rev=36
2017-12-15 05:48:10 +01:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS COPYING README NEWS ChangeLog
|
2014-07-27 14:43:28 +02:00
|
|
|
%{_bindir}/%{name}-createdb
|
|
|
|
%{_ibus_libdir}/ibus-engine-table
|
|
|
|
%{_ibus_libdir}/ibus-setup-table
|
Accepting request 239522 from home:hillwood:branches:M17N
- Updateto 1.8.3, ibus-table >= 1.8.x has many improvements over 1.5.x
* The database format is simplified which makes better matching
possible. But because of the changed database format, the
tables have to be rebuilt, i.e. packages like ibus-table-chinese
and ibus-table-others have to be rebuilt against ibus-table > 1.8.0.
* Wildcard support added, wildcards like ? for single characters or *
for many characters can be used. The wildcards can be configured
in the setup tool, for example one can also use 'z' as a single character
wildcard if desired.
* Setup tool improved, several new options added, works with Gnome3 now.
* Prompt characters are supported now, for example when using Cangjie,
日, 月, 金, ... are displayed while typing instead of a, b, c, ...
* Moving around in the preëdit works correctly now. One can commit
the current candidate to preëdit with the left shift key or with
the arrow keys, commit more characters to preëdit that way, then
move around in the preëdit and see the full key sequences of the
characters in the preëdit. This way one can check the
key sequences if one used wildcards or pinyin mode to enter the
characters.
* Fix many bugs
OBS-URL: https://build.opensuse.org/request/show/239522
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-table?expand=0&rev=27
2014-07-04 06:26:17 +02:00
|
|
|
%{_datadir}/applications/ibus-setup-table.desktop
|
2014-07-27 14:43:28 +02:00
|
|
|
%{_datadir}/%{name}
|
2018-10-13 17:36:34 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.engine.table.gschema.xml
|
2014-07-27 14:43:28 +02:00
|
|
|
%{_ibus_componentdir}/table.xml
|
|
|
|
%{_mandir}/man1/%{name}-createdb.1.gz
|
2018-10-13 17:36:34 +02:00
|
|
|
%{_datadir}/metainfo/ibus-table.appdata.xml
|
2010-03-19 10:58:27 +01:00
|
|
|
|
|
|
|
%files devel
|
2014-07-27 14:43:28 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2010-03-19 10:58:27 +01:00
|
|
|
|
|
|
|
%changelog
|