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

kp5-kscreenlocker.spec

index 6b59c61fc8f8efa83376d21d895594951b1b1355..b5d25987325d653dc1dbfb6da217c4c396d8225f 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeplasmaver    5.24.3
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeplasmaver    5.24.4
 %define                qtver           5.9.0
 %define                kf5ver          5.19.0
 %define                kpname          kscreenlocker
 Summary:       kscreenlocker
 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: eb1752e454940f116933d8f636030362
+# Source0-md5: 4c211e521bd8fc436d7e3b44ddaef96c
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel >= %{qtver}
@@ -63,11 +66,16 @@ Pliki nagłówkowe dla programistów używających %{kpname}.
 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.648522 seconds and 4 git commands to generate.