2014-05-10 22:18:52 +00:00
|
|
|
#
|
|
|
|
# spec file for package libksysguard5
|
|
|
|
#
|
2021-01-06 08:40:38 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2014-05-10 22:18:52 +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:20 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-05-10 22:18:52 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-04-11 00:38:53 +00:00
|
|
|
%bcond_without lang
|
2014-05-10 22:18:52 +00:00
|
|
|
Name: libksysguard5
|
2021-01-24 21:11:08 +00:00
|
|
|
Version: 5.20.90
|
2014-05-10 22:18:52 +00:00
|
|
|
Release: 0
|
2014-05-10 22:28:07 +00:00
|
|
|
Summary: Task management and system monitoring library
|
2018-06-19 21:42:13 +00:00
|
|
|
License: GPL-2.0-or-later
|
2014-05-18 00:02:31 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-02-25 18:30:07 +00:00
|
|
|
URL: http://www.kde.org
|
2021-01-24 21:11:08 +00:00
|
|
|
Source: https://download.kde.org/unstable/plasma/%{version}/libksysguard-%{version}.tar.xz
|
2018-09-19 04:47:30 +00:00
|
|
|
%if %{with lang}
|
2021-01-24 21:11:08 +00:00
|
|
|
Source1: https://download.kde.org/unstable/plasma/%{version}/libksysguard-%{version}.tar.xz.sig
|
2018-09-19 04:47:30 +00:00
|
|
|
Source2: plasma.keyring
|
|
|
|
%endif
|
2015-12-01 13:56:37 +00:00
|
|
|
BuildRequires: extra-cmake-modules >= 1.2.0
|
2014-05-10 22:18:52 +00:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: xz
|
2015-12-01 13:56:37 +00:00
|
|
|
BuildRequires: cmake(KF5Auth)
|
|
|
|
BuildRequires: cmake(KF5Completion)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
2020-05-19 13:35:18 +00:00
|
|
|
BuildRequires: cmake(KF5Declarative)
|
2018-09-15 12:29:43 +00:00
|
|
|
BuildRequires: cmake(KF5GlobalAccel)
|
2015-12-01 13:56:37 +00:00
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
2018-09-15 12:29:43 +00:00
|
|
|
BuildRequires: cmake(KF5KIO)
|
2020-05-19 13:35:18 +00:00
|
|
|
BuildRequires: cmake(KF5NewStuff)
|
2015-12-01 13:56:37 +00:00
|
|
|
BuildRequires: cmake(KF5Plasma)
|
|
|
|
BuildRequires: cmake(KF5Service)
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Network) >= 5.4.0
|
2019-04-29 11:44:19 +00:00
|
|
|
%ifnarch ppc ppc64 ppc64le s390 s390x riscv64
|
2020-03-02 09:31:20 +00:00
|
|
|
BuildRequires: cmake(Qt5WebChannel) >= 5.4.0
|
2018-10-14 21:11:07 +00:00
|
|
|
BuildRequires: cmake(Qt5WebEngineWidgets) >= 5.4.0
|
2018-11-14 11:54:09 +00:00
|
|
|
%endif
|
2020-09-21 06:29:54 +00:00
|
|
|
BuildRequires: cmake(Qt5UiPlugin) >= 5.14.0
|
2015-12-01 13:56:37 +00:00
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5X11Extras) >= 5.4.0
|
2014-05-10 22:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2015-01-08 19:11:29 +00:00
|
|
|
BuildRequires: pkgconfig(xres)
|
2014-05-10 22:18:52 +00:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2014-10-25 17:38:06 +00:00
|
|
|
Recommends: %{name}-lang
|
2020-05-19 13:35:18 +00:00
|
|
|
Recommends: %{name}-imports
|
2014-05-10 22:18:52 +00:00
|
|
|
|
|
|
|
%description
|
2014-05-10 22:28:07 +00:00
|
|
|
Task management and system monitoring library.
|
2014-05-10 22:18:52 +00:00
|
|
|
|
|
|
|
%package devel
|
2014-05-10 22:28:07 +00:00
|
|
|
Summary: Task management and system monitoring library -- devel files
|
2014-05-18 00:02:31 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-05-10 22:18:52 +00:00
|
|
|
Requires: %{name} = %{version}
|
2015-12-01 13:56:37 +00:00
|
|
|
Requires: cmake(KF5Config)
|
|
|
|
Requires: cmake(KF5I18n)
|
|
|
|
Requires: cmake(KF5IconThemes)
|
|
|
|
Requires: cmake(Qt5Core) >= 5.4.0
|
|
|
|
Requires: cmake(Qt5Network) >= 5.4.0
|
|
|
|
Requires: cmake(Qt5Widgets) >= 5.4.0
|
2014-05-10 22:28:07 +00:00
|
|
|
Conflicts: kdebase4-workspace-devel
|
2014-05-10 22:18:52 +00:00
|
|
|
|
|
|
|
%description devel
|
2014-05-10 22:28:07 +00:00
|
|
|
Task management and system monitoring library. This package contains development
|
|
|
|
files.
|
2014-05-10 22:18:52 +00:00
|
|
|
|
2014-08-11 21:03:30 +00:00
|
|
|
%package helper
|
|
|
|
Summary: Task management and system monitoring library -- helper files
|
|
|
|
Group: Development/Libraries/C and C++
|
2015-05-22 16:02:40 +00:00
|
|
|
Conflicts: kdebase4-workspace < 5.3.0
|
2014-08-11 21:03:30 +00:00
|
|
|
|
|
|
|
%description helper
|
|
|
|
Task management and system monitoring library. This package contains helper files
|
|
|
|
for actions that require elevated privileges.
|
|
|
|
|
2020-05-19 13:35:18 +00:00
|
|
|
%package imports
|
|
|
|
Summary: Task management and system monitoring library -- QML bindings
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description imports
|
|
|
|
This package provides QtQuick bindings for libksysguard, allowing its use in
|
|
|
|
QML applications.
|
|
|
|
|
2014-09-26 14:22:08 +00:00
|
|
|
%lang_package
|
2018-10-14 21:11:07 +00:00
|
|
|
|
2014-05-10 22:18:52 +00:00
|
|
|
%prep
|
2018-10-14 21:11:07 +00:00
|
|
|
%autosetup -p1 -n libksysguard-%{version}
|
2014-05-10 22:18:52 +00:00
|
|
|
|
|
|
|
%build
|
2016-07-06 16:38:09 +00:00
|
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
2020-02-08 00:13:24 +00:00
|
|
|
%cmake_build
|
2014-05-10 22:18:52 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2016-07-06 16:38:09 +00:00
|
|
|
%if %{with lang}
|
|
|
|
%kf5_find_lang
|
|
|
|
%endif
|
2014-05-10 22:18:52 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2018-05-21 09:07:19 +00:00
|
|
|
%license COPYING*
|
2020-05-19 13:35:18 +00:00
|
|
|
%dir %{_kf5_plugindir}/kpackage/
|
|
|
|
%dir %{_kf5_plugindir}/kpackage/packagestructure/
|
|
|
|
%{_kf5_debugdir}/*.categories
|
|
|
|
%{_kf5_libdir}/libKSysGuardFormatter.so.*
|
|
|
|
%{_kf5_libdir}/libKSysGuardSensorFaces.so.*
|
|
|
|
%{_kf5_libdir}/libKSysGuardSensors.so.*
|
2014-05-10 22:28:07 +00:00
|
|
|
%{_kf5_libdir}/libksgrd.so.*
|
|
|
|
%{_kf5_libdir}/libksignalplotter.so.*
|
2020-05-19 13:35:18 +00:00
|
|
|
%{_kf5_libdir}/liblsofui.so.*
|
2014-05-10 22:28:07 +00:00
|
|
|
%{_kf5_libdir}/libprocesscore.so.*
|
|
|
|
%{_kf5_libdir}/libprocessui.so.*
|
2020-05-19 13:35:18 +00:00
|
|
|
%{_kf5_knsrcfilesdir}/systemmonitor-faces.knsrc
|
|
|
|
%{_kf5_knsrcfilesdir}/systemmonitor-presets.knsrc
|
|
|
|
%{_kf5_plugindir}/kpackage/packagestructure/sensorface_packagestructure.so
|
2014-05-10 22:28:07 +00:00
|
|
|
%{_kf5_sharedir}/ksysguard/
|
2014-05-10 22:18:52 +00:00
|
|
|
|
2014-08-11 21:03:30 +00:00
|
|
|
%files helper
|
2018-05-21 09:07:19 +00:00
|
|
|
%license COPYING*
|
2019-09-20 11:01:19 +00:00
|
|
|
%{_kf5_dbuspolicydir}/org.kde.ksysguard.processlisthelper.conf
|
2020-05-19 13:35:18 +00:00
|
|
|
%{_kf5_libdir}/libexec/
|
2014-08-11 21:03:30 +00:00
|
|
|
%{_kf5_sharedir}/dbus-1/system-services/org.kde.ksysguard.processlisthelper.service
|
|
|
|
%{_kf5_sharedir}/polkit-1/actions/org.kde.ksysguard.processlisthelper.policy
|
|
|
|
|
2020-05-19 13:35:18 +00:00
|
|
|
%files imports
|
|
|
|
%license COPYING*
|
|
|
|
%dir %{_kf5_qmldir}/org/kde/ksysguard
|
|
|
|
%dir %{_kf5_qmldir}/org/kde/ksysguard/faces
|
|
|
|
%dir %{_kf5_qmldir}/org/kde/ksysguard/formatter
|
|
|
|
%dir %{_kf5_qmldir}/org/kde/ksysguard/process
|
|
|
|
%dir %{_kf5_qmldir}/org/kde/ksysguard/sensors
|
|
|
|
%{_kf5_qmldir}/org/kde/ksysguard/faces/ExtendedLegend.qml
|
|
|
|
%{_kf5_qmldir}/org/kde/ksysguard/faces/SensorFace.qml
|
|
|
|
%{_kf5_qmldir}/org/kde/ksysguard/faces/libFacesPlugin.so
|
|
|
|
%{_kf5_qmldir}/org/kde/ksysguard/faces/qmldir
|
|
|
|
%{_kf5_qmldir}/org/kde/ksysguard/formatter/libFormatterPlugin.so
|
|
|
|
%{_kf5_qmldir}/org/kde/ksysguard/formatter/qmldir
|
|
|
|
%{_kf5_qmldir}/org/kde/ksysguard/process/libProcessPlugin.so
|
|
|
|
%{_kf5_qmldir}/org/kde/ksysguard/process/qmldir
|
|
|
|
%{_kf5_qmldir}/org/kde/ksysguard/sensors/libSensorsPlugin.so
|
|
|
|
%{_kf5_qmldir}/org/kde/ksysguard/sensors/qmldir
|
|
|
|
|
2014-05-10 22:18:52 +00:00
|
|
|
%files devel
|
2018-05-21 09:07:19 +00:00
|
|
|
%license COPYING*
|
2014-05-10 22:31:19 +00:00
|
|
|
%{_includedir}/ksysguard/
|
2014-05-10 22:28:07 +00:00
|
|
|
%{_kf5_libdir}/cmake/KF5SysGuard/
|
2020-05-19 13:35:18 +00:00
|
|
|
%{_kf5_libdir}/cmake/KSysGuard/
|
2020-09-21 06:29:54 +00:00
|
|
|
%dir %{_kf5_plugindir}/designer/
|
|
|
|
%{_kf5_plugindir}/designer/ksignalplotter5widgets.so
|
|
|
|
%{_kf5_plugindir}/designer/ksysguard5widgets.so
|
|
|
|
%{_kf5_plugindir}/designer/ksysguardlsof5widgets.so
|
2020-05-19 13:35:18 +00:00
|
|
|
%{_kf5_libdir}/libKSysGuardFormatter.so
|
|
|
|
%{_kf5_libdir}/libKSysGuardSensorFaces.so
|
|
|
|
%{_kf5_libdir}/libKSysGuardSensors.so
|
2014-05-10 22:28:07 +00:00
|
|
|
%{_kf5_libdir}/libksgrd.so
|
|
|
|
%{_kf5_libdir}/libksignalplotter.so
|
2020-05-19 13:35:18 +00:00
|
|
|
%{_kf5_libdir}/liblsofui.so
|
2014-05-10 22:28:07 +00:00
|
|
|
%{_kf5_libdir}/libprocesscore.so
|
|
|
|
%{_kf5_libdir}/libprocessui.so
|
2014-05-10 22:18:52 +00:00
|
|
|
|
2015-04-11 18:58:12 +00:00
|
|
|
%if %{with lang}
|
2016-07-06 16:38:09 +00:00
|
|
|
%files lang -f %{name}.lang
|
2015-04-11 18:58:12 +00:00
|
|
|
%endif
|
2014-09-26 14:22:08 +00:00
|
|
|
|
2014-05-10 22:18:52 +00:00
|
|
|
%changelog
|