Update translations
[platform/upstream/ibus-hangul.git] / ibus-hangul.spec.in
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@
3 Name:       @PACKAGE_NAME@
4 Version:    @PACKAGE_VERSION@
5 Release:    1%{?dist}
6 Summary:    The Hangul engine for IBus input platform
7 License:    GPLv2+
8 Group:      System Environment/Libraries
9 URL:        http://code.google.com/p/ibus/
10 Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
11
12 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14 BuildRequires:  gettext-devel
15 BuildRequires:  libtool
16 BuildRequires:  libhangul-devel
17 BuildRequires:  pkgconfig
18
19 Requires:   ibus
20
21 %description
22 The Hangul engine for IBus platform. It provides Korean input method from
23 libhangul.
24
25 %prep
26 %setup -q
27
28 %build
29 %configure --disable-static
30 # make -C po update-gmo
31 make %{?_smp_mflags}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 make DESTDIR=${RPM_BUILD_ROOT} install
36 rm -f $RPM_BUILD_ROOT%{python_sitearch}/_hangul.la
37
38 %find_lang %{name}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files -f %{name}.lang
44 %defattr(-,root,root,-)
45 %doc AUTHORS COPYING README
46 %{_libexecdir}/ibus-engine-hangul
47 %{_datadir}/@PACKAGE@
48 %{_datadir}/ibus/component/*
49
50 %changelog
51 * Fri Aug 08 2008 Huang Peng <shawn.p.huang@gmail.com> - @VERSION@-1
52 - The first version.