File ibus-hangul.spec of Package ibus-hangul
#
# spec file for package ibus-hangul
#
# 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-hangul
Version: 1.5.0
Release: 0
Summary: The Hangul engine for IBus input platform
License: GPL-2.0+
Group: System/I18n/Korean
Url: https://github.com/choehwanjin/ibus-hangul
Source: https://github.com/choehwanjin/ibus-hangul/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: ibus-devel
BuildRequires: intltool
BuildRequires: libhangul-devel
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRequires: update-desktop-files
Provides: locale(ibus:ko)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Hangul engine for IBus platform. It provides Korean input method from
libhangul.
%prep
%setup -q
%build
%configure --disable-static \
--libexecdir=%{_ibus_libdir}
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%suse_update_desktop_file ibus-setup-hangul Utility DesktopUtility System
ln -sf %{_ibus_libdir}/ibus-setup-hangul %{buildroot}%{_bindir}/ibus-setup-hangul
%find_lang %{name}
%fdupes %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_bindir}/ibus-setup-hangul
%{_ibus_libdir}/ibus-engine-hangul
%{_ibus_libdir}/ibus-setup-hangul
%{_ibus_componentdir}/hangul.xml
%{_datadir}/applications/ibus-setup-hangul.desktop
%{_datadir}/icons/hicolor/64x64/apps/ibus-*.png
%{_datadir}/icons/hicolor/scalable/apps/ibus-*.svg
%{_datadir}/%{name}
%changelog