From 7b8295262fb723bb09c74fe4be62a33476d4d11d Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Aug 24 2008 22:39:51 +0000 Subject: Import ibus-hangul for f9 --- diff --git a/.cvsignore b/.cvsignore index e69de29..bc71dfa 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ibus-hangul-0.1.1.20080823.tar.gz diff --git a/ibus-hangul.spec b/ibus-hangul.spec new file mode 100644 index 0000000..a875906 --- /dev/null +++ b/ibus-hangul.spec @@ -0,0 +1,58 @@ +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%define mod_path ibus-0.1 +Name: ibus-hangul +Version: 0.1.1.20080823 +Release: 1%{?dist} +Summary: The Hangul engine for IBus input platform +License: GPLv2+ +Group: System Environment/Libraries +URL: http://code.google.com/p/ibus/ +Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gettext-devel +BuildRequires: libtool +BuildRequires: python-devel +BuildRequires: libhangul-devel +BuildRequires: swig +BuildRequires: pkgconfig + +Requires: ibus + +%description +The Hangul engine for IBus platform. It provides Korean input method from +libhangul. + +%prep +%setup -q + +%build +%configure --disable-static +# make -C po update-gmo +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=${RPM_BUILD_ROOT} install +rm -f $RPM_BUILD_ROOT%{python_sitearch}/_hangul.la + +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +# %dir %{python_sitearch}/ibus +%{python_sitearch}/hangul.py* +%{python_sitearch}/_hangul.so +%dir %{_datadir}/ibus-hangul +%{_bindir}/ibus-engine-hangul +%{_datadir}/ibus-hangul/* +%{_datadir}/ibus/engine/hangul.engine + +%changelog +* Fri Aug 08 2008 Huang Peng - 0.1.1.20080823-1 +- The first version. diff --git a/sources b/sources index e69de29..581ffc6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d22333edd00a9ff9bc19be6c0a65343e ibus-hangul-0.1.1.20080823.tar.gz