]> git.pld-linux.org Git - packages/ibus-anthy.git/blame - ibus-anthy.spec
- pygtk epoch
[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
a27946f1 6Summary(pl.UTF-8): Silnik Anthy dla platformy wprowadzania znaków IBus
48709482 7Name: ibus-anthy
a27946f1 8Version: 1.2.7
39e4c4b1 9Release: 1
48709482
JR
10License: GPL v2+
11Group: Libraries
a27946f1 12#Source0Download: http://code.google.com/p/ibus/downloads/list
48709482 13Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
a27946f1 14# Source0-md5: 091a13ff950171981768463993ffb683
48709482
JR
15URL: http://code.google.com/p/ibus/
16BuildRequires: anthy-devel
a27946f1
JB
17BuildRequires: autoconf >= 2.50
18BuildRequires: gettext-devel >= 0.16.1
19BuildRequires: ibus-devel >= 1.4.0
20BuildRequires: intltool >= 0.35.0
21BuildRequires: libstdc++-devel
48709482 22BuildRequires: pkgconfig
a27946f1
JB
23BuildRequires: python-devel >= 1:2.5
24BuildRequires: rpmbuild(macros) >= 1.219
25BuildRequires: sed >= 4.0
48709482
JR
26BuildRequires: swig-python
27Requires: anthy
a27946f1 28Requires: ibus >= 1.4.0
48709482 29Requires: kasumi
a27946f1 30Requires: python-ibus >= 1.4.0
01fc7768 31Requires: python-pygtk-gtk >= 2:2.15.2
48709482
JR
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
bda702e9
JR
34%define _libexecdir %{_libdir}/ibus
35
48709482
JR
36%description
37The Anthy engine for IBus platform. It provides Japanese input method
38from libanthy.
39
a27946f1
JB
40%description -l pl.UTF-8
41Silnik Anthy dla platformy IBus. Udostępnia metodę wprowadzania znaków
42japońskich poprzez libanthy.
43
48709482
JR
44%prep
45%setup -q
a27946f1
JB
46
47# ibus 1.4.x has symbol attr in EngineDesc; hardcode it so python-ibus
48# is not BRed here
49%{__sed} -i -e 's,\$SYMBOL_TEST,exit(0),' configure.ac
48709482
JR
50
51%build
48709482
JR
52%{__autoconf}
53%configure \
2bd6712e 54 %{?with_bridge_hotkey:--with-hotkeys}
48709482
JR
55
56%{__make}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60%{__make} install \
61 DESTDIR=$RPM_BUILD_ROOT
62
63%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la
64
a27946f1
JB
65%py_comp $RPM_BUILD_ROOT%{py_sitedir}
66%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
67%py_postclean
68
48709482
JR
69%find_lang %{name}
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%files -f %{name}.lang
75%defattr(644,root,root,755)
a27946f1
JB
76%doc AUTHORS ChangeLog README
77%{py_sitedir}/anthy.py[co]
48709482 78%attr(755,root,root) %{py_sitedir}/_anthy.so
a27946f1
JB
79%attr(755,root,root) %{_libexecdir}/ibus-engine-anthy
80%attr(755,root,root) %{_libexecdir}/ibus-setup-anthy
48709482 81%{_datadir}/ibus-anthy
a27946f1 82%{_datadir}/ibus/component/anthy.xml
This page took 0.105706 seconds and 4 git commands to generate.