[packages/kp6-ksystemstats] - updated to 6.0.0

witekfl witekfl at pld-linux.org
Sun Mar 3 21:09:36 CET 2024


commit de25ce3dbed09daa0dd631126f622db70395876a
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sun Mar 3 20:56:49 2024 +0100

    - updated to 6.0.0

 kp6-ksystemstats.spec | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)
---
diff --git a/kp6-ksystemstats.spec b/kp6-ksystemstats.spec
new file mode 100644
index 0000000..a740c75
--- /dev/null
+++ b/kp6-ksystemstats.spec
@@ -0,0 +1,72 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeplasmaver	6.0.0
+%define		qtver		5.15.2
+%define		kpname		ksystemstats
+Summary:	ksystemstats
+Name:		kp6-%{kpname}
+Version:	6.0.0
+Release:	1
+License:	BSD Clause 2
+Group:		X11/Libraries
+Source0:	https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5:	28f4d1841cecffaf76462ba20e45c45b
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Core-devel >= 5.15.0
+BuildRequires:	cmake >= 3.16.0
+BuildRequires:	gettext-devel
+BuildRequires:	kf6-extra-cmake-modules >= 5.82
+BuildRequires:	kf6-kcoreaddons-devel >= 5.85.0
+BuildRequires:	kf6-kdbusaddons-devel >= 5.82
+BuildRequires:	kf6-kio-devel >= 5.82
+BuildRequires:	kf6-networkmanager-qt-devel >= 5.82
+BuildRequires:	kf6-solid-devel >= 5.85.0
+BuildRequires:	kp6-libksysguard-devel
+BuildRequires:	libnl-devel
+BuildRequires:	ninja
+BuildRequires:	pkgconfig
+BuildRequires:	qt6-build >= %{qtver}
+BuildRequires:	qt6-qmake
+BuildRequires:	rpmbuild(macros) >= 1.596
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	udev-devel
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KSystemStats is a daemon that collects statistics about the running
+system.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+%cmake -B build \
+	-G Ninja \
+	%{!?with_tests:-DBUILD_TESTING=OFF} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+	-DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir}
+%ninja_build -C build
+
+%if %{with tests}
+ctest
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_iconsdir}/{breeze-dark,breeze}
+%ninja_install -C build
+
+%find_lang %{kpname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kpname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kstatsviewer
+%attr(755,root,root) %{_bindir}/ksystemstats
+%{systemduserunitdir}/plasma-ksystemstats.service
+%{_libdir}/qt6/plugins/ksystemstats
+%{_datadir}/dbus-1/services/org.kde.ksystemstats1.service
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kp6-ksystemstats.git/commitdiff/de25ce3dbed09daa0dd631126f622db70395876a



More information about the pld-cvs-commit mailing list