]> git.pld-linux.org Git - packages/ibus-anthy.git/blame - ibus-anthy.spec
- rel 1
[packages/ibus-anthy.git] / ibus-anthy.spec
CommitLineData
48709482
JR
1#
2# Conditional build:
2bd6712e 3%bcond_with bridge_hotkey # enable the engine hotkeys
48709482
JR
4#
5Summary: The Anthy engine for IBus input platform
6Name: ibus-anthy
7Version: 1.2.6
39e4c4b1 8Release: 1
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
2bd6712e 17BuildRequires: ibus
48709482
JR
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
2bd6712e 37%patch1 -p1
48709482
JR
38
39%build
48709482
JR
40%{__autoconf}
41%configure \
2bd6712e 42 %{?with_bridge_hotkey:--with-hotkeys}
48709482
JR
43
44%{__make}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
50
51%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la
52
53%find_lang %{name}
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files -f %{name}.lang
59%defattr(644,root,root,755)
60%doc AUTHORS README
61%{py_sitedir}/anthy.py*
62%attr(755,root,root) %{py_sitedir}/_anthy.so
6533c828 63%attr(755,root,root) %{_libexecdir}/ibus-*-anthy
48709482
JR
64%{_datadir}/ibus-anthy
65%{_datadir}/ibus/component/*
This page took 0.051824 seconds and 4 git commands to generate.