]> git.pld-linux.org Git - packages/ibus-anthy.git/blame - ibus-anthy.spec
- cosmetics
[packages/ibus-anthy.git] / ibus-anthy.spec
CommitLineData
48709482
JR
1#
2# Conditional build:
3%bcond_without bridge_hotkey # disable the engine symbol & hotkeys
4#
5Summary: The Anthy engine for IBus input platform
6Name: ibus-anthy
7Version: 1.2.6
bda702e9 8Release: 0.2
48709482
JR
9License: GPL v2+
10Group: Libraries
11Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
12# Source0-md5: 894c7311f4d5c96b1fdb8b3795446ead
13Patch1: %{name}-xx-icon-symbol.patch
14URL: http://code.google.com/p/ibus/
15BuildRequires: anthy-devel
16BuildRequires: gettext-devel
17%{?with_bridge_hotkey:BuildRequires: ibus}
18BuildRequires: intltool
19BuildRequires: libtool
20BuildRequires: pkgconfig
21BuildRequires: python-devel
22BuildRequires: swig-python
23Requires: anthy
24Requires: ibus >= 1.3.0
25Requires: kasumi
26Requires: python-pygtk-gtk >= 2.15.2
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
bda702e9
JR
29%define _libexecdir %{_libdir}/ibus
30
48709482
JR
31%description
32The Anthy engine for IBus platform. It provides Japanese input method
33from libanthy.
34
35%prep
36%setup -q
20ea8d2d 37%{?with_bridge_hotkey:%patch1 -p1}
48709482
JR
38
39%build
40%if %{with bridge_hotkey}
41%{__autoconf}
42%configure \
43 --with-hotkeys
44%else
45%configure
46%endif
47
48%{__make}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la
56
57%find_lang %{name}
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files -f %{name}.lang
63%defattr(644,root,root,755)
64%doc AUTHORS README
65%{py_sitedir}/anthy.py*
66%attr(755,root,root) %{py_sitedir}/_anthy.so
bda702e9 67%{_libexecdir}/ibus-*-anthy
48709482
JR
68%{_datadir}/ibus-anthy
69%{_datadir}/ibus/component/*
This page took 0.063899 seconds and 4 git commands to generate.