File ibus-hangul.spec of Package ibus-hangul
#
# spec file for package ibus-hangul
#
# Copyright (c) 2013 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
BuildRequires: automake
BuildRequires: fdupes
BuildRequires: ibus-devel
BuildRequires: intltool
BuildRequires: libhangul-devel
BuildRequires: pkgconfig
BuildRequires: python
BuildRequires: update-desktop-files
Version: 1.4.2
Release: 0
Summary: The Hangul engine for IBus input platform
License: GPL-2.0+
Group: System/I18n/Korean
Provides: locale(ibus:ko)
Url: http://code.google.com/p/ibus/
Source: https://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
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=%{_prefix}/%{_lib}/ibus
make %{?jobs:-j %jobs}
%install
%makeinstall
#mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/64x64/apps/
#install -m 755 icons/%{name}.png $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
#install -m 755 icons/%{name}.svg $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/64x64/apps/%{name}.svg
%suse_update_desktop_file ibus-setup-hangul Utility DesktopUtility System
ln -sf ../%{_lib}/ibus/ibus-setup-hangul $RPM_BUILD_ROOT%{_bindir}/ibus-setup-hangul
%find_lang %{name}
%fdupes -s $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_libdir}/ibus-hangul/
%{_prefix}/%{_lib}/ibus
%{_datadir}/ibus-*
%dir %{_datadir}/ibus
%dir %{_datadir}/ibus/component
%{_datadir}/ibus/component/*
%{_datadir}/icons/hicolor/
%{_bindir}/*
%{_datadir}/applications/ibus-setup-hangul.desktop
%changelog