A new user interface for you!

File plymouth-kcm.spec of Package plymouth-kcm

# spec file for package plymouth-kcm
# Copyright (c) 2017 SUSE LINUX 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/

%bcond_without lang

Name:           plymouth-kcm
Version:        5.12.7
Release:        0
%define kf5_version 5.29.0
Summary:        KCM to manage the Plymouth (Boot) theme
License:        GPL-2.0+
Group:          System/GUI/KDE
Url:            http://www.kde.org
Source:         http://download.kde.org/stable/plasma/%{version}/plymouth-kcm-%{version}.tar.xz
Patch1:         0001-Adjust-debianisms.patch
BuildRequires:  extra-cmake-modules >= %kf5_version
BuildRequires:  cmake(Qt5Core) >= 5.5.0
BuildRequires:  cmake(Qt5DBus)
BuildRequires:  cmake(Qt5Gui)
BuildRequires:  cmake(Qt5Quick)
BuildRequires:  cmake(Qt5Widgets)
BuildRequires:  cmake(KF5Archive) >= %kf5_version
BuildRequires:  cmake(KF5NewStuff) >= %kf5_version
BuildRequires:  cmake(KF5NewStuffCore) >= %kf5_version
BuildRequires:  cmake(KF5KIO) >= %kf5_version
BuildRequires:  cmake(KF5KCMUtils) >= %kf5_version
BuildRequires:  cmake(KF5Declarative) >= %kf5_version
BuildRequires:  cmake(KF5Crash) >= %kf5_version
BuildRequires:  cmake(KF5I18n) >= %kf5_version
BuildRequires:  cmake(KF5Config) >= %kf5_version
BuildRequires:  cmake(KF5ConfigWidgets) >= %kf5_version
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

KCM to manage the Plymouth (Boot) theme

%if %{with lang}

%setup -q
%patch1 -p1

%cmake_kf5 -d build

%make_install -C build
%if %{with lang}
  %find_lang %{name} --with-man --all-name

%dir %{_kf5_plugindir}/kcms
%dir %{_kf5_sharedir}/kpackage
%dir %{_kf5_sharedir}/kpackage/kcms

%if %{with lang}
%files lang -f %{name}.lang