]> git.pld-linux.org Git - packages/ibus-anthy.git/blame - ibus-anthy.spec
- rel 2
[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
44358d4a 9Release: 2
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
89c492ae 85%{__aclocal}
48709482 86%{__autoconf}
89c492ae 87%{__automake}
48709482 88%configure \
0355600f 89 --with-layout='default' \
2bd6712e 90 %{?with_bridge_hotkey:--with-hotkeys}
48709482
JR
91
92%{__make}
93
94%install
95rm -rf $RPM_BUILD_ROOT
96%{__make} install \
97 DESTDIR=$RPM_BUILD_ROOT
98
0355600f 99%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
a27946f1 100
48709482
JR
101%find_lang %{name}
102
103%clean
104rm -rf $RPM_BUILD_ROOT
105
0355600f 106%post
0355600f
JR
107%update_icon_cache hicolor
108
109%postun
0355600f
JR
110%update_icon_cache hicolor
111
eeffd8d5
JB
112%post libs -p /sbin/ldconfig
113%postun libs -p /sbin/ldconfig
114
48709482
JR
115%files -f %{name}.lang
116%defattr(644,root,root,755)
a27946f1 117%doc AUTHORS ChangeLog README
a27946f1
JB
118%attr(755,root,root) %{_libexecdir}/ibus-engine-anthy
119%attr(755,root,root) %{_libexecdir}/ibus-setup-anthy
48709482 120%{_datadir}/ibus-anthy
a27946f1 121%{_datadir}/ibus/component/anthy.xml
eeffd8d5
JB
122%{_desktopdir}/ibus-setup-anthy.desktop
123%{_iconsdir}/hicolor/scalable/apps/ibus-anthy.svg
124
125%files libs
126%defattr(644,root,root,755)
0355600f
JR
127%attr(755,root,root) %{_libdir}/libanthygobject-1.0.so.*.*
128%attr(755,root,root) %ghost %{_libdir}/libanthygobject-1.0.so.5
1b0108ab 129%{_libdir}/girepository-1.0/Anthy-9000.typelib
0355600f
JR
130
131%files devel
132%defattr(644,root,root,755)
0355600f 133%attr(755,root,root) %{_libdir}/libanthygobject-1.0.so
1b0108ab
JB
134%{_includedir}/ibus-anthy-1.0
135%{_datadir}/gir-1.0/Anthy-9000.gir
This page took 0.048853 seconds and 4 git commands to generate.