Plasma 6 RC 2. Still untested...

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/libksysguard6?expand=0&rev=1
This commit is contained in:
Luca Beltrame 2024-02-07 18:01:35 +00:00 committed by Git OBS Bridge
commit 720f04ff14
8 changed files with 300 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f3120fb53128877ff32fe6a11d7d8077c023faac024371b09f5faa1d08bf1369
size 892876

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmW6RoIACgkQ11dEg7tX
sY3FUxAAocMX7Mx/San4ZRHxGcnD+4RoB6enh/2rGmFHrAzAgeUBZH1wlhYqfP+q
3ffNbq4QkaRYYPkIZ3tUxE2z+QZ6HeL1ehyQjncXr1BhtWyYDnTKmYiCLmsprZIs
j3U6bTLOMjXzZjTjG6wZhUJfhETc1EB0wR2l+3DZs00kjVwNPiwjqicD+1k/ML5U
yglYqkxky1GKr7Zqo1d8tYfo7j2AIukqlIua8554fpULb5B0ZiQ+oaOxYy9YDQrP
6yc4djKSXxWQOa/7yHMXXKb1ue0QNB9ndp0faQ6Oq47QYCCpHJwVyj1+jb6ZizDt
hrfcKT49RmLxAXkuQIdoRWBhYKofWGnjxiKZ7uuLGb6JimlHMvxkoJFqUlAhKgk1
+dejbLQLYJFLYH6CHg84hKPT68lMJOwdduRhvZm15QckhSQaKj4TK/zmOQrQeCJ2
lNSXzIMTxIood0CW3b5X5OpLJbcKS9gwdcPlyhZrlWrJQfMPi5Bks9NcgjCwnhQb
tuIgrc4JfzjAXfxcKzI3Ydj0HquLO82zzv85+IrCaTR9X9+wekq2sDovbv+faqRP
hcrFOY5nmJb08+DHekUpTgx02L9QOF4+w7TlepbGchYWWzVq4G5qylZr49qXlHCw
js7gdhku9+AT96+yQaWXA89oxAnkw2cQNn7vSiIqScEpCgSwdr0=
=8mxU
-----END PGP SIGNATURE-----

15
libksysguard6-rpmlintrc Normal file
View File

@ -0,0 +1,15 @@
# Ideally this package gets split into multiple library subpackages.
# However, there is no SONAME change expected until Plasma 6, at which point
# it will not be coinstallable with the Plasma 5 package anyway.
# Also, it's only used by Plasma itself (and KDevelop), so the benefit of
# allowing co-installation of different soversions is not that clear.
# So just keep the status quo until the new version comes around.
addFilter("shlib-policy-name-error SONAME: libKSysGuardFormatter.so.2");
addFilter("shlib-policy-name-error SONAME: libKSysGuardSensorFaces.so.2");
addFilter("shlib-policy-name-error SONAME: libKSysGuardSensors.so.2");
# "Old" libs have synced soversion
addFilter("shlib-policy-name-error SONAME: libksgrd.so.10");
addFilter("shlib-policy-name-error SONAME: libksignalplotter.so.10");
addFilter("shlib-policy-name-error SONAME: liblsofui.so.10");
addFilter("shlib-policy-name-error SONAME: libprocesscore.so.10");
addFilter("shlib-policy-name-error SONAME: libprocessui.so.10");

19
libksysguard6.changes Normal file
View File

@ -0,0 +1,19 @@
-------------------------------------------------------------------
Wed Jan 31 17:37:22 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.93.0 (6.0 RC 2):
* New bugfix release
* See https://kde.org/announcements/megarelease/6/rc2/ for details
- No code changes since 5.92.0
-------------------------------------------------------------------
Mon Jan 15 21:09:03 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.92.0 (6.0 RC 1)
* For more details please see:
https://kde.org/announcements/megarelease/6/rc1/
-------------------------------------------------------------------
Fri Jun 2 11:40:36 UTC 2023 - Christophe Marin <christophe@krop.fr>
- Init libksysguard6

223
libksysguard6.spec Normal file
View File

@ -0,0 +1,223 @@
#
# spec file for package libksysguard6
#
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define kf6_version 5.240.0
%define qt6_version 6.4.0
%define rname libksysguard
%bcond_without released
# Full Plasma 5 version (e.g. 5.8.95)
%{!?_plasma6_bugfix: %define _plasma6_bugfix %{version}}
# Latest ABI-stable Plasma (e.g. 5.8 in KF6, but 5.8.95 in KUF)
%{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')}
Name: libksysguard6
Version: 5.93.0
Release: 0
Summary: Task management and system monitoring library
License: GPL-2.0-or-later
URL: https://www.kde.org
Source: https://download.kde.org/unstable/plasma/%{version}/%{rname}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/unstable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
Source2: plasma.keyring
%endif
Source3: libksysguard6-rpmlintrc
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: libsensors4-devel
BuildRequires: pkgconfig
BuildRequires: qt6-gui-private-devel >= %{qt6_version}
BuildRequires: cmake(KF6Auth) >= %{kf6_version}
BuildRequires: cmake(KF6Completion) >= %{kf6_version}
BuildRequires: cmake(KF6Config) >= %{kf6_version}
BuildRequires: cmake(KF6ConfigWidgets) >= %{kf6_version}
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
BuildRequires: cmake(KF6GlobalAccel) >= %{kf6_version}
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF6IconThemes) >= %{kf6_version}
BuildRequires: cmake(KF6JobWidgets) >= %{kf6_version}
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF6NewStuff) >= %{kf6_version}
BuildRequires: cmake(KF6Package) >= %{kf6_version}
BuildRequires: cmake(KF6Service) >= %{kf6_version}
BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version}
BuildRequires: cmake(KF6WindowSystem) >= %{kf6_version}
BuildRequires: cmake(Qt6Core5Compat) >= %{qt6_version}
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
BuildRequires: cmake(Qt6Network) >= %{qt6_version}
BuildRequires: cmake(Qt6Qml) >= %{qt6_version}
BuildRequires: cmake(Qt6Quick) >= %{qt6_version}
BuildRequires: cmake(Qt6UiPlugin) >= %{qt6_version}
%ifarch aarch64 x86_64 riscv64
BuildRequires: cmake(Qt6WebChannel) >= %{qt6_version}
BuildRequires: cmake(Qt6WebEngineWidgets) >= %{qt6_version}
%endif
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
BuildRequires: pkgconfig(libnl-3.0)
BuildRequires: pkgconfig(libpcap)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xres)
BuildRequires: pkgconfig(zlib)
# Has no effect, we use set_permissions
# BuildRequires: libcap-progs
Recommends: libksysguard6-imports
Recommends: libksysguard6-plugins
Conflicts: libksysguard5
%description
Task management and system monitoring library.
%package -n libKSysGuardSystemStats2
Summary: Library for system monitoring plugins for KSystemStats
Requires: ksysguardsystemstats6-data >= %{version}
%description -n libKSysGuardSystemStats2
This library is used by plugins for KSystemStats, a system monitoring daemon.
%package -n ksysguardsystemstats6-data
Summary: Data needed by libKSysGuardSystemStats
Conflicts: ksysguardsystemstats-data
%description -n ksysguardsystemstats6-data
Contains the unversioned D-Bus interface definition for KSystemStats plugins.
%package plugins
Summary: Task management and system monitoring library -- plugins
Requires: libksysguard6 = %{version}
# For post and verifyscript
Requires(post): permissions
Requires(verify): permissions
Conflicts: kdebase4-workspace < 5.3.0
Conflicts: ksysguard5 < 5.21.80
Conflicts: libksysguard5-plugins
%description plugins
Task management and system monitoring library. This package contains plugins.
%package imports
Summary: Task management and system monitoring library -- QML bindings
Requires: libksysguard6 = %{version}
%description imports
This package provides QtQuick bindings for libksysguard, allowing its use in
QML applications.
%package devel
Summary: Task management and system monitoring library -- devel files
Requires: libksysguard6 >= %{version}
Requires: libKSysGuardSystemStats2 >= %{version}
Requires: cmake(KF6Config) >= %{kf6_version}
Requires: cmake(KF6I18n) >= %{kf6_version}
Requires: cmake(KF6IconThemes) >= %{kf6_version}
Requires: cmake(Qt6Core) >= %{qt6_version}
Requires: cmake(Qt6Network) >= %{qt6_version}
Requires: cmake(Qt6Widgets) >= %{qt6_version}
Conflicts: libksysguard5-devel
%description devel
Task management and system monitoring library. This package contains development
files.
%lang_package
%prep
%autosetup -p1 -n %{rname}-%{version}
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
%find_lang %{name} --all-name
%post plugins
%set_permissions %{_libexecdir}/ksysguard/ksgrd_network_helper
%verifyscript plugins
%verify_permissions -e %{_libexecdir}/ksysguard/ksgrd_network_helper
%ldconfig_scriptlets
%ldconfig_scriptlets -n libKSysGuardSystemStats2
%files
# TODO? split libraries and drop the -rpmlintrc file
%license LICENSES/*
%{_kf6_debugdir}/libksysguard.categories
%{_kf6_knsrcfilesdir}/systemmonitor-faces.knsrc
%{_kf6_knsrcfilesdir}/systemmonitor-presets.knsrc
%{_kf6_libdir}/libKSysGuardFormatter.so.*
%{_kf6_libdir}/libKSysGuardSensorFaces.so.*
%{_kf6_libdir}/libKSysGuardSensors.so.*
%{_kf6_libdir}/libksgrd.so.*
%{_kf6_libdir}/libksignalplotter.so.*
%{_kf6_libdir}/liblsofui.so.*
%{_kf6_libdir}/libprocesscore.so.*
%{_kf6_libdir}/libprocessui.so.*
%dir %{_kf6_plugindir}/kf6/packagestructure/
%{_kf6_plugindir}/kf6/packagestructure/ksysguard_sensorface.so
%{_kf6_sharedir}/ksysguard/
%files -n libKSysGuardSystemStats2
%license LICENSES/*
%{_kf6_libdir}/libKSysGuardSystemStats.so.*
%files -n ksysguardsystemstats6-data
%{_kf6_sharedir}/dbus-1/interfaces/org.kde.ksystemstats1.xml
%files plugins
%{_kf6_dbuspolicydir}/org.kde.ksysguard.processlisthelper.conf
%dir %{_kf6_plugindir}/ksysguard/
%dir %{_kf6_plugindir}/ksysguard/process
%{_kf6_plugindir}/ksysguard/process/ksysguard_plugin_network.so
%{_kf6_plugindir}/ksysguard/process/ksysguard_plugin_nvidia.so
%{_kf6_sharedir}/dbus-1/system-services/org.kde.ksysguard.processlisthelper.service
%{_kf6_sharedir}/polkit-1/actions/org.kde.ksysguard.processlisthelper.policy
%{_kf6_libexecdir}/kauth/ksysguardprocesslist_helper
%dir %{_libexecdir}/ksysguard/
%{_libexecdir}/ksysguard/ksgrd_network_helper
%files imports
%dir %{_kf6_qmldir}/org/kde/ksysguard
%{_kf6_qmldir}/org/kde/ksysguard/faces/
%{_kf6_qmldir}/org/kde/ksysguard/formatter/
%{_kf6_qmldir}/org/kde/ksysguard/process/
%{_kf6_qmldir}/org/kde/ksysguard/sensors/
%files devel
%{_includedir}/ksysguard/
%{_kf6_cmakedir}/KSysGuard/
%{_kf6_libdir}/libKSysGuardFormatter.so
%{_kf6_libdir}/libKSysGuardSensorFaces.so
%{_kf6_libdir}/libKSysGuardSensors.so
%{_kf6_libdir}/libKSysGuardSystemStats.so
%{_kf6_libdir}/libksgrd.so
%{_kf6_libdir}/libksignalplotter.so
%{_kf6_libdir}/liblsofui.so
%{_kf6_libdir}/libprocesscore.so
%{_kf6_libdir}/libprocessui.so
%{_kf6_plugindir}/designer/ksignalplotter5widgets.so
%{_kf6_plugindir}/designer/ksysguard5widgets.so
%{_kf6_plugindir}/designer/ksysguardlsof5widgets.so
%files lang -f %{name}.lang
%changelog

BIN
plasma.keyring Normal file

Binary file not shown.