]> git.pld-linux.org Git - packages/kf5-kded.git/blobdiff - kf5-kded.spec
- updated to 5.98.0
[packages/kf5-kded.git] / kf5-kded.spec
index ebe739e9757105690009c6bafd91a772544fe34b..411c881daf56aea7168e8632e7ddd1cc9971335f 100644 (file)
@@ -1,16 +1,20 @@
-%define                kdeframever     5.91
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeframever     5.98
 %define                qtver           5.15.2
 %define                kfname          kded
 
 Summary:       Central daemon of KDE work spaces
+Summary(pl.UTF-8):     Centralny demon przestrzeni roboczych KDE
 Name:          kf5-%{kfname}
-Version:       5.91.0
+Version:       5.98.0
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: a272d2e425e1bcda33151c89d68b806b
-URL:           http://www.kde.org/
+# Source0-md5: 09bece0ab6d1f590932df778ac8b8642
+URL:           https://kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5DBus-devel >= %{qtver}
 BuildRequires: Qt5Widgets-devel >= %{qtver}
@@ -45,6 +49,11 @@ KDED stands for KDE Daemon which isn't very descriptive. KDED runs in
 the background and performs a number of small tasks. Some of these
 tasks are built in, others are started on demand.
 
+%description -l pl.UTF-8
+KDED to skrót od KDE Daemon, co nie mówi zbyt wiele. KDED działa w tle
+i wykonuje wiele małych zadań. Niektóre są wbudowane, inne uruchamiane
+w razie potrzeby.
+
 %package devel
 Summary:       Header files for %{kfname} development
 Summary(pl.UTF-8):     Pliki nagłówkowe dla programistów używających %{kfname}
@@ -64,12 +73,19 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
 install -d build
 cd build
 %cmake -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        ../
 %ninja_build
 
+%if %{with tests}
+ctest
+%endif
+
+
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %ninja_install -C build
 
 %clean
This page took 0.080572 seconds and 4 git commands to generate.