Christophe Marin 2024-10-23 07:42:50 +00:00 committed by Git OBS Bridge
commit 42485227c3
18 changed files with 575 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:6ae86313aa63d33d5fbe7f8b914802ce6c6ef75dee8c009fe1ae4d5f5b5bffa4
size 305236

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmaWVMcACgkQ11dEg7tX
sY1HpA//W+bRlX6FtEb8AO5AZYJfG4hwsZxV3sp/8s3rqMGTv6ZvyRMn4+JBvzGy
ofi4nkOV0cskKV+4ZyfLgiAs++HaGXnOU9gb+lNZQw7oyaYInyA5wkJqDC8ZUUIX
uTdY6xpd1HbQu6G2M/tN9nr07eRjYRP7Myf+8mvjXWRMQephx9Sem/G+omWFQGwE
a04TkbzkUO0npaQ9xc8euKGY2eBWDt2hTqfpCIMecGq7Ti+4AUboL75TMDSIcJAL
NQG8tebnGLMWZXxT3OOQbtmPvVyWQ4zFDIJ53mZ3YjaCgIGV9sfHYzTuUmXtvDHK
9k2Nnuyu91I+vs/J8mXWC1nqKaMUtezt7+3sFnkCzR5MZijm3CcBoDqQzYw6eyRW
XlKf/TLPzMi2N7rYAFJTiAY3ZXqS1o1PfIUQxP2X6hARkqcwRMpYpQfneZXLTU5M
wEyzgRePCHPlAksFm+c4zEVMlq/jVJIHwl1gecTrb+sjPhBT9LCgmiS2KJ7RZ12l
b4Mm7CNrearWuX4R7+QKN0wEpu7X+VHlbfveSbQ6LQzlaXJQItEZ3L5KtJ5/6QnP
7wEdXgiJyxCCckDgr+4lISnv3RmEuv/hIQEJK2ux3RlkXsEhnnHUYHB+J2MR3Rqi
AKkF9QMRTARYil0Gz8sIcOBekA1EuvHUEbdr6uIa8eZHSQRspTc=
=IPXt
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmayGEcACgkQ11dEg7tX
sY0M1w/+Lbuq+OrmLkiuVRWZWy1kPRs7gNp5sVp5SJuAoE4vqf32BhbMwzFSI2b7
Q9qDlXSnx1Zu1dYmsWjdMDHgr5gM8tj1quYcsslbW5heyk4gTANzAtE1174Hld+W
rP94VQZzzgO84HLQs/xqGWRg9W7j3WTAQhwJbmMyksmS05yN0O+89XINAoISwmRy
gcv+u1J3lvJcQJWn3bptViRWNr8Lfeqs9Qm56db2iJ3QIgcrHs6Qv/mAb7q7+Tn4
ws+22NqNQZCgaFpuyUJDMX5C2Fh+qUha87UXEHIx5ymnLNqYGk9tKMPWfpFHY3wn
bMxbOWiF5/KNAiKpuixKb2lWjP1ZQJqwdRTjqkVbMEZYy7jbyuuFWjI8naunLXSy
kP8uv+v0hY30KZfEGdyzpXIFZoh8YprVF5ncpn705GGtrefrO10JfT1jek//7kpP
7OZoQkkO74tcBgGtehkBQQoKJDyhaUBKlWmIQ4SDro3HEdhmC6NaXlsDCXhpjxFM
2QSSgNlP+rAqJnf64JSML/WKd+K0GgdlS4a71zhd6KxaAF959VbidglzbxJhhhDt
sffAcx8ts2nRPty2em5ETouwHexI2tS+fuLrMJYXk4KdMbeoUuoAnrbVsyz69e9Q
pNnD82ngn1q2okSs93HLx2PHkdn8UE5Uzh9es6/pAK7M7iJFmJQ=
=vLsY
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmbgCHkACgkQ11dEg7tX
sY1EcQ//ergVcfHz+o6nRcHovWHG4CPczBtdd5kHI1iMV5MRzIGOboLWvE21YE8b
mS/jysv+az9j4uSeHjDKAlFmh/exoNFBkrA9WfPJ0zZWZM24S4K/iBPNPTTDrReI
FawJtQZc+bR89vf8/6ugLSVi/13e75jbRWk2wq8KTaSMOzNAiWr4ZSjYSpNHsBYz
q4mScqaPRElaU0tbdkf9+Uj+zXGt9sUtUSnHnnn6qURFJlqCAc6ueGtaeCCB8OwT
xz9txtz6Vomkk3ZapsTvHPjGDka89mEY8dqNajZzl7cSvy7O3uM+P3mUXW00FaSx
tZn9ttigLFLQhyfLWFqeQe2Rhvws9+mAPAAS5on6TfU+x5O1+f5u5s0Owt3zYUzo
0rA/kGy4NkZGSl3BrD2utTlNSrOnW1JRHRs2RUZzTz6hIvNBJwte++7xEXxGVkg4
nX0ax3lOfTeKrw9SJKA9R/8YPsw45KHC0w3Gt9oyoWGDfJAfpjcX9FLeWOJwtMeJ
eGoldifglGxX0IkPCt/6iF4ATEhjjfmGIj3UFLNXsGn0p2A2CymQx/fvGra3b4tS
j9tdo8xhOZyv/iE//vj7QmTVHWfenbzyRMU6u1pi0m4VVIg0dI48s4CrOHCF41gi
ikii32YVZg7+NYurhZHnt1CRcjRXwgLcCpwwgCwlaNH97ByNwOE=
=L+RF
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmb+kBIACgkQ11dEg7tX
sY2m5A//YYv8gVtdSA9AsZNceqKF2riZS0ofkXq/9go1Fa5NKo4al8ey9ZaqpSNW
IwBi46DkpXwRRNciJPL+ayDpQnpdRYqn42VFStxNaaEaTq1HDPWdcv6f4yvvBCNq
FYnICnh2T1o4u1VDdb7adjrIIoiA5Fkn/u1b5QqfRnqwDZNbNYiokEPF5nqFnhbU
Rv4/JOgtBSfoz95xk1/A8Nij9VpDYxek//uBEwTLvUrUS48Ubg5uga3QLuwyz/O8
67YHeyTJBnaQ95EMdkRHg9hezTWm5ALMB/esGj+SZ1OF1kPLSzV9Z3LePTrxe5J8
buKChGhSLJDft+mLlo9cLL/ADNLgMZCeXHdf7PvRvBwxlEso6N1KFvbtKKW2B9hx
cjsKfOkqHbrqkFqcjH1+KnKQpTOQJy2H+NQ5aACoASUYDtL4+4ZUZj26D/Bgjajm
LfXuzDGSw3jw27YX9+SRqp2J30mj2R/ofq9He8AAyouuDQ5t5P1mN+nYucaMFCpz
fjGbWvYclBL9g7gfFjb/6DLJhfrz9eV0X7ukqSfHmahzUvZAq7Z6btE2beafeOWb
ojbcM9z0T+rYK3kH+b3+7yhjQSjNYSu+ftkgtqThS5chPsbfgNs0M5Ya+nCLCYmK
1mcnxVCxFoKEoYGP/c15WrcVl06Lro0hgDPzAqDQGHqxp8p5HEQ=
=NOAK
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIyBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmcOaqoACgkQ11dEg7tX
sY07cA/480B4ooCy17Ya7bX32MLv27H6BoAjcH0HFBR4hRT9nGjeusAYrr0v5q9G
cYUvMLEKa2aI+Y+BoumLoUig/0RNVpdGkNXhGTAuYJAZMFH1SvHnUtAux/l76tHS
oejlr4VluaW6qc233BAXqp7JJy3QHOHkPpLh2HmfQMTpF0JxtQGWY21Omz5tS3md
Eukc7d3FHPw3C4ynfZ3eNlXtWEZVDsdjfUdWVWTSVOCqhIwlCOSzyJMGUF+EppvX
uWP+Lkp4pV4EJi6aFK5VrPxfutMS3jahzRWDyNFEdnYut7ysNI0KCVRrpjp4BNvs
VPSUD5uMpmq5Pnx/WKkPJZTQfNC3j6tvCO17nuNfuDxjjlMajgHYoN1HQDDmIGQ3
uamCtyHMKvD2/2LCVGsu3c+wb8Jweq6KjsfeG5uEVJV30vcQ7XaHQN6YMo8VJWNo
Puhfdj3MxmANVhSQGdU/hnPc0AmVW6ZNLd56v23TbnoGJEaIAELSh9DfRCbVUkuD
AtwFJkAqTJzThLhfIQUBAwuXRGtWx5l2rOKDuac/f4bUxE7HIS0HZhshNEZF88vd
JWpq2AH7YYz0yFZ+YroQrjYfULjzO4em6y4OT+Kpsi7nBXCibFmwUGdihZi7/RLp
Uul+Tj7wEwVZLc7s0ggzCQUpNz/h+DKi/1DnMs0L87TA/B8BSg==
=iKOv
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmcXoPkACgkQ11dEg7tX
sY2UQA/+IvWGunovnqFjVPZATI6F5WH6Hckulmb/+D6Ja+NN/25BCgsbCPVefqif
Xg1iBGj2x9ctiFAGQGUAjqZhX4rswtUbpMZHA5aDACtecM3KKxQOF54zpfGu3VVG
p7Ai5bcHTmBtyq7ZfP01xYmyhUEQ4g6rWQT4T7Zz4mZ5IMwgZ+fIvGVrgALkWst8
0YMfwXDez9BJBhLzYZ3cXOkZ/5c9gRUNmq8wkAGRX0lGNm5Hjc8d2TfzjfifzlgZ
sYnHiAWhdOkgN/d9LvKilTOVO7yc7hxiFFCUdezD46SHeeu037nYc8X61KJMSAME
ctoTkV3YU32v3s9HW7VECS85Oq3xwfjZxhYOc/AjFOHN8t6V0He77eE6/ldcmB5Y
263JIRyBReamHk6gmt8HVNDC32XIa52uQMnHnD8dj/zYz+fZgOLOWHXLBPO10bcr
S9l9IxnuqmNEq7fa3cS7pfldiHrF4J7fjA5Ga1P1GA1qWleRf0nYeupeNr0ZXai6
u+g6dW+NaC+hl1+1sgU2qvi1/N6yPBDTldnSlZ5azmrIUPevLZtNyTYR+EGqkeQi
ZfVTx5nP2IuuWPgyhlxgVsKot9UeGPti048Y/+EwxY227Ii8dIPSqsY8MISlf37s
PRAS5nCqdW7/zhcmjQ7hdgwaAiVYcVBkAJC/2aAgjVxAaeMWWyE=
=8Cwa
-----END PGP SIGNATURE-----

7
libksysguard6-rpmlintrc Normal file
View File

@ -0,0 +1,7 @@
# Ideally this package gets split into multiple library subpackages,
# but they all depend on each other and it's only used by Plasma itself
# which doesn't allow coinstallation of multiple versions anyway.
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");
addFilter("shlib-policy-name-error SONAME: libprocesscore.so.10");

214
libksysguard6.changes Normal file
View File

@ -0,0 +1,214 @@
-------------------------------------------------------------------
Tue Oct 22 14:07:43 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.2
- Changes since 6.2.1:
* update version for new release
-------------------------------------------------------------------
Tue Oct 15 16:53:31 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.1
- Changes since 6.2.0:
* update version for new release
-------------------------------------------------------------------
Sat Oct 5 10:44:23 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.0
- Changes since 6.1.90:
* update version for new release
* Revert "processes_linux_p: ensure to have a single smaps read runnable"
* faces/colorgrid: Replace grid implementation with the one from FaceGrid
* faces: Ensure all compact reps always have at least some size (kde#492975)
-------------------------------------------------------------------
Tue Sep 17 14:53:44 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.1.90
- Too many changes to list here
-------------------------------------------------------------------
Tue Sep 10 14:54:10 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.5
- Changes since 6.1.4:
* update version for new release
-------------------------------------------------------------------
Tue Aug 6 13:27:22 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.4:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.4
- Changes since 6.1.3:
* update version for new release
-------------------------------------------------------------------
Tue Jul 16 13:24:08 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.3
- Changes since 6.1.2:
* update version for new release
-------------------------------------------------------------------
Tue Jul 2 17:34:16 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.2
- Changes since 6.1.1:
* update version for new release
-------------------------------------------------------------------
Tue Jun 25 17:13:39 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.1
- Changes since 6.1.0:
* update version for new release
-------------------------------------------------------------------
Thu Jun 13 10:58:36 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.0
- Changes since 6.0.90:
* faces/pie: Ensure text doesn't overflow the face (kde#453797)
* update version for new release
* processcore: Properly check if process exists before dereferencing (kde#445700)
* faces/textonly: Change compact rep to be smaller and non interactive
* faces/hbars: Tweak compact rep sizing to be more consitent and useful
* faces/grid: Reduce margins in compact mode
* faces/bar: Tweak compact sizing to ensure sensible consistent min size
* faces: Port most compact representations to CompactSensorFace
* faces/bars: Remove spacing on top and bottom of compact rep
* faces/pie: Remove maximumHeight restriction from Pie chart in full rep (kde#486993)
* faces: Introduce CompactSensorFace as base class for face compact rep
* systemstats: Warn when overwriting a property in SensorObject
* systemstats: Warn when trying to add an existing object to SensorContainer (kde#485025)
-------------------------------------------------------------------
Sat May 25 11:18:49 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.0.90
- Too many changes to list here
-------------------------------------------------------------------
Wed May 22 07:43:08 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.5
- Changes since 6.0.4:
* update version for new release
* SensorFaceController: Create QQmlEngine for configs at class initialization
* SensorFaceController: use a separate QQmlEngine in createConfigUi (kde#483689)
* Fix linecharts and bar charts for small sizes (kde#483529)
-------------------------------------------------------------------
Wed Apr 17 08:12:52 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.4:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.4
- Changes since 6.0.3:
* update version for new release
-------------------------------------------------------------------
Tue Mar 26 18:05:55 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.3
- Changes since 6.0.2:
* update version for new release
* colorgrid: Use the same background color as pie/bar charts (kde#482664)
* faces/piechart: Explicitly set the thickness of the chart
* faces/piechart: Don't hardcode background color but base it on theme
* faces/horizontalbars: Repair compact representation (kde#481949)
* faces/horizontalbars: Use a fixed background rather than relying on style (kde#480415)
-------------------------------------------------------------------
Fri Mar 22 10:01:28 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Drop meanwhile unnecessary BuildRequires on WebEngine and WebChannel
-------------------------------------------------------------------
Wed Mar 13 09:09:55 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.2
- Changes since 6.0.1:
* update version for new release
- Add Provides/Obsoletes for libksysguard5-helper (boo#1221350)
-------------------------------------------------------------------
Wed Mar 6 08:40:29 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.1
- Changes since 6.0.0:
* update version for new release
* Handle the translations for systemstats
-------------------------------------------------------------------
Mon Mar 4 18:52:13 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Add Provides/Obsoletes to replace Plasma 5
-------------------------------------------------------------------
Wed Feb 21 18:36:17 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.0:
* New bugfix release
* Release announcement not available yet
- Changes since 5.93.0:
* Drop all widgets related code
* faces: Match BadgeOverlay's minimum font size for Pie Chart label minimum size
* faces: Fix alignment of value in small Pie Chart face
* faces: Do not try to assign undefined for updateInterval in LineChart
* faces: Use a correct column span in FaceGrid if there are no sensors
* faces: Fix implicit/minimum size of FaceGrid faces
* faces: Fix FaceGrid config page
* faces: Fix Choices delegate size and other porting bugs
* faces/horizontalbars: Allow specifying the data range from config (kde#479573)
* update version for new release
-------------------------------------------------------------------
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

216
libksysguard6.spec Normal file
View File

@ -0,0 +1,216 @@
#
# spec file for package libksysguard6
#
# Copyright (c) 2024 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 6.5.0
%define qt6_version 6.7.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: 6.2.2
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/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/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}
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
Provides: libksysguard5 = %{version}
Obsoletes: libksysguard5 < %{version}
Obsoletes: libksysguard5-lang < %{version}
%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
Provides: ksysguardsystemstats-data = %{version}
Obsoletes: ksysguardsystemstats-data < %{version}
%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
Provides: libksysguard5-plugins = %{version}
Obsoletes: libksysguard5-plugins < %{version}
Provides: libksysguard5-helper = %{version}
Obsoletes: libksysguard5-helper < %{version}
%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}
Obsoletes: libksysguard5-imports < %{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: libKSysGuardSystemStats2 >= %{version}
Requires: libksysguard6 >= %{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}
Provides: libksysguard5-devel = %{version}
Obsoletes: libksysguard5-devel < %{version}
%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}/libprocesscore.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}/libprocesscore.so
%files lang -f %{name}.lang
%changelog

BIN
plasma.keyring Normal file

Binary file not shown.