File kscreen.spec of Package kscreen

# spec file for package kscreen
# 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

Name:           kscreen
Release:        0
Summary:        KDE's screen management software
License:        GPL-2.0+
Group:          System/GUI/KDE
Source1:        krandrstartup
BuildRequires:  fdupes
BuildRequires:  libkde4-devel >= 4.7.0
#BuildRequires:  libkscreen-devel >= %{version}
# Bring back >= %{version} on 1.0.3/1.1
BuildRequires:  libkscreen-devel >= 1.0.2
BuildRequires:  libqjson-devel >= 0.8.1
Obsoletes:      krandr
Requires:       libkscreen
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

The new KDE screen management software

%setup -q

  %cmake_kde4 -d build

  pushd build

  install -m 0755 %{SOURCE1} %{buildroot}%{_kde4_bindir}/

  %fdupes -s %{buildroot}

  %find_lang %{name} %{name}.lang
  %find_lang kcm_displayconfiguration %{name}.lang
  %find_lang plasma_applet_org.kde.plasma.%{name} %{name}.lang

%files lang -f %{name}.lang

%dir %{_kde4_appsdir}/plasma/packages

openSUSE Build Service is sponsored by