ibus-table/ibus-table.spec
Hillwood Yang 85b94c4de5 Accepting request 641837 from home:hillwood:branches:M17N
- Update version to 1.9.21
  * Migrate IBusConfig to GSettings.
  * Add a test suite
  * Add missing tags to ibus-table-createdb.sgml.
  * Draw InputMode text instead of icon into panel on non-Gnome desktops.
  * Make it work with Python2 again
  * Sync phrases cache from/to external storage.
  * Update translations from zanata
  * validate ibus-table.appdata.xml in %%check
  * Update translations from zanata (pt_BR updated, es new)
  * Don't query user database if user define phrase and dynamic adjust 
    are disabled (thanks to heiher)
  * Enable hash map based cache for user database enabled
  * Import hash map based cache for table database (thanks to heiher)
  * Install appstream metadata to /usr/share/metainfo/ (thanks to jbicha)
  * Fix some appdata validation issues (thanks to jbicha)
  * Fix bug in Unihan_Variants.txt, 著 U+8457 is both
    simplified and traditional Chinese (thanks to heiher)

OBS-URL: https://build.opensuse.org/request/show/641837
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-table?expand=0&rev=39
2018-10-13 15:36:34 +00:00

87 lines
2.6 KiB
RPMSpec

#
# spec file for package ibus-table
#
# Copyright (c) 2018 SUSE LINUX 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.9.21
Release: 0
Summary: The Table engine for IBus platform
License: LGPL-2.1-or-later
Group: System/I18n/Chinese
Url: https://github.com/mike-fabian/ibus-table/
Source: https://github.com/mike-fabian/ibus-table/releases/download/%{name}/%{name}-%{version}.tar.gz
BuildRequires: docbook-utils-minimal
BuildRequires: fdupes
BuildRequires: gettext-tools
BuildRequires: gnome-common
BuildRequires: pkg-config
BuildRequires: pkgconfig(ibus-1.0)
BuildRequires: pkgconfig(python3)
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
chmod -x AUTHORS COPYING README
%build
export PYTHON=python3
NOCONFIGURE=1 ./autogen.sh
%configure --disable-static \
--enable-additional \
--libexecdir=%{_libdir}/ibus
make %{?_smp_mflags}
%install
make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install
%find_lang %{name}
%fdupes %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README NEWS ChangeLog
%{_bindir}/%{name}-createdb
%{_ibus_libdir}/ibus-engine-table
%{_ibus_libdir}/ibus-setup-table
%{_datadir}/applications/ibus-setup-table.desktop
%{_datadir}/%{name}
%{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.engine.table.gschema.xml
%{_ibus_componentdir}/table.xml
%{_mandir}/man1/%{name}-createdb.1.gz
%{_datadir}/metainfo/ibus-table.appdata.xml
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/%{name}.pc
%changelog