File kding.spec of Package kding

# spec file for package kding
# Copyright (c) 2012 Lars Vogdt
# 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:           kding
Version:        0.6
Release:        1
License:        GPL-2.0+
Summary:        A KDE port of Ding, a dictionary lookup program
Group:          Productivity/Office/Dictionary
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  cmake
BuildRequires:  docbook-xsl-stylesheets
BuildRequires:  gcc-c++
BuildRequires:  gettext-devel
BuildRequires:  kdelibs4-doc
BuildRequires:  libkdecore4-devel
BuildRequires:  libkde4-devel
BuildRequires:  libqt4-devel
BuildRequires:  libjpeg-devel
BuildRequires:  update-desktop-files
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

KDing is a KDE port of Ding, a dictionary lookup program.

It is a simple program sitting in KDE's system tray that can translate
the current clipboard content. The user can also enter a single word or
a phrase for translation.

KDing is intended to translate between German and English, but it can
be used for every language for which a word list is available for Ding.

%setup -q

sed -i "s|.*doc.*||g" CMakeLists.txt
%{__make} %{?_smp_mflags}

%suse_update_desktop_file %{name} Office Dictionary
%find_lang %name

rm -rf %{buildroot}

%files -f %name.lang
%dir %{_datadir}/kde4/apps/%{name}

openSUSE Build Service is sponsored by