File baloo_kcm.spec of Package baloo_kcm4

#
# spec file for package baloo_kcm
#
# 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/
#
%define rname baloo-kcmadv
%define rversion 0.1

Name:           baloo_kcm
Version:        %{rversion}+20141112
Release:        0
Summary:        Advanced KCM for Baloo framework
License:        GPL-2.0+ and LGPL-2.1+
Group:          System/GUI/KDE
Url:            https://gitorious.org/baloo-kcmadv
Source0:        %{rname}-%{rversion}.tar.xz
BuildRequires:  baloo-devel
BuildRequires:  libkde4-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires

%description
Provides an advanced configuration module for Baloo.

%prep
%setup -q -n %{rname}-%{rversion}

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  %kde4_makeinstall -C build
  %kde_post_install

%files
%defattr(-,root,root)
%doc %{_kde4_datadir}/doc/kde/
%{_kde4_modulesdir}/kcm_baloofileadv.so
%{_kde4_servicesdir}/kcm_baloofileadv.desktop

%changelog
openSUSE Build Service is sponsored by