File kolor-manager.spec of Package kolor-manager
#
# spec file for package kolor-manager
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 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
BuildRequires: liboyranos-alpha-devel
%if 0%{?suse_version}
BuildRequires: libkde4-devel
BuildRequires: libtool
%endif
%if 0%{?fedora}
BuildRequires: gcc-c++
BuildRequires: kdelibs-devel
BuildRequires: libtool
BuildRequires: ltdl-devel
%endif
%if 0%{?mandriva_version}
BuildRequires: kdelibs4-devel
BuildRequires: libtool-devel
%endif
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: 691cd53c
Release: 0
Source: %{name}-%{version}.tar.bz2
Patch0: kolor-manager-gcc47.patch
%kde4_runtime_requires
Requires: oyranos
%description
The systemsettings modules access cross desktop Oyranos CMS settings.
Author(s):
Joe Simon, Kai-Uwe Behrmann <ku.b at gmx.de>
%prep
%setup -n %{name}-%{version} -q
%patch0 -p1
%build
%cmake_kde4 -d build
%make_jobs
%install
%kde4_makeinstall -C build
%kde_post_install
%files
%defattr(-,root,root)
%doc README
%{_kde4_modulesdir}/kmdevices.so
%{_kde4_servicesdir}/kmdevices.desktop
%{_kde4_modulesdir}/kminfo.so
%{_kde4_servicesdir}/kminfo.desktop
%{_kde4_modulesdir}/kmsettings.so
%{_kde4_servicesdir}/kmsettings.desktop
%{_kde4_servicesdir}/settings-kolor-management.desktop
%changelog