]> git.pld-linux.org Git - packages/kf5-kirigami2.git/blobdiff - kf5-kirigami2.spec
- updated to 5.106.0
[packages/kf5-kirigami2.git] / kf5-kirigami2.spec
index 5cb8938e951911f5e942cc5bf861c65da935224b..dd0770e549b27c705b6de213da53af7f4cf167bf 100644 (file)
@@ -1,18 +1,21 @@
 #
+# Conditional build:
+%bcond_with    tests           # build with tests
+#
 # TODO:
 # - runtime Requires if any
 
-%define                kdeframever     5.83
-%define                qtver           5.9.0
+%define                kdeframever     5.106
+%define                qtver           5.15.2
 %define                kfname          kirigami2
 Summary:       Kirigami2 library
 Name:          kf5-%{kfname}
-Version:       5.83.0
+Version:       5.106.0
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
-Source0:       http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 6eab2659bfb2c83e83b23a9e6b55f0df
+Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5: f32e5add05190a77eff2d47fbce9cee1
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel >= %{qtver}
@@ -52,10 +55,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.121521 seconds and 4 git commands to generate.