]> git.pld-linux.org Git - packages/kp5-plasma-sdk.git/commitdiff
- updated to 5.24.4 auto/th/kp5-plasma-sdk-5.24.4-1
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Wed, 30 Mar 2022 13:44:37 +0000 (15:44 +0200)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Wed, 30 Mar 2022 13:44:37 +0000 (15:44 +0200)
- added bcond_with tests

kp5-plasma-sdk.spec

index 3a6b2bda4ee1c66465bb6544d231f7573604e46b..d27f1a69cff4e8320f3fa2c5cc0fff239277379d 100644 (file)
@@ -1,18 +1,21 @@
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
 # TODO:
 # PackageKit qt5
 #
-%define                kdeplasmaver    5.24.3
+%define                kdeplasmaver    5.24.4
 %define                qtver           5.9.0
 %define                kpname          plasma-sdk
 
 Summary:       KDE Plasma Desktop
 Name:          kp5-%{kpname}
-Version:       5.24.3
+Version:       5.24.4
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
-# Source0-md5: 81c32714a9e25544f5f95afda20cf6b6
+# Source0-md5: 6112732c36c94d7a4d90c72a26d5637a
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: cmake >= 2.8.12
@@ -54,11 +57,16 @@ Applications useful for Plasma Development.
 install -d build
 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.370643 seconds and 4 git commands to generate.