File kolor-manager.spec of Package kolor-manager

#
# spec file for package kolor-manager
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010-2014 Kai-Uwe Behrmann <ku.b@gmx.de>
#
# 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/
#


# These macros are not present on the target distribution and are provided explicitly here
%define make_jobs %{__make} %{?_smp_mflags} VERBOSE=1

# Generated by kde-obs-generator version 0.3.2
#
#
# 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.

Name:           kolor-manager
Url:            http://www.freedesktop.org/wiki/OpenIcc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Colour Management Frontend for KDE
License:        BSD-2-Clause
Group:          System/GUI/KDE
Version:        1.0.2
Release:        0
Source:         %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM 0001-fix_CMakeLists.patch sfalken@opensuse.org
Patch0:         0001-fix_CMakeLists.patch
Patch1:         0002-fix-header-includes-for-uint32_t-and-friends.patch

Requires:       icc-examin
Requires:       oyranos
BuildRequires:  libXcm-devel >= 0.5.3
BuildRequires:  liboyranos-devel >= 0.9.5
%if 0%{?suse_version}
BuildRequires:  libkde4-devel
BuildRequires:  libtool
%kde4_runtime_requires
%endif
%if 0%{?fedora}
BuildRequires:  gcc-c++
BuildRequires:  kdelibs-devel
BuildRequires:  libtool
BuildRequires:  libtool-ltdl-devel
%endif
%if 0%{?mandriva_version}
BuildRequires:  kdelibs4-devel
BuildRequires:  libtool-devel
%endif

%description
The systemsettings modules access cross desktop Oyranos CMS settings.
KolorServer provides X Color Management spec support.

Author(s):
  Joe Simon, Kai-Uwe Behrmann, Casian Andrei


%prep
%setup -n %{name}-%{version} -q
%patch0 -p1
%patch1 -p1

%build
  %cmake_kde4
  %make_jobs

%install
%make_install

%files
%defattr(-,root,root)
%doc README
%{_libdir}/kde4/kmdevices.so
/usr/share/kde4/services/kmdevices.desktop
%{_libdir}/kde4/kminfo.so
/usr/share/kde4/services/kminfo.desktop
%{_libdir}/kde4/kmsettings.so
/usr/share/kde4/services/kmsettings.desktop
/usr/share/kde4/services/settings-kolor-management.desktop
%{_libdir}/kde4/kded_kolorserver.so
/usr/share/kde4/services/kded/kolorserver.desktop

%changelog
openSUSE Build Service is sponsored by