File resources-monitor.spec of Package resources-monitor

#
# spec file for package resources-monitor
#
# Copyright (c) 2025 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/
#


Name:           resources-monitor
Summary:        Plasma 6 Resources Monitor
Version:        3.1.1
Release:        0
URL:            https://github.com/orblazer/plasma-applet-resources-monitor
Source0:        https://github.com/orblazer/plasma-applet-resources-monitor/archive/refs/tags/v%{version}.tar.gz#/plasma-applet-resources-monitor-%{version}.tar.gz
License:        GPL-3.0
Group:          System/GUI/KDE
BuildRequires:  extra-cmake-modules >= 6
BuildRequires:  cmake(Plasma) >= 6
BuildRequires:  fdupes
Requires:       plasma6-desktop
BuildArch:      noarch

%description
Plasmoid for monitoring CPU, memory,
network traffic, GPUs and disks IO.

%prep
%autosetup -p1 -n plasma-applet-resources-monitor-%{version}

%build
%cmake_kf6

%install
%kf6_install

%fdupes -s %{buildroot}

%files
%doc CHANGELOG.md README.md
%license LICENSE
%dir %{_kf6_plasmadir}/plasmoids
%{_kf6_plasmadir}/plasmoids/org.kde.plasma.resources-monitor
%{_kf6_appstreamdir}/org.kde.plasma.resources-monitor.appdata.xml

%changelog
openSUSE Build Service is sponsored by