File kgamma.spec of Package kgamma.openSUSE_13.1_Update
#
# spec file for package kgamma
#
# Copyright (c) 2013 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/
#
Name: kgamma
Version: 4.11.3
Release: 0
Summary: Display gamma configuration
License: GPL-2.0+
Group: Productivity/Graphics/Other
Url: http://www.kde.org
Source0: %{name}-%{version}.tar.xz
BuildRequires: libkde4-devel
BuildRequires: libqt4-devel
BuildRequires: oxygen-icon-theme-large
BuildRequires: xz
Provides: kde4-kgamma = 4.3.0
Obsoletes: kde4-kgamma < 4.3.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
This package contains a KDE system settings module to configure display
gamma.
%prep
%setup -q -n %{name}-%{version}
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%kde4_makeinstall
%kde_post_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%_kde4_modulesdir/kcm_kgamma.so
%_kde4_servicesdir/kgamma.desktop
%_kde4_appsdir/kgamma/
%_kde4_bindir/xf86gammacfg
%_kde4_htmldir/en/kcontrol/
%changelog