File ibus-skk.spec of Package ibus-skk

#
# spec file for package ibus-skk
#
# 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-skk
Version:	1.4.1git20120923
Release:	1
Summary:	Japanese SKK input method for ibus
Group:		System/I18n/Japanese
License:	GPL-2.0+
URL:		http://github.com/ueno/ibus-skk
Source0:	%{name}-%{version}.tar.gz
BuildRequires:    pkg-config
BuildRequires:	intltool
BuildRequires:	libskk-devel
BuildRequires:	ibus-devel >= 1.3.99
BuildRequires:	gtk3-devel
BuildRequires:    gnome-common
BuildRequires:  update-desktop-files
%if 0%{?suse_version} >= 1220
BuildRequires:  pkgconfig(vapigen) >= 0.16
%else
BuildRequires:    libvala-0_14-devel
%endif
Requires:	ibus


%description
A Japanese Simple Kana Kanji Input Method Engine for ibus.


%prep
%setup -q


%build
./autogen.sh
%configure
make %{?_smp_mflags}


%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

%suse_update_desktop_file ibus-setup-skk Utility DesktopUtility System
%find_lang %{name}


%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING README
%{_datadir}/ibus-skk
%{_datadir}/applications/ibus-setup-skk.desktop
%{_libexecdir}/ibus-*-skk
%{_datadir}/ibus/component/skk.xml


%changelog

openSUSE Build Service is sponsored by