[packages/kp5-libksysguard] - pl
qboosh
qboosh at pld-linux.org
Sun Jun 8 16:22:02 CEST 2025
commit 84aa1dd0a7705c262387d5ae0a92efea81c7b898
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jun 8 15:41:12 2025 +0200
- pl
kp5-libksysguard.spec | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/kp5-libksysguard.spec b/kp5-libksysguard.spec
index 648f9e0..121ff45 100644
--- a/kp5-libksysguard.spec
+++ b/kp5-libksysguard.spec
@@ -1,11 +1,13 @@
#
# Conditional build:
-%bcond_with tests # build with tests
+%bcond_with tests # test suite
+
%define kdeplasmaver 5.27.12
%define qtver 5.15.2
%define kpname libksysguard
Summary: Library for monitoring your system
+Summary(pl.UTF-8): Biblioteka do monitorowania systemu
Name: kp5-%{kpname}
Version: 5.27.12
Release: 1
@@ -13,7 +15,7 @@ License: LGPL v2.1+
Group: X11/Libraries
Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
# Source0-md5: b59ea2998ded2e9b42ce30c2d0884376
-URL: http://www.kde.org/
+URL: https://kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5Sensors-devel >= %{qtver}
BuildRequires: cmake >= 3.16.0
@@ -42,6 +44,9 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Library for monitoring your system.
+%description -l pl.UTF-8
+Biblioteka do monitorowania systemu.
+
%package devel
Summary: Header files for %{kpname} development
Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
@@ -63,6 +68,7 @@ Pliki nagłówkowe dla programistów używających %{kpname}.
%{!?with_tests:-DBUILD_TESTING=OFF} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DHTML_INSTALL_DIR=%{_kdedocdir}
+
%ninja_build -C build
%if %{with tests}
@@ -71,6 +77,7 @@ ctest
%install
rm -rf $RPM_BUILD_ROOT
+
%ninja_install -C build
%find_lang %{kpname}5 --all-name --with-kde
@@ -78,8 +85,8 @@ rm -rf $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files -f %{kpname}5.lang
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kp5-libksysguard.git/commitdiff/040a8db89b36ff7761c8e575061d31963e9ee500
More information about the pld-cvs-commit
mailing list