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