]> git.pld-linux.org Git - packages/ibus-hangul.git/blob - ibus-hangul.spec
- fix perms
[packages/ibus-hangul.git] / ibus-hangul.spec
1 #
2 # Conditional build:
3 %bcond_with     bridge_hotkey           # enable the engine hotkeys
4 #
5 Summary:        The Hangul engine for IBus input platform
6 Name:           ibus-hangul
7 Version:        1.3.1
8 Release:        0.2
9 License:        GPL v2+
10 Group:          Libraries
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
17 BuildRequires:  ibus
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
25
26 %define         _libexecdir     %{_libdir}/ibus
27
28 %description
29 The Hangul engine for IBus platform. It provides Korean input method
30 from libhangul.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35 %patch1 -p1
36
37 %build
38 %{__aclocal} -I m4
39 %{__autoconf}
40 %configure \
41         %{?with_bridge_hotkey:--with-hotkeys}
42
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %find_lang %{name}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
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/*
This page took 0.22926 seconds and 4 git commands to generate.