File plasmoid-redshift-control.spec of Package plasmoid-redshift-control

# spec file for package plasmoid-redshift-control
# Copyright (c) 2018 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:           plasmoid-redshift-control
Version:        1.0.18
Release:        0
Summary:        Plasma 5 applet for controlling redshift
License:        GPL-2.0
Group:          System/GUI/KDE
Source:         plasma-applet-redshift-control-%{version}.tar.gz
BuildRequires:  fdupes
BuildRequires:	plasma5-workspace-devel
BuildRequires:	plasma-framework-devel
Requires:       redshift
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Plasma 5 applet for controlling redshift (screen temperature modifying). It allowes basic redshift settings and fast manual temperature control by mouse wheel.

%setup -q -n plasma-applet-redshift-control-%{version}

%cmake_kf5 -d build

%kf5_makeinstall -C build
%fdupes -s %{buildroot}
%find_lang plasma_applet_org.kde.redshiftControl %{name}.lang

%files -f %{name}.lang