]> git.pld-linux.org Git - packages/kf5-knotifications.git/blobdiff - kf5-knotifications.spec
rebuild against QT 5.15.8
[packages/kf5-knotifications.git] / kf5-knotifications.spec
index f5bc71c04012ffd8d50f652786809eee0c06ed7a..4277f6550c48d9a1be032423b7fa6c5abf34c4ad 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeframever     5.89
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeframever     5.101
 %define                qtver           5.15.2
 %define                kfname          knotifications
 
 Summary:       Desktop notifications
 Name:          kf5-%{kfname}
-Version:       5.89.0
-Release:       1
+Version:       5.101.0
+Release:       2
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 86ab09ca98d090bb8ff151857f3bda61
+# Source0-md5: 876831c19fe0e66d4b27de516ad6bd41
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5DBus-devel >= %{qtver}
@@ -69,10 +72,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
@@ -95,14 +104,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/qt5/qml/org/kde/notification/qmldir
 %{_datadir}/dbus-1/interfaces/kf5_org.kde.StatusNotifierItem.xml
 %{_datadir}/dbus-1/interfaces/kf5_org.kde.StatusNotifierWatcher.xml
-%{_datadir}/kservicetypes5/knotificationplugin.desktop
 %{_datadir}/qlogging-categories5/knotifications.categories
 %{_datadir}/qlogging-categories5/knotifications.renamecategories
 
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/KF5/KNotifications
-%{_includedir}/KF5/knotifications_version.h
 %{_libdir}/cmake/KF5Notifications
 %{_libdir}/libKF5Notifications.so
 %{qt5dir}/mkspecs/modules/qt_KNotifications.pri
This page took 0.067043 seconds and 4 git commands to generate.