]> git.pld-linux.org Git - packages/ibus-anthy.git/blame - ibus-anthy.spec
- updated to 1.5.3
[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
358e5204 8Version: 1.5.3
7e2dd852 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
358e5204 14# Source0-md5: ec8e7c499c80c0270be69d613dec4b87
48709482
JR
15URL: http://code.google.com/p/ibus/
16BuildRequires: anthy-devel
a27946f1
JB
17BuildRequires: autoconf >= 2.50
18BuildRequires: gettext-devel >= 0.16.1
1b0108ab
JB
19BuildRequires: glib2-devel >= 1:2.26.0
20BuildRequires: gobject-introspection-devel >= 0.6.8
0355600f 21BuildRequires: ibus-devel >= 1.4.99
358e5204 22BuildRequires: intltool >= 0.41.1
a27946f1 23BuildRequires: libstdc++-devel
48709482 24BuildRequires: pkgconfig
a27946f1
JB
25BuildRequires: python-devel >= 1:2.5
26BuildRequires: rpmbuild(macros) >= 1.219
27BuildRequires: sed >= 4.0
48709482 28BuildRequires: swig-python
3b43c264 29Requires(post,postun): /sbin/ldconfig
315358f9 30Requires(post,postun): GConf2
eeffd8d5 31Requires: %{name}-libs = %{version}-%{release}
48709482 32Requires: anthy
0355600f 33Requires: ibus >= 1.4.99
48709482 34Requires: kasumi
0355600f 35Requires: python-ibus >= 1.4.99
01fc7768 36Requires: python-pygtk-gtk >= 2:2.15.2
48709482
JR
37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
bda702e9
JR
39%define _libexecdir %{_libdir}/ibus
40
48709482
JR
41%description
42The Anthy engine for IBus platform. It provides Japanese input method
43from libanthy.
44
a27946f1
JB
45%description -l pl.UTF-8
46Silnik Anthy dla platformy IBus. Udostępnia metodę wprowadzania znaków
47japońskich poprzez libanthy.
48
eeffd8d5
JB
49%package libs
50Summary: Shared Anthy GObject library
51Summary(pl.UTF-8): Biblioteka współdzielona Anthy GObject
52Group: Libraries
53Requires: glib2 >= 1:2.26.0
54Conflicts: ibus-anthy < 1.4.99.20121006-5
55
56%description libs
57Shared Anthy GObject library.
58
59%description libs -l pl.UTF-8
60Biblioteka współdzielona Anthy GObject.
61
0355600f 62%package devel
1b0108ab
JB
63Summary: Header files for Anthy GObject library
64Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Anthy GObject
0355600f 65Group: Development/Libraries
eeffd8d5 66Requires: %{name}-libs = %{version}-%{release}
0355600f 67Requires: anthy-devel
1b0108ab 68Requires: glib2-devel >= 1:2.26.0
0355600f
JR
69
70%description devel
1b0108ab
JB
71Header files for Anthy GObject library.
72
73%description devel -l pl.UTF-8
74Pliki nagłówkowe biblioteki Anthy GObject.
0355600f 75
48709482
JR
76%prep
77%setup -q
a27946f1 78
0355600f
JR
79# ibus 1.4.x has symbol attr in EngineDesc;
80# ibus 1.4.99 (1.5) has symbol attr in IBus.Property
81# hardcode it so python-ibus is not BRed here
a27946f1 82%{__sed} -i -e 's,\$SYMBOL_TEST,exit(0),' configure.ac
48709482
JR
83
84%build
48709482
JR
85%{__autoconf}
86%configure \
0355600f 87 --with-layout='default' \
2bd6712e 88 %{?with_bridge_hotkey:--with-hotkeys}
48709482
JR
89
90%{__make}
91
92%install
93rm -rf $RPM_BUILD_ROOT
94%{__make} install \
95 DESTDIR=$RPM_BUILD_ROOT
96
0355600f 97%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
a27946f1 98
48709482
JR
99%find_lang %{name}
100
101%clean
102rm -rf $RPM_BUILD_ROOT
103
0355600f 104%post
0355600f
JR
105%update_icon_cache hicolor
106
107%postun
0355600f
JR
108%update_icon_cache hicolor
109
eeffd8d5
JB
110%post libs -p /sbin/ldconfig
111%postun libs -p /sbin/ldconfig
112
48709482
JR
113%files -f %{name}.lang
114%defattr(644,root,root,755)
a27946f1 115%doc AUTHORS ChangeLog README
a27946f1
JB
116%attr(755,root,root) %{_libexecdir}/ibus-engine-anthy
117%attr(755,root,root) %{_libexecdir}/ibus-setup-anthy
48709482 118%{_datadir}/ibus-anthy
a27946f1 119%{_datadir}/ibus/component/anthy.xml
eeffd8d5
JB
120%{_desktopdir}/ibus-setup-anthy.desktop
121%{_iconsdir}/hicolor/scalable/apps/ibus-anthy.svg
122
123%files libs
124%defattr(644,root,root,755)
0355600f
JR
125%attr(755,root,root) %{_libdir}/libanthygobject-1.0.so.*.*
126%attr(755,root,root) %ghost %{_libdir}/libanthygobject-1.0.so.5
1b0108ab 127%{_libdir}/girepository-1.0/Anthy-9000.typelib
0355600f
JR
128
129%files devel
130%defattr(644,root,root,755)
0355600f 131%attr(755,root,root) %{_libdir}/libanthygobject-1.0.so
1b0108ab
JB
132%{_includedir}/ibus-anthy-1.0
133%{_datadir}/gir-1.0/Anthy-9000.gir
This page took 0.096657 seconds and 4 git commands to generate.