fix google #1495
[platform/upstream/ibus-hangul.git] / ibus-hangul.spec.in
1 %define mod_path ibus-@PACKAGE_VERSION_MAJOR@.@PACKAGE_VERSION_MINOR@
2 Name:       @PACKAGE_NAME@
3 Version:    @PACKAGE_VERSION@
4 Release:    1%{?dist}
5 Summary:    The Hangul engine for IBus input platform
6 License:    GPLv2+
7 Group:      System Environment/Libraries
8 URL:        http://code.google.com/p/ibus/
9 Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
10
11 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12
13 BuildRequires:  ibus-devel
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
37 %find_lang %{name}
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files -f %{name}.lang
43 %defattr(-,root,root,-)
44 %doc AUTHORS COPYING README
45 %{_libexecdir}/ibus-engine-hangul
46 %{_libexecdir}/ibus-setup-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.