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

kp5-plasma-vault.spec

index f01883d36120a3ddf915bee50aa8e8d15bbf0c3e..608992e362562fc9e1d3f35c19b1cc987b18124f 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                kpname          plasma-vault
 
 Summary:       KDE Plasma Vault
 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: ced51ec3b4e8aff0a5d0077366f74ffe
+# Source0-md5: 2310100cc738220ab6487461f393c4d5
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: cmake >= 2.8.12
@@ -53,11 +56,16 @@ format.
 install -d build
 cd build
 %cmake -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DHTML_INSTALL_DIR=%{_kdedocdir} \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        ../
 %ninja_build
 
+%if %{with tests}
+ctest
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
This page took 0.157129 seconds and 4 git commands to generate.