3 %bcond_with bridge_hotkey # enable the engine hotkeys
5 Summary: The Hangul engine for IBus input platform
11 Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
12 # Source0-md5: b71565bba3a1439a47212611b774ecf7
13 Patch0: %{name}-ibus-1.4.patch
14 Patch1: %{name}-xx-icon-symbol.patch
15 URL: http://code.google.com/p/ibus/
16 BuildRequires: gettext-devel
18 BuildRequires: ibus-devel >= 1.3.0
19 BuildRequires: intltool
20 BuildRequires: libhangul-devel >= 0.0.10
21 BuildRequires: libtool
22 BuildRequires: pkgconfig
23 Requires: ibus >= 1.3.0
24 Requires: libhangul >= 0.0.10
26 %define _libexecdir %{_libdir}/ibus
29 The Hangul engine for IBus platform. It provides Korean input method
41 %{?with_bridge_hotkey:--with-hotkeys}
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc AUTHORS ChangeLog NEWS README
59 %attr(755,root,root) %{_libexecdir}/ibus-engine-hangul
60 %attr(755,root,root) %{_libexecdir}/ibus-setup-hangul
61 %{_datadir}/ibus-hangul
62 %{_datadir}/ibus/component/*