Name: onvifviewer Version: 0.13 Release: 0%{?dist}.2sunshine Summary: ONVIF camera viewer #TODO: The WSDL files can be distributed, but are not free software License: GPLv3+ URL: https://gitlab.com/caspermeijn/onvifviewer Source0: https://gitlab.com/caspermeijn/onvifviewer/-/archive/v%{version}/%{name}-v%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake >= 3.16 BuildRequires: cmake(KDSoap) BuildRequires: cmake(KF5CoreAddons) >= 5.44 BuildRequires: cmake(KF5Kirigami2) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5XmlGui) BuildRequires: cmake(KDSoapWSDiscoveryClient) BuildRequires: cmake(Qt5Core) >= 5.12 BuildRequires: cmake(Qt5Svg) BuildRequires: cmake(Qt5Quick) BuildRequires: cmake(Qt5QuickControls2) BuildRequires: extra-cmake-modules >= 5.44 BuildRequires: desktop-file-utils BuildRequires: gettext >= 0.19 BuildRequires: intltool BuildRequires: itstool BuildRequires: libappstream-glib Requires: qt5-qtmultimedia # BuildRequires: extra-cmake-modules qt5-qtbase-devel kf5-kcoreaddons-devel kf5-kxmlgui-devel kf5-ki18n-devel kf5-kirigami2-devel qt5-qtsvg-devel qt5-qtdeclarative-devel qt5-qtquickcontrols2-devel qt5-qtmultimedia xorg-x11-server-Xvfb intltool gettext itstool desktop-file-utils libappstream-glib findutils # Requires: %description The goal of this project is to replace the proprietary app that was needed to configure and view my IP camera. The ONVIF protocol can be used to view and configure many types of camera's and is a open standard that can be implemented using standard SOAP libraries. Using Qt5 for the back-end and Kirigami UI framework makes this application a cross-platform solution. %prep %autosetup -n %{name}-v%{version} %build %cmake %cmake_build %install %cmake_install %find_lang %{name} %check desktop-file-validate %{buildroot}/%{_datadir}/applications/net.meijn.onvifviewer.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml %files -f %{name}.lang %license LICENSES %doc README.md %{_bindir}/onvifviewer %{_datadir}/metainfo/net.meijn.onvifviewer.appdata.xml %{_datadir}/applications/net.meijn.onvifviewer.desktop %{_datadir}/icons/hicolor/*/apps/net.meijn.onvifviewer.png %{_datadir}/icons/hicolor/scalable/apps/net.meijn.onvifviewer.svg %changelog * Wed Oct 30 2024 Moritz Barsnick 0.13-0.2sunshine - add BR KDSoapWSDiscoveryClient * Wed Oct 30 2024 Moritz Barsnick 0.13-0.1sunshine - update to 0.13 * Wed Oct 30 2024 Moritz Barsnick 0.10-1.1sunshine - drop cleaning of build root - use more %%cmake macros * Tue May 21 2019 Casper Meijn - 0.10-1 - First onvifviewer package