]> git.pld-linux.org Git - packages/kp5-plasma-desktop.git/blobdiff - kp5-plasma-desktop.spec
- updated to 5.24.5
[packages/kp5-plasma-desktop.git] / kp5-plasma-desktop.spec
index fd663db3788a6c7dd19f397de43a7e099dd59e12..ca95a733af657ec5f346d6b77ca5a82298f38764 100644 (file)
@@ -1,18 +1,21 @@
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
 # TODO:
 # PackageKit qt5
 #
-%define                kdeplasmaver    5.24.2
+%define                kdeplasmaver    5.24.5
 %define                qtver           5.9.0
 %define                kpname          plasma-desktop
 
 Summary:       KDE Plasma Desktop
 Name:          kp5-%{kpname}
-Version:       5.24.2
-Release:       2
+Version:       5.24.5
+Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
-# Source0-md5: 97909f81eee0d4a8809a06a44122ccfe
+# Source0-md5: c8209bc8147b8e556b59270af9b90666
 URL:           https://www.kde.org/
 BuildRequires: AppStream-qt-devel
 BuildRequires: Qt5Concurrent-devel >= %{qtver}
@@ -97,11 +100,16 @@ install -d build
 rm -rf po/id
 cd build
 %cmake -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        -DHTML_INSTALL_DIR=%{_kdedocdir} \
        ../
 %ninja_build
 
+%if %{with tests}
+ctest
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
This page took 0.101967 seconds and 4 git commands to generate.