update to 1.4.4

- self._current_imes needs to be updated before self.init_transliterators()
- Resolves: rhbz#1334579
- typing-booster.appdata.xml is now included and installed from the tarball
- libtranslit is not required anymore (neither for building nor at runtime)
  but m17n-lib is required at runtime.
This commit is contained in:
Mike FABIAN 2016-05-10 08:37:07 +02:00
parent bc4ea0b24d
commit f2b8879e38
3 changed files with 11 additions and 40 deletions

1
.gitignore vendored
View File

@ -51,3 +51,4 @@
/ibus-typing-booster-1.4.1.tar.gz
/ibus-typing-booster-1.4.2.tar.gz
/ibus-typing-booster-1.4.3.tar.gz
/ibus-typing-booster-1.4.4.tar.gz

View File

@ -1,17 +1,17 @@
Name: ibus-typing-booster
Version: 1.4.3
Version: 1.4.4
Release: 1%{?dist}
Summary: A typing booster engine for the IBus platform
License: GPLv3+
Group: System Environment/Libraries
URL: http://www.typingbooster.org/
URL: https://mike-fabian.github.io/ibus-typing-booster/
Source0: https://fedorahosted.org/releases/i/b/ibus-typing-booster/%{name}-%{version}.tar.gz
Requires: ibus >= 1.5.3
Requires: libtranslit-m17n
Requires: m17n-lib
Requires: python3 >= 3.3
Requires: python3-dbus
Requires: python3-enchant
BuildRequires: ibus-devel,libtranslit-devel
BuildRequires: ibus-devel
BuildRequires: python3-devel
BuildArch: noarch
@ -31,41 +31,6 @@ make %{?_smp_mflags}
export PYTHON=%{__python3}
make install DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true INSTALL="install -p" pkgconfigdir=%{_datadir}/pkgconfig
# Register as an AppStream component to be visible in the software center
#
# NOTE: It would be *awesome* if this file was maintained by the upstream
# project, translated and installed into the right place during `make install`.
#
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
#
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/typing-booster.appdata.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<component type="inputmethod">
<id>typing-booster.xml</id>
<metadata_license>CC0-1.0</metadata_license>
<name>Typing Booster</name>
<summary>Predictive input method</summary>
<description>
<p>
Ibus-Typing Booster is a predictive input method and predicts complete words
based on partial input.
One can then simply select the desired word from a list of suggestions and
improve one's typing speed and spelling.
</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">https://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>
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
</component>
EOF
%find_lang %{name}
%check
@ -91,6 +56,11 @@ desktop-file-validate \
%{_datadir}/applications/ibus-setup-typing-booster.desktop
%changelog
* Tue May 10 2016 Mike FABIAN <mfabian@redhat.com> - 1.4.4-1
- update to 1.4.4
- self._current_imes needs to be updated before self.init_transliterators()
- Resolves: rhbz#1334579
* Thu Apr 28 2016 Mike FABIAN <mfabian@redhat.com> - 1.4.3-1
- update to 1.4.3
- Fix AttributeError: 'editor' object has no attribute 'trans'

View File

@ -1 +1 @@
f418aa1168ae91b06d260b5ded49fc0c ibus-typing-booster-1.4.3.tar.gz
1f887be3ccc30c0ff8ef95b6ba36bda4 ibus-typing-booster-1.4.4.tar.gz