File ibus-rime.spec of Package ibus-rime

#
# spec file for package ibus-rime
#
# Copyright (c) 2014 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-rime
Version:        1.2
Release:        0
Summary:        IBus rime
License:        GPL-3.0
Group:          System/I18n/Chinese
Url:            https://github.com/lotem/ibus-rime
Source:         %{name}-%{version}.tar.gz
BuildRequires:  boost-devel
BuildRequires:  brise
BuildRequires:  cmake >= 2.8
BuildRequires:  gcc-c++
BuildRequires:  ibus-devel
BuildRequires:  libkyotocabinet-devel
BuildRequires:  libnotify-devel
BuildRequires:  librime-devel >= 1.0
BuildRequires:  opencc
BuildRequires:  opencc-devel
%if 0%{?suse_version} > 1230
BuildRequires:  libyaml-cpp0_5
%else
BuildRequires:  libyaml-cpp0_3
%endif

%description
Rime Input Method Engine - riming with your keystrokes.

%prep
%setup -q

%build
make %{?_smp_mflags}

%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}

%files
%defattr(-,root,root)
%doc README
%{_ibus_componentdir}/rime.xml
%{_datadir}/ibus-rime/
%{_libexecdir}/ibus-rime/

%changelog
openSUSE Build Service is sponsored by