]> git.pld-linux.org Git - packages/kf5-karchive.git/blobdiff - kf5-karchive.spec
- updated to 5.102.0
[packages/kf5-karchive.git] / kf5-karchive.spec
index fd40d24aa78dcb1c9e96a4838a85ea8b92b0b5de..751502a54079c202225d1ae10536fdf6643162e6 100644 (file)
@@ -1,17 +1,20 @@
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
 # TODO:
 # - runtime Requires if any
-%define                kdeframever     5.91
+%define                kdeframever     5.102
 %define                qtver           5.15.2
 %define                kfname          karchive
 
 Summary:       Reading, creating, and manipulating file archives
 Name:          kf5-%{kfname}
-Version:       5.91.0
+Version:       5.102.0
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: c1bd7b16fd4b488f38d008574871e7a6
+# Source0-md5: a0671c96496698f513e251753d5b828c
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Network-devel >= %{qtver}
@@ -61,10 +64,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.075165 seconds and 4 git commands to generate.