Update plasma6-workspace.spec

This commit is contained in:
2026-03-12 18:09:43 +08:00
parent fe87af4c3c
commit 3b404733c8

View File

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: jingyupu <pujingyu@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
# TODO Remove when gpsd has a qt6 flavor
%global __qml_requires_opts --qtver 6
@@ -14,10 +19,11 @@
Name: plasma6-workspace
Version: 6.5.5
Release: 0
Release: %autorelease
Summary: The KDE Plasma Workspace Components
License: GPL-2.0-or-later
URL: https://www.kde.org/
#!RemoteAsset
Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
Source3: sddm.conf
@@ -237,16 +243,16 @@ Obsoletes: kde-user-manager < %{version}
%description
This package contains the basic packages for a Plasma workspace.
%package libs
%package libs
Summary: The KDE Plasma Workspace Components
Requires: libplasma >= %{_plasma6_bugfix}
Provides: plasma5-workspace-libs = %{version}
Obsoletes: plasma5-workspace-libs < %{version}
%description libs
%description libs
This package contains the basic packages for a KDE Plasma 6 workspace.
%package devel
%package devel
Summary: The KDE Plasma Workspace Components
Requires: plasma6-workspace-libs = %{version}-%{release}
Requires: cmake(KF6ItemModels) >= %{kf6_version}
@@ -259,11 +265,11 @@ Conflicts: kapptemplate <= 16.03.80
Provides: plasma5-workspace-devel = %{version}
Obsoletes: plasma5-workspace-devel < %{version}
%description devel
%description devel
This package contains the basic packages for a KDE Plasma 6 workspace.
Development files.
%package -n plasma6-session
%package -n plasma6-session
Summary: KDE Plasma 6 Session
Requires: breeze6 >= %{_plasma6_bugfix}
Requires: breeze6-decoration >= %{_plasma6_bugfix}
@@ -295,7 +301,7 @@ BuildArch: noarch
This package contains the startup scripts necessary to start a KDE
Plasma 6 session.
%package -n plasma6-session-x11
%package -n plasma6-session-x11
Summary: KDE Plasma 6 Session on X11
Requires: kwin6-x11 >= %{_plasma6_bugfix}
Requires: plasma6-session = %{version}
@@ -308,7 +314,7 @@ Requires(postun): update-alternatives
This package contains the startup scripts and programs necessary to
start a KDE Plasma 6 session on X11.
%package -n sddm-qt6-branding-openruyi
%package -n sddm-qt6-branding-openruyi
Summary: Plasma 6 branding for SDDM
Requires: plasma6-sddm-theme-openSUSE
Requires: sddm-greeter-qt6
@@ -377,8 +383,6 @@ install -Dm 0644 %{SOURCE4} %{buildroot}%{_userunitdir}/plasma-plasmashell.servi
plasma-krunner.service plasma-ksmserver.service plasma-plasmashell.service \
plasma-xembedsniproxy.service plasma-baloorunner.service plasma-restoresession.service plasma-ksplash.service}
%ldconfig_scriptlets libs
%post -n plasma6-session-x11
%{_sbindir}/update-alternatives --install %{_datadir}/xsessions/default.desktop \
default-xsession.desktop %{_datadir}/xsessions/plasma6.desktop 25
@@ -624,3 +628,4 @@ install -Dm 0644 %{SOURCE4} %{buildroot}%{_userunitdir}/plasma-plasmashell.servi
%{_prefix}/lib/sddm/sddm.conf.d/10-plasma.conf
%changelog
%{?autochangelog}