2014-09-29 22:59:02 +00:00
|
|
|
#
|
|
|
|
# spec file for package kcm_sddm
|
|
|
|
#
|
2020-02-25 18:29:58 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2014-09-29 22:59:02 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-10-16 19:53:07 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-09-29 22:59:02 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-04-10 18:16:04 +00:00
|
|
|
%bcond_without lang
|
2014-09-29 22:59:02 +00:00
|
|
|
Name: kcm_sddm
|
2020-06-07 18:00:57 +00:00
|
|
|
Version: 5.19.0
|
2017-12-29 13:20:21 +00:00
|
|
|
Release: 0
|
2014-09-29 22:59:02 +00:00
|
|
|
Summary: A sddm control module for KDE
|
2018-06-19 21:42:08 +00:00
|
|
|
License: GPL-2.0-only
|
2014-09-29 22:59:02 +00:00
|
|
|
Group: System/GUI/KDE
|
2020-02-25 18:29:58 +00:00
|
|
|
URL: https://projects.kde.org/projects/kdereview/sddm-kcm/repository
|
2020-06-07 18:00:57 +00:00
|
|
|
Source: sddm-kcm-%{version}.tar.xz
|
2018-09-19 04:47:24 +00:00
|
|
|
%if %{with lang}
|
2020-06-07 18:00:57 +00:00
|
|
|
Source1: sddm-kcm-%{version}.tar.xz.sig
|
2018-09-19 04:47:24 +00:00
|
|
|
Source2: plasma.keyring
|
|
|
|
%endif
|
2018-09-15 12:29:39 +00:00
|
|
|
# PATCH-FIX-OPENSUSE
|
2019-09-20 11:01:13 +00:00
|
|
|
Patch1: 0001-Support-default.session-symlink.patch
|
|
|
|
Patch2: 0002-Replace-autologin-configuration-with-a-note-to-use-Y.patch
|
|
|
|
Patch3: 0003-Don-t-add-a-Wayland-suffix-to-Wayland-sessions.patch
|
|
|
|
BuildRequires: extra-cmake-modules
|
2014-09-29 22:59:02 +00:00
|
|
|
BuildRequires: kf5-filesystem
|
2017-12-29 13:20:21 +00:00
|
|
|
BuildRequires: pkgconfig
|
2017-01-13 16:36:52 +00:00
|
|
|
BuildRequires: cmake(KF5Archive)
|
2015-11-29 02:47:34 +00:00
|
|
|
BuildRequires: cmake(KF5Auth)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
2017-01-13 16:36:52 +00:00
|
|
|
BuildRequires: cmake(KF5NewStuff)
|
2015-11-29 02:47:34 +00:00
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
2019-09-20 11:01:13 +00:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.12.0
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Quick)
|
|
|
|
BuildRequires: cmake(Qt5QuickWidgets)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2015-04-27 23:55:17 +00:00
|
|
|
Supplements: packageand(sddm:plasma5-workspace)
|
2017-12-29 13:20:21 +00:00
|
|
|
Recommends: %{name}-lang
|
2014-09-29 22:59:02 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
SDDM control module for KDE. It provides a graphical frontend for the
|
|
|
|
sddm.
|
|
|
|
|
2015-01-09 18:46:02 +00:00
|
|
|
%lang_package
|
2017-12-29 13:20:21 +00:00
|
|
|
|
2014-09-29 22:59:02 +00:00
|
|
|
%prep
|
2019-09-20 11:01:13 +00:00
|
|
|
%autosetup -p1 -n sddm-kcm-%{version}
|
2014-09-29 22:59:02 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
2020-02-08 00:13:11 +00:00
|
|
|
%cmake_build
|
2014-09-29 22:59:02 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
2015-04-11 18:56:22 +00:00
|
|
|
%if %{with lang}
|
2015-01-09 18:46:02 +00:00
|
|
|
%find_lang %{name} %{name}.lang
|
2015-04-11 18:56:22 +00:00
|
|
|
%endif
|
2015-01-09 18:46:02 +00:00
|
|
|
|
2015-04-11 18:56:22 +00:00
|
|
|
%if %{with lang}
|
2015-01-09 18:46:02 +00:00
|
|
|
%files lang -f %{name}.lang
|
2015-04-11 18:56:22 +00:00
|
|
|
%endif
|
2014-09-29 22:59:02 +00:00
|
|
|
|
|
|
|
%files
|
2020-01-17 13:03:34 +00:00
|
|
|
%doc README.md
|
2018-05-21 09:07:08 +00:00
|
|
|
%license COPYING
|
2019-06-06 21:10:49 +00:00
|
|
|
%{_kf5_knsrcfilesdir}/sddmtheme.knsrc
|
2017-01-13 16:36:52 +00:00
|
|
|
%{_bindir}/sddmthemeinstaller
|
2014-09-29 22:59:02 +00:00
|
|
|
%{_kf5_servicesdir}/
|
|
|
|
%{_kf5_sharedir}/polkit-1/actions/org.kde.kcontrol.kcmsddm.policy
|
2019-06-14 07:49:47 +00:00
|
|
|
%{_kf5_dbuspolicydir}/org.kde.kcontrol.kcmsddm.conf
|
2014-09-29 22:59:02 +00:00
|
|
|
%{_kf5_sharedir}/dbus-1/system-services/org.kde.kcontrol.kcmsddm.service
|
|
|
|
%{_kf5_libdir}/libexec/
|
|
|
|
%{_kf5_plugindir}/
|
|
|
|
%{_kf5_sharedir}/sddm-kcm/
|
|
|
|
|
|
|
|
%changelog
|