84 lines
2.7 KiB
RPMSpec
84 lines
2.7 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
|
||
|
Name: plasma-systemmonitor
|
||
|
Version: 5.22.1
|
||
|
Release: 1mamba
|
||
|
Summary: KDE Plasma 5 application for monitoring system resources
|
||
|
Group: Graphical Desktop/Applications/Utilities
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://kde.org
|
||
|
Source: https://download.kde.org/stable/plasma/%{version}/plasma-systemmonitor-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libattica5-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libkconfig-devel
|
||
|
BuildRequires: libkcoreaddons-devel
|
||
|
BuildRequires: libkdbusaddons-devel
|
||
|
BuildRequires: libkdeclarative-devel
|
||
|
BuildRequires: libkglobalaccel-devel
|
||
|
BuildRequires: libki18n-devel
|
||
|
BuildRequires: libkio-devel
|
||
|
BuildRequires: libkitemmodels-devel
|
||
|
BuildRequires: libknewstuff-devel
|
||
|
BuildRequires: libkpackage-devel
|
||
|
BuildRequires: libkservice-devel
|
||
|
BuildRequires: libksysguard-devel
|
||
|
BuildRequires: libkwindowsystem-devel
|
||
|
BuildRequires: libqt5-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: rpm-macros-kde5
|
||
|
BuildRequires: extra-cmake-modules
|
||
|
Provides: ksysguard
|
||
|
Obsoletes: ksysguard < 5.22.0
|
||
|
|
||
|
%description
|
||
|
KDE Plasma 5 application for monitoring system resources.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake_kde5 -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files -f %{name}5_qt.lang
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/plasma-systemmonitor
|
||
|
%{_libdir}/qt5/qml/org/kde/ksysguard/page/*
|
||
|
%{_libdir}/qt5/qml/org/kde/ksysguard/table/*
|
||
|
%{_datadir}/applications/org.kde.plasma-systemmonitor.desktop
|
||
|
%{_datadir}/config.kcfg/systemmonitor.kcfg
|
||
|
%{_datadir}/knsrcfiles/plasma-systemmonitor.knsrc
|
||
|
%dir %{_datadir}/ksysguard/sensorfaces/org.kde.ksysguard.applicationstable
|
||
|
%{_datadir}/ksysguard/sensorfaces/org.kde.ksysguard.applicationstable/*
|
||
|
%dir %{_datadir}/ksysguard/sensorfaces/org.kde.ksysguard.processtable
|
||
|
%{_datadir}/ksysguard/sensorfaces/org.kde.ksysguard.processtable/*
|
||
|
%{_datadir}/plasma-systemmonitor/applications.page
|
||
|
%{_datadir}/plasma-systemmonitor/history.page
|
||
|
%{_datadir}/plasma-systemmonitor/overview.page
|
||
|
%{_datadir}/plasma-systemmonitor/processes.page
|
||
|
|
||
|
%changelog
|
||
|
* Thu Jun 17 2021 Automatic Build System <autodist@mambasoft.it> 5.22.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Jun 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.22.0-1mamba
|
||
|
- package created using the webbuild interface
|