ac85804
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
ac85804
%define mod_path ibus-0.1
ac85804
Name:       ibus-anthy
48abb26
Version:    0.1.1.20080826
ac85804
Release:    1%{?dist}
ac85804
Summary:    The Anthy engine for IBus input platform
ac85804
License:    GPLv2+
ac85804
Group:      System Environment/Libraries
ac85804
URL:        http://code.google.com/p/ibus/
ac85804
Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
ac85804
ac85804
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ac85804
ac85804
BuildRequires:  gettext-devel
ac85804
BuildRequires:  libtool
ac85804
BuildRequires:  python-devel
ac85804
BuildRequires:  anthy-devel
ac85804
BuildRequires:  swig
ac85804
BuildRequires:  pkgconfig
ac85804
ac85804
Requires:   ibus
ac85804
Requires:   anthy
ac85804
ac85804
%description
ac85804
The Anthy engine for IBus platform. It provides Japanese input method from
ac85804
libanthy.
ac85804
ac85804
%prep
ac85804
%setup -q
ac85804
ac85804
%build
ac85804
%configure --disable-static
ac85804
# make -C po update-gmo
ac85804
make %{?_smp_mflags}
ac85804
ac85804
%install
ac85804
rm -rf $RPM_BUILD_ROOT
ac85804
make DESTDIR=${RPM_BUILD_ROOT} install
ac85804
rm -f $RPM_BUILD_ROOT%{python_sitearch}/_anthy.la
ac85804
7d37803
%find_lang %{name}
ac85804
ac85804
%clean
ac85804
rm -rf $RPM_BUILD_ROOT
ac85804
7d37803
%files -f %{name}.lang
ac85804
%defattr(-,root,root,-)
ac85804
%doc AUTHORS COPYING README
ac85804
# %dir %{python_sitearch}/ibus
ac85804
%{python_sitearch}/anthy.py*
ac85804
%{python_sitearch}/_anthy.so
ac85804
%dir %{_datadir}/ibus-anthy
7d37803
%{_bindir}/ibus-engine-anthy
ac85804
%{_datadir}/ibus-anthy/*
ac85804
%{_datadir}/ibus/engine/anthy.engine
ac85804
ac85804
%changelog
48abb26
* Tue Aug 26 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20080826-1
48abb26
- Update to 0.1.1.20080826.
48abb26
4eccb81
* Sat Aug 23 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20080823-1
4eccb81
- Update to 0.1.1.20080823.
4eccb81
7d37803
* Fri Aug 15 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20080815-1
7d37803
- Update to 0.1.1.20080815.
7d37803
96d5a74
* Thu Aug 12 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.1.20080812-1
96d5a74
- Update to 0.1.1.20080812.
96d5a74
ac85804
* Fri Aug 08 2008 Huang Peng <shawn.p.huang@gmail.com> - 0.1.0.20080810-1
ac85804
- The first version.