]> 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 455830104c95570d4e6280d30da67d9b30f1fbb7..411c881daf56aea7168e8632e7ddd1cc9971335f 100644 (file)
@@ -1,16 +1,19 @@
-%define                kdeframever     5.92
+#
+# 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.92.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: 92e7c8209f28851e8829bb996317a239
+# Source0-md5: 09bece0ab6d1f590932df778ac8b8642
 URL:           https://kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5DBus-devel >= %{qtver}
@@ -70,10 +73,16 @@ 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
 
This page took 0.08958 seconds and 4 git commands to generate.