]> git.pld-linux.org Git - packages/kf5-knotifyconfig.git/blobdiff - kf5-knotifyconfig.spec
- updated to 5.95.0
[packages/kf5-knotifyconfig.git] / kf5-knotifyconfig.spec
index 1f9de731e6a8421ba81bc816485409247dcdba1f..bdbd8bfa2d6fa2434ac2daee088fca55ed585548 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeframever     5.89
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeframever     5.95
 %define                qtver           5.15.2
 %define                kfname          knotifyconfig
 
 Summary:       Configuration dialog for desktop notifications
 Name:          kf5-%{kfname}
-Version:       5.89.0
+Version:       5.95.0
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 733cfc12dbc63cbd485fe63e28ec1501
+# Source0-md5: cb813401d0ad3fe96d03db3a2883859d
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5DBus-devel >= %{qtver}
@@ -66,10 +69,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
@@ -92,7 +101,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/KF5/KNotifyConfig
-%{_includedir}/KF5/knotifyconfig_version.h
 %{_libdir}/cmake/KF5NotifyConfig
 %{_libdir}/libKF5NotifyConfig.so
 %{qt5dir}/mkspecs/modules/qt_KNotifyConfig.pri
This page took 0.154127 seconds and 4 git commands to generate.