]> git.pld-linux.org Git - packages/kf5-kross.git/blobdiff - kf5-kross.spec
relup
[packages/kf5-kross.git] / kf5-kross.spec
index 2a48d76db1d64ef201c7fa50757bfbd297e17366..310726dae2d291230e877f1b4d9e878d7ecf5c84 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeframever     5.86
-%define                qtver           5.9.0
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeframever     5.97
+%define                qtver           5.15.2
 %define                kfname          kross
 #
 Summary:       Embedding of scripting into applications
 Name:          kf5-%{kfname}
-Version:       5.86.0
-Release:       1
+Version:       5.97.0
+Release:       2
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/portingAids/%{kfname}-%{version}.tar.xz
-# Source0-md5: 004a639e055fc1d166e461526f7eddfe
+# Source0-md5: 85e084c6a4840153a9fccb581e60dad6
 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.097999 seconds and 4 git commands to generate.