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