forked from pool/ibus-table
44fd8b7801
- 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 * Ignore Shift+Space hotkey to switch fullwidth/halfwidth if the database is not for CJK * Move some options into a new tab “Details” * Disable properties related to fullwidth/halfwidth for non-CJK tables * Remove “Hide Candidates/Display Candidates” from the properties menu * Show keyboard shortcuts also in the property menu entries * Use the “notify::text” signal instead of “activate” on GtkEntry widget * Update Chinese .po files * Update German translation * Move the “Restore all defaults” button into the GtkButtonBox at bottom * Apply fix for 同 again to Unihan_Variants.txt, it is both simplified *and* traditional Chinese * And regenerate engine/chinese_variants.py. * Escape % and _ if they are not intended as wildcards * Require Python >= 3.3 OBS-URL: https://build.opensuse.org/request/show/252685 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-table?expand=0&rev=34
84 lines
2.4 KiB
RPMSpec
84 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package ibus-table
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: ibus-table
|
|
Version: 1.8.11
|
|
Release: 0
|
|
Summary: The Table engine for IBus platform
|
|
License: LGPL-2.1+
|
|
Group: System/I18n/Chinese
|
|
Url: https://github.com/mike-fabian/ibus-table/
|
|
Source: https://mfabian.fedorapeople.org/%{name}/%{name}-%{version}.tar.gz
|
|
#PATCH-FIX-UPSTREAM marguerite@opensuse.org
|
|
# replace file() to open()
|
|
Patch: ibus-table-python3.patch
|
|
BuildRequires: fdupes
|
|
BuildRequires: ibus-devel >= 1.4.99
|
|
BuildRequires: pkg-config
|
|
BuildRequires: python3-devel
|
|
Requires: ibus >= 1.4.99
|
|
Requires: python3
|
|
Requires: python3-curses
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
The package contains general Table engine for IBus platform.
|
|
|
|
%package devel
|
|
Summary: Development package for ibus-table
|
|
Group: Development/Libraries/Other
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
This package contains the files required for the development of ibus-table.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch -p1
|
|
chmod -x AUTHORS COPYING README
|
|
|
|
%build
|
|
export PYTHON=python3
|
|
%configure \
|
|
--disable-static \
|
|
--libexecdir=%{_libdir}/ibus
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
%find_lang %{name}
|
|
%fdupes %{buildroot}
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING README
|
|
%{_bindir}/%{name}-createdb
|
|
%{_ibus_libdir}/ibus-engine-table
|
|
%{_ibus_libdir}/ibus-setup-table
|
|
%{_datadir}/applications/ibus-setup-table.desktop
|
|
%{_datadir}/%{name}
|
|
%{_ibus_componentdir}/table.xml
|
|
%{_mandir}/man1/%{name}-createdb.1.gz
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%changelog
|