parent
29236b5b15
commit
b155564b09
@ -0,0 +1 @@
|
|||||||
|
/ksystemstats-5.21.90.tar.xz
|
@ -0,0 +1,84 @@
|
|||||||
|
Name: ksystemstats
|
||||||
|
Version: 5.21.90
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: KSystemStats is a daemon that collects statistics about the running system.
|
||||||
|
|
||||||
|
License: GPLv2 or GPLv3
|
||||||
|
URL: https://invent.kde.org/plasma/%{name}
|
||||||
|
|
||||||
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
||||||
|
%global revision %(echo %{version} | cut -d. -f3)
|
||||||
|
%if %{revision} >= 50
|
||||||
|
%global stable unstable
|
||||||
|
%else
|
||||||
|
%global stable stable
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: libappstream-glib
|
||||||
|
BuildRequires: libksysguard-devel >= %{majmin}
|
||||||
|
|
||||||
|
BuildRequires: kf5-rpm-macros
|
||||||
|
BuildRequires: extra-cmake-modules >= 5.82
|
||||||
|
BuildRequires: cmake(KF5Config)
|
||||||
|
BuildRequires: cmake(KF5CoreAddons)
|
||||||
|
BuildRequires: cmake(KF5DBusAddons)
|
||||||
|
BuildRequires: cmake(KF5DocTools)
|
||||||
|
BuildRequires: cmake(KF5I18n)
|
||||||
|
BuildRequires: cmake(KF5IconThemes)
|
||||||
|
BuildRequires: cmake(KF5ItemViews)
|
||||||
|
BuildRequires: cmake(KF5KIO)
|
||||||
|
BuildRequires: cmake(KF5NewStuff)
|
||||||
|
BuildRequires: cmake(KF5Notifications)
|
||||||
|
BuildRequires: cmake(KF5Solid)
|
||||||
|
BuildRequires: cmake(KF5WindowSystem)
|
||||||
|
|
||||||
|
BuildRequires: cmake(KF5NetworkManagerQt)
|
||||||
|
|
||||||
|
BuildRequires: cmake(Qt5Widgets)
|
||||||
|
|
||||||
|
BuildRequires: libnl3-devel
|
||||||
|
BuildRequires: lm_sensors-devel
|
||||||
|
BuildRequires: systemd-devel
|
||||||
|
BuildRequires: pkgconfig(libpcap)
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
KSystemStats is a daemon that collects statistics about the running system.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Developer files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
%description devel
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kf5
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
%find_lang %{name}_plugins
|
||||||
|
|
||||||
|
%files -f %{name}_plugins.lang
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSES/*
|
||||||
|
%dir %{_qt5_plugindir}/ksystemstats/
|
||||||
|
%{_kf5_bindir}/%{name}
|
||||||
|
%{_kf5_bindir}/kstatsviewer
|
||||||
|
%{_datadir}/dbus-1/services/org.kde.%{name}.service
|
||||||
|
%{_userunitdir}/plasma-%{name}.service
|
||||||
|
%{_qt5_plugindir}/ksystemstats/
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue May 18 2021 Onuralp SEZER <thunderbirdtr@fedoraproject.org> - 5.21.90-1
|
||||||
|
- Initial Package
|
Loading…
Reference in new issue