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
|
|
|
#
|
2014-02-14 23:54:20 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: ibus-table
|
2014-09-28 17:45:47 +02:00
|
|
|
Version: 1.8.11
|
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
|
2011-12-06 18:18:44 +01:00
|
|
|
License: LGPL-2.1+
|
2011-06-28 11:06:08 +02:00
|
|
|
Group: System/I18n/Chinese
|
2014-07-27 14:43:28 +02:00
|
|
|
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()
|
2014-09-28 17:45:47 +02:00
|
|
|
Patch: ibus-table-python3.patch
|
2014-07-27 14:43:28 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: ibus-devel >= 1.4.99
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python3-devel
|
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
|
2014-07-27 14:43:28 +02:00
|
|
|
%patch -p1
|
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
|
2010-03-19 10:58:27 +01:00
|
|
|
%configure \
|
2014-07-27 14:43:28 +02:00
|
|
|
--disable-static \
|
|
|
|
--libexecdir=%{_libdir}/ibus
|
|
|
|
make %{?_smp_mflags}
|
2010-03-19 10:58:27 +01:00
|
|
|
|
|
|
|
%install
|
2014-07-27 14:43:28 +02:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
2010-03-19 10:58:27 +01:00
|
|
|
|
|
|
|
%find_lang %{name}
|
2014-07-27 14:43:28 +02:00
|
|
|
%fdupes %{buildroot}
|
2010-03-19 10:58:27 +01:00
|
|
|
|
|
|
|
%files -f %{name}.lang
|
2014-07-27 14:43:28 +02:00
|
|
|
%defattr(-,root,root)
|
2010-03-19 10:58:27 +01:00
|
|
|
%doc AUTHORS COPYING README
|
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}
|
|
|
|
%{_ibus_componentdir}/table.xml
|
|
|
|
%{_mandir}/man1/%{name}-createdb.1.gz
|
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
|