File colord-kde.spec of Package colord-kde

#
# spec file for package colord-kde
#
# Copyright (c) 2012 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/
#


Summary:        KDE interfaces and session daemon to colord
License:        GPL-2.0+
Group:          System/GUI/KDE
Name:           colord-kde
Version:        0.3.0
Release:        0
Source0:        ftp://ftp.kde.org/pub/kde/stable/%{name}/%{version}/src/%{name}-%{version}.tar.bz2
Url:            https://projects.kde.org/projects/playground/graphics/colord-kde
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libcolord-devel
BuildRequires:  libkde4-devel
BuildRequires:  liblcms2-devel
Requires:       colord
# Enable calibrate functional if gnome-color-manager installed
Suggests:       gnome-color-manager
%kde4_runtime_requires

%description
Colord-kde provides KCM module and KDE daemon module for colord support.

%prep
%setup -q

%build
%cmake_kde4 -d build
%make_jobs

%install
pushd build
make DESTDIR=%{buildroot} install
popd

%kde_post_install

%files
%defattr(-,root,root)
%doc COPYING MAINTAINERS TODO
%{_kde4_bindir}/%{name}-icc-importer
%{_kde4_applicationsdir}/colordkdeiccimporter.desktop
%{_kde4_modulesdir}/*.so
%{_kde4_servicesdir}/kcm_colord.desktop
%{_kde4_servicesdir}/kded/colord.desktop

%changelog
openSUSE Build Service is sponsored by