Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96cdb41f01 | ||
|
|
ecef299c04 | ||
|
|
62037f0487 |
3 changed files with 59 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -50,3 +50,6 @@ ibus-table-1.3.0.20100621.tar.gz
|
|||
/ibus-table-1.9.16.tar.gz
|
||||
/ibus-table-1.9.17.tar.gz
|
||||
/ibus-table-1.9.18.tar.gz
|
||||
/ibus-table-1.9.19.tar.gz
|
||||
/ibus-table-1.9.20.tar.gz
|
||||
/ibus-table-1.9.21.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Name: ibus-table
|
||||
Version: 1.9.18
|
||||
Version: 1.9.21
|
||||
Release: 1%{?dist}
|
||||
Summary: The Table engine for IBus platform
|
||||
License: LGPLv2+
|
||||
|
|
@ -11,6 +11,12 @@ Requires: python3 >= 3.3
|
|||
BuildRequires: ibus-devel > 1.3.0
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: ibus-table-chinese-wubi-jidian
|
||||
BuildRequires: ibus-table-chinese-cangjie
|
||||
BuildRequires: ibus-table-chinese-stroke5
|
||||
BuildRequires: ibus-table-code
|
||||
BuildRequires: ibus-table-latin
|
||||
BuildRequires: ibus-table-translit
|
||||
|
||||
Obsoletes: ibus-table-additional < 1.2.0.20100111-5
|
||||
|
||||
|
|
@ -45,6 +51,33 @@ export PYTHON=%{__python3}
|
|||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
|
||||
desktop-file-validate \
|
||||
$RPM_BUILD_ROOT%{_datadir}/applications/ibus-setup-table.desktop
|
||||
pushd engine
|
||||
# run doctests
|
||||
python3 table.py
|
||||
python3 it_util.py
|
||||
popd
|
||||
mkdir -p /tmp/glib-2.0/schemas/
|
||||
cp org.freedesktop.ibus.engine.table.gschema.xml \
|
||||
/tmp/glib-2.0/schemas/org.freedesktop.ibus.engine.table.gschema.xml
|
||||
glib-compile-schemas /tmp/glib-2.0/schemas #&>/dev/null || :
|
||||
export XDG_DATA_DIRS=/tmp
|
||||
eval $(dbus-launch --sh-syntax)
|
||||
dconf dump /
|
||||
dconf write /org/freedesktop/ibus/engine/table/wubi-jidian/chinesemode 1
|
||||
dconf write /org/freedesktop/ibus/engine/table/wubi-jidian/spacekeybehavior false
|
||||
dconf dump /
|
||||
ibus-daemon -drx
|
||||
make check || cat ./tests/test-suite.log
|
||||
|
||||
%post
|
||||
[ -x %{_bindir}/ibus ] && \
|
||||
%{_bindir}/ibus write-cache --system &>/dev/null || :
|
||||
|
||||
%postun
|
||||
[ -x %{_bindir}/ibus ] && \
|
||||
%{_bindir}/ibus write-cache --system &>/dev/null || :
|
||||
|
||||
%clean
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
|
|
@ -57,6 +90,7 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdat
|
|||
%{_datadir}/metainfo/*.appdata.xml
|
||||
%{_datadir}/ibus/component/table.xml
|
||||
%{_datadir}/applications/ibus-setup-table.desktop
|
||||
%{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.engine.table.gschema.xml
|
||||
%{_bindir}/%{name}-createdb
|
||||
%{_libexecdir}/ibus-engine-table
|
||||
%{_libexecdir}/ibus-setup-table
|
||||
|
|
@ -67,6 +101,26 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdat
|
|||
%{_datadir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
* Wed Aug 29 2018 Mike FABIAN <mfabian@redhat.com> - 1.9.21-1
|
||||
- update to 1.9.21
|
||||
- Migrate IBusConfig to GSettings.
|
||||
Resolves: https://github.com/mike-fabian/ibus-table/issues/4
|
||||
- Add a test suite
|
||||
- Add missing tags to ibus-table-createdb.sgml.
|
||||
Resolves: https://github.com/mike-fabian/ibus-table/issues/3
|
||||
|
||||
* Thu May 03 2018 Mike FABIAN <mfabian@redhat.com> - 1.9.20-1
|
||||
- update to 1.9.20
|
||||
- Draw InputMode text instead of icon into panel on non-Gnome desktops.
|
||||
Resolves: https://github.com/mike-fabian/ibus-table/issues/6
|
||||
(Thanks to Takao Fujiwara)
|
||||
- Make it work with Python2 again
|
||||
|
||||
* Mon Apr 30 2018 Mike FABIAN <mfabian@redhat.com> - 1.9.19-1
|
||||
- update to 1.9.19
|
||||
- Sync phrases cache from/to external storage (thanks to heiher).
|
||||
- Update translations from zanata (cs new)
|
||||
|
||||
* Wed Aug 02 2017 Mike FABIAN <mfabian@redhat.com> - 1.9.18-1
|
||||
- update to 1.9.18
|
||||
- validate ibus-table.appdata.xml in %%check
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (ibus-table-1.9.18.tar.gz) = 3f28269be1987023402eb6075b8e68b3bbba3c572a94551d072281677fde5fa14f8f4186455f8f9156b252934580c7a3837555d0edb46c76f13c8b109e26aca2
|
||||
SHA512 (ibus-table-1.9.21.tar.gz) = 354f7e8ece5c23b84251bd0d5ff06d7a368678ade25e340341ef9f85571b440c455d56660c743be97ff6776ff041c4da35079ce090955c5f87b8f3b587e35866
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue