File ibus-qt.spec of Package ibus-qt

# spec file for package ibus-qt
# 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

Name:           ibus-qt
Version:        1.3.3
Release:        0
Summary:        Qt IBus library and Qt input method plugin
License:        GPL-2.0+
Group:          System/Libraries
Source99:	baselibs.conf
Patch1:         fix-keysym-type.patch
BuildRequires:  cmake
BuildRequires:  dbus-1-devel >= 1.2
BuildRequires:  doxygen
BuildRequires:  fdupes
BuildRequires:  ibus-devel >= 1.2
BuildRequires:  libicu-devel >= 4.0
BuildRequires:  libqt4-devel
Supplements:    packageand(ibus:libqt4)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Qt IBus library and Qt input method plugin.

%package devel
Summary:        Development tools for ibus qt
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}-%{release}

%description devel
The ibus-qt-devel package contains the header files for ibus qt library.

%setup -q -n %{name}-%{version}-Source
%patch1 -p1

cmake \
    -DCMAKE_INSTALL_PREFIX=%{_prefix} \
make %{?_smp_mflags}

make DESTDIR=%{buildroot} install %{?_smp_mflags}
%fdupes %{buildroot}
# handled by %doc macro
rm -rf %{buildroot}%{_datadir}/doc/%{name}-%{version}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files devel

openSUSE Build Service is sponsored by