File kerry.spec of Package kerry

#
# spec file for package kerry (Version 0.2.90.svn1005337)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           kerry
BuildRequires:  libbeagle-devel libkdepimlibs4-devel libkonq-devel
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        Desktop search tool
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Version:        0.2.90.svn1005337
Release:        1
Source:         kerry.tar.bz2
Source1:        po.tar.bz2
Patch:          po.diff
Requires:       beagle >= 0.3.0
Requires:       libbeagle1 >= 0.3.0
Provides:       kde4-kerry = 0.2.90
Obsoletes:      kde4-kerry <= 0.2.90
%kde4_runtime_requires

%description
A desktop search tool integrated with Beagle and KDE.



Authors:
--------
    Stephan Binner <binner@kde.org>

%prep
%setup -n kerry -b 1
%patch

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %makeinstall
  %suse_update_desktop_file kerry
  %kde_post_install
  cd ..
  %find_lang kerry %name.lang
  %find_lang kcmbeagle %name.lang

%files -f %name.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING COPYING.LIB README
/usr/bin/kerry
/usr/share/icons/*/*/*/kerry.*
/usr/share/icons/*/*/*/kerry_arrow.*
/usr/share/icons/*/*/*/kerry_info.*
/usr/share/icons/*/*/*/kerry_systemtray.*
/usr/share/applications/kde4/kerry.desktop
/usr/%_lib/kde4/kcm_kerry.so
/usr/share/kde4/services/kcmkerry.desktop

%changelog
openSUSE Build Service is sponsored by