File ibus-libzhuyin.spec of Package ibus-libzhuyin

#
# spec file for package ibus-libzhuyin
#
# 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 http://bugs.opensuse.org/
#

Name:           ibus-libzhuyin
Version:	1.6.99.20140626
Release:	0
License:	GPL-2.0
Summary:	New Zhuyin engine based on libzhuyin for IBus
Url:	https://github.com/libzhuyin/ibus-libzhuyin
Group:	System/I18n/Chinese
Source:	%{name}-%{version}.tar.gz
BuildRequires:	fdupes
BuildRequires:	gcc-c++
BuildRequires:	ibus-devel
BuildRequires:	intltool
BuildRequires:	libzhuyin-devel
BuildRequires:	opencc-devel
Provides:	locale(ibus:zh_TW;zh_HK)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
It includes a Chinese Zhuyin (Bopomofo) input method based on libzhuyin for IBus.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
%make_install
rm -rf %{buildroot}%{_datadir}/doc
%fdupes %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog README COPYING
%{_libexecdir}/ibus-engine-libzhuyin
%{_libexecdir}/ibus-setup-libzhuyin
%{_datadir}/%{name}
%{_datadir}/ibus/component/libzhuyin.xml

%changelog

openSUSE Build Service is sponsored by