- updated to 5.94.0 master auto/th/kf5-kross-5.94.0-1
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Sat, 14 May 2022 17:16:11 +0000 (19:16 +0200)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Sat, 14 May 2022 17:16:11 +0000 (19:16 +0200)
kf5-kross.spec

index 1dfb7ad05978916033e94677d4a50dc8d91dfe0a..81f4ceabda25e83916b9aac03999371eb88e4857 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeframever     5.89
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeframever     5.94
 %define                qtver           5.9.0
 %define                kfname          kross
 #
 Summary:       Embedding of scripting into applications
 Name:          kf5-%{kfname}
-Version:       5.89.0
+Version:       5.94.0
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/portingAids/%{kfname}-%{version}.tar.xz
-# Source0-md5: 5e7e67177c5a113a947f62da2f2e03e0
+# Source0-md5: 0ded971b6d9aa1fdc27d721c022fd6e4
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel
 BuildRequires: Qt5DBus-devel >= 5.2.0
@@ -81,10 +84,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
 %ninja_install -C build
This page took 0.050224 seconds and 4 git commands to generate.