]> git.pld-linux.org Git - packages/ibus-hangul.git/blob - ibus-hangul.spec
- enable bridge hotkey
[packages/ibus-hangul.git] / ibus-hangul.spec
1 #
2 # Conditional build:
3 %bcond_without  bridge_hotkey           # disable the engine hotkeys
4 #
5 Summary:        The Hangul engine for IBus input platform
6 Summary(pl.UTF-8):      Silnik Hangul dla platformy wprowadzania znaków IBus
7 Name:           ibus-hangul
8 Version:        1.4.1
9 Release:        3
10 License:        GPL v2+
11 Group:          Libraries
12 #Source0Download: http://code.google.com/p/ibus/downloads/list
13 Source0:        http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
14 # Source0-md5:  c9615a9f704a4c29252028407329e1c3
15 Patch0:         ibus-hangul-setup-gi.patch
16 Patch1:         ibus-hangul-add-hangul-hotkey.patch
17 Patch2:         ibus-hangul-engine-name.patch
18 URL:            http://code.google.com/p/ibus/
19 BuildRequires:  autoconf >= 2.50
20 BuildRequires:  automake >= 1:1.10
21 BuildRequires:  gettext-devel >= 0.17
22 BuildRequires:  ibus-devel >= 1.4.0
23 BuildRequires:  intltool >= 0.35.0
24 BuildRequires:  libhangul-devel >= 0.1.0
25 BuildRequires:  libtool
26 BuildRequires:  pkgconfig
27 BuildRequires:  python >= 1:2.5
28 Requires:       ibus >= 1.4.0
29 Requires:       libhangul >= 0.1.0
30 Requires:       python-pygobject3
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         _libexecdir     %{_libdir}/ibus
34
35 %description
36 The Hangul engine for IBus platform. It provides Korean input method
37 from libhangul.
38
39 %description -l pl.UTF-8
40 Silnik Hangul dla platformy wprowadzania znaków IBus. Udostępnia
41 metodę wprowadzania znaków koreańskich zaimplementowaną w libhangul.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46 %if %{with bridge_hotkey}
47 %patch1 -p1
48 %endif
49 %patch2 -p1
50
51 %build
52 %{__libtoolize}
53 %{__aclocal} -I m4
54 %{__autoconf}
55 %{__autoheader}
56 %{__automake}
57 %configure \
58         %{?with_bridge_hotkey:--with-hotkeys}
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %find_lang %{name}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 %update_icon_cache hicolor
75
76 %postun
77 %update_icon_cache hicolor
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog NEWS README
82 %attr(755,root,root) %{_bindir}/ibus-setup-hangul
83 %attr(755,root,root) %{_libexecdir}/ibus-engine-hangul
84 %attr(755,root,root) %{_libexecdir}/ibus-setup-hangul
85 %dir %{_libdir}/ibus-hangul
86 %dir %{_libdir}/ibus-hangul/setup
87 %attr(755,root,root) %{_libdir}/ibus-hangul/setup/hangul_keyboard_list
88 %{_datadir}/ibus-hangul
89 %{_datadir}/ibus/component/hangul.xml
90 %{_desktopdir}/ibus-setup-hangul.desktop
91 %{_iconsdir}/hicolor/64x64/apps/ibus-hangul.png
92 %{_iconsdir}/hicolor/64x64/apps/ibus-setup-hangul.png
93 %{_iconsdir}/hicolor/scalable/apps/ibus-hangul.svg
94 %{_iconsdir}/hicolor/scalable/apps/ibus-setup-hangul.svg
This page took 0.21922 seconds and 4 git commands to generate.