diff --git a/README.md b/README.md index 249b398..b1d02a8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ksystemstats +KSystemStats is a daemon that collects statistics about the running system. + diff --git a/ksystemstats.spec b/ksystemstats.spec new file mode 100644 index 0000000..287088f --- /dev/null +++ b/ksystemstats.spec @@ -0,0 +1,75 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: ksystemstats +Version: 5.22.1 +Release: 1mamba +Summary: KDE Frameworks 5 daemon that collects statistics about the running system +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://kde.org +Source: https://download.kde.org/stable/plasma/%{version}/ksystemstats-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libkconfig-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libkdbusaddons-devel +BuildRequires: libki18n-devel +BuildRequires: libkio-devel +BuildRequires: libkservice-devel +BuildRequires: libksysguard-devel +BuildRequires: libnetworkmanager-qt5-devel +BuildRequires: libnl-devel +BuildRequires: libqt5-devel +BuildRequires: libsensors-devel +BuildRequires: libsolid-devel +BuildRequires: libstdc++6-devel +BuildRequires: libudev-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: rpm-macros-kde5 +BuildRequires: extra-cmake-modules + +%description +KSystemStats is a daemon that collects statistics about the running system. + +%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}/kstatsviewer +%{_bindir}/ksystemstats +%{_datadir}/dbus-1/services/org.kde.ksystemstats.service +%{_userunitdir}/plasma-ksystemstats.service +%dir %{_libdir}/qt5/plugins/ksystemstats +%{_libdir}/qt5/plugins/ksystemstats/ksystemstats_plugin_*.so +%doc LICENSES + +%changelog +* Wed Jun 16 2021 Automatic Build System 5.22.1-1mamba +- automatic version update by autodist + +* Thu Jun 10 2021 Silvan Calarco 5.22.0-2mamba +- don't provide ksysguard, replaced by plasma-systemmonitor instead + +* Wed Jun 09 2021 Silvan Calarco 5.22.0-1mamba +- package created using the webbuild interface