File ibus-table-zhuyin.spec of Package ibus-table-zhuyin

# spec file for package ibus-table-zhuyin
# 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

Name:           ibus-table-zhuyin
Release:        0
Summary:        Zhuyin input method for IBus
License:        GPL-2.0+
Group:          System/I18n/Chinese
# FIX-FOR-UPSTREAM fix attribute name error in zhuyin-big.txt table.
Patch:          zhuyin-big-attr-name.patch
BuildRequires:  fdupes
BuildRequires:  ibus-table-devel
BuildRequires:  pkg-config
Provides:       locale(ibus:zh_TW)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

Zhuyin input method intergrated in IBus framework.

%setup -q
%patch -p1

export PYTHON=python3
make %{?_smp_mflags}

make DESTDIR=%{buildroot} install %{?_smp_mflags}

%fdupes %{buildroot}

%ibus_table_index_post zhuyin
%ibus_table_index_post zhuyin-big