]> git.pld-linux.org Git - packages/ibus-anthy.git/blame - ibus-anthy.spec
- typo
[packages/ibus-anthy.git] / ibus-anthy.spec
CommitLineData
48709482
JR
1#
2# Conditional build:
1fc23000 3%bcond_without bridge_hotkey # disable 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
0355600f 8Version: 1.4.99.20121006
315358f9 9Release: 4
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
0355600f 14# Source0-md5: 518aa503ce40054e0027f2a79c9df640
48709482
JR
15URL: http://code.google.com/p/ibus/
16BuildRequires: anthy-devel
a27946f1
JB
17BuildRequires: autoconf >= 2.50
18BuildRequires: gettext-devel >= 0.16.1
0355600f 19BuildRequires: ibus-devel >= 1.4.99
a27946f1
JB
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 26BuildRequires: swig-python
3b43c264 27Requires(post,postun): /sbin/ldconfig
315358f9 28Requires(post,postun): GConf2
48709482 29Requires: anthy
0355600f 30Requires: ibus >= 1.4.99
48709482 31Requires: kasumi
0355600f 32Requires: python-ibus >= 1.4.99
01fc7768 33Requires: python-pygtk-gtk >= 2:2.15.2
48709482
JR
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
bda702e9
JR
36%define _libexecdir %{_libdir}/ibus
37
48709482
JR
38%description
39The Anthy engine for IBus platform. It provides Japanese input method
40from libanthy.
41
a27946f1
JB
42%description -l pl.UTF-8
43Silnik Anthy dla platformy IBus. Udostępnia metodę wprowadzania znaków
44japońskich poprzez libanthy.
45
0355600f
JR
46%package devel
47Summary: Development tools for ibus
48Group: Development/Libraries
49Requires: %{name} = %{version}-%{release}
50Requires: anthy-devel
51Requires: glib2-devel
52
53%description devel
54The ibus-anthy-devel package contains .so file and .gir files for
55developers.
56
48709482
JR
57%prep
58%setup -q
a27946f1 59
0355600f
JR
60# ibus 1.4.x has symbol attr in EngineDesc;
61# ibus 1.4.99 (1.5) has symbol attr in IBus.Property
62# hardcode it so python-ibus is not BRed here
a27946f1 63%{__sed} -i -e 's,\$SYMBOL_TEST,exit(0),' configure.ac
48709482
JR
64
65%build
48709482
JR
66%{__autoconf}
67%configure \
0355600f 68 --with-layout='default' \
2bd6712e 69 %{?with_bridge_hotkey:--with-hotkeys}
48709482
JR
70
71%{__make}
72
73%install
74rm -rf $RPM_BUILD_ROOT
75%{__make} install \
76 DESTDIR=$RPM_BUILD_ROOT
77
0355600f 78%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
a27946f1 79
48709482
JR
80%find_lang %{name}
81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
0355600f
JR
85%post
86/sbin/ldconfig
87%update_icon_cache hicolor
88
89%postun
90/sbin/ldconfig
91%update_icon_cache hicolor
92
48709482
JR
93%files -f %{name}.lang
94%defattr(644,root,root,755)
a27946f1 95%doc AUTHORS ChangeLog README
a27946f1
JB
96%attr(755,root,root) %{_libexecdir}/ibus-engine-anthy
97%attr(755,root,root) %{_libexecdir}/ibus-setup-anthy
48709482 98%{_datadir}/ibus-anthy
a27946f1 99%{_datadir}/ibus/component/anthy.xml
0355600f
JR
100%{_libdir}/girepository-1.0/Anthy-9000.typelib
101%attr(755,root,root) %{_libdir}/libanthygobject-1.0.so.*.*
102%attr(755,root,root) %ghost %{_libdir}/libanthygobject-1.0.so.5
103%{_desktopdir}/ibus-setup-anthy.desktop
104%{_iconsdir}/hicolor/scalable/apps/ibus-anthy.svg
105
106%files devel
107%defattr(644,root,root,755)
108%{_datadir}/gir-1.0/Anthy*.gir
109%{_includedir}/ibus-anthy-1.0
110%attr(755,root,root) %{_libdir}/libanthygobject-1.0.so
This page took 0.038361 seconds and 4 git commands to generate.