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