File ibus-anthy.spec of Package ibus-anthy
#
# spec file for package ibus-anthy
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ibus-anthy
BuildRequires: anthy-devel
BuildRequires: fdupes
BuildRequires: ibus-devel
BuildRequires: intltool
BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: swig
Version: 1.2.7
Release: 0
Summary: The Anthy engine for IBus input platform
License: GPL-2.0+
Group: System/I18n/Japanese
Provides: locale(ibus:ja)
Url: http://code.google.com/p/ibus/
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
%description
The Anthy engine for IBus platform. It provides Japanese input method from
libanthy.
%prep
%setup -q
%build
%configure --disable-static \
--libexecdir=%{_prefix}/%{_lib}/ibus
make %{?jobs:-j %jobs}
%install
%makeinstall
rm -f $RPM_BUILD_ROOT%{python_sitearch}/_anthy.la
%find_lang %{name}
%fdupes -s $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{python_sitearch}
%{_prefix}/%{_lib}/ibus
%{_datadir}/ibus-anthy
%{_datadir}/ibus
%changelog