1 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2 %define mod_path ibus-@PACKAGE_VERSION_MAJOR@.@PACKAGE_VERSION_MINOR@
4 Version: @PACKAGE_VERSION@
6 Summary: The Hangul engine for IBus input platform
8 Group: System Environment/Libraries
9 URL: http://code.google.com/p/ibus/
10 Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14 BuildRequires: gettext-devel
15 BuildRequires: libtool
16 BuildRequires: libhangul-devel
17 BuildRequires: pkgconfig
22 The Hangul engine for IBus platform. It provides Korean input method from
29 %configure --disable-static
30 # make -C po update-gmo
34 rm -rf $RPM_BUILD_ROOT
35 make DESTDIR=${RPM_BUILD_ROOT} install
36 rm -f $RPM_BUILD_ROOT%{python_sitearch}/_hangul.la
41 rm -rf $RPM_BUILD_ROOT
43 %files -f %{name}.lang
44 %defattr(-,root,root,-)
45 %doc AUTHORS COPYING README
46 %{_libexecdir}/ibus-engine-hangul
48 %{_datadir}/ibus/component/*
51 * Fri Aug 08 2008 Huang Peng <shawn.p.huang@gmail.com> - @VERSION@-1