]> git.pld-linux.org Git - packages/kf5-kactivities-stats.git/blobdiff - kf5-kactivities-stats.spec
- updated to 5.108.0
[packages/kf5-kactivities-stats.git] / kf5-kactivities-stats.spec
index 094eae990092d5d1e057e5bfe4fa454320086811..86bfdf315ac84956c189fc2a5109022ba4f8781d 100644 (file)
@@ -1,17 +1,20 @@
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
 # TODO:
 # Conflict /usr/bin/kactivitymanagerd
-%define                kdeframever     5.86
-%define                qtver           5.9.0
+%define                kdeframever     5.108
+%define                qtver           5.15.2
 %define                kfname          kactivities-stats
 
 Summary:       Core components for the KDE's Activities Activity Manager
 Name:          kf5-%{kfname}
-Version:       5.86.0
+Version:       5.108.0
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: a783cb73830ec77963cb5a3fe2b1d994
+# Source0-md5: d851dce91b8110aa6823a7ea947e9a57
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5DBus-devel >= %{qtver}
@@ -87,10 +90,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
@@ -111,7 +120,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/KF5/KActivitiesStats
-%{_includedir}/KF5/kactivitiesstats_version.h
 %{_libdir}/cmake/KF5ActivitiesStats
 %{_libdir}/libKF5ActivitiesStats.so
 %{_pkgconfigdir}/libKActivitiesStats.pc
This page took 0.134341 seconds and 4 git commands to generate.