%global app_id org.kde.kimagemapeditor Name: kimagemapeditor Version: 24.08.0 Release: 1%{?dist} Summary: HTML image map editor License: GPL-2.0-or-later URL: https://apps.kde.org/kimagemapeditor/ Source0: https://download.kde.org/%{stable_kf6}/release-service/%{version}/src/%{name}-%{version}.tar.xz ExclusiveArch: %{qt6_qtwebengine_arches} BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: kf6-rpm-macros BuildRequires: libappstream-glib BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6WebEngineWidgets) BuildRequires: cmake(KF6Config) BuildRequires: cmake(KF6ConfigWidgets) BuildRequires: cmake(KF6CoreAddons) BuildRequires: cmake(KF6Crash) BuildRequires: cmake(KF6DBusAddons) BuildRequires: cmake(KF6DocTools) BuildRequires: cmake(KF6GuiAddons) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6Parts) BuildRequires: cmake(KF6WidgetsAddons) BuildRequires: cmake(KF6XmlGui) Requires: hicolor-icon-theme # split out from kdewebdev (add < EVR once dropped therefrom) Conflicts: kdewebdev %description KImageMapEditor is an editor of image maps embedded inside HTML files, based on the HTML tag. %prep %autosetup -p1 %build %cmake_kf6 %cmake_build %install %cmake_install %find_lang %{name} --with-html %check desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/%{app_id}.desktop appstream-util validate-relax --nonet %{buildroot}%{_kf6_metainfodir}/%{app_id}.appdata.xml %files -f %{name}.lang %license COPYING %doc README %{_kf6_bindir}/%{name} %{_kf6_plugindir}/parts/%{name}part.so %{_kf6_datadir}/applications/%{app_id}.desktop %{_kf6_datadir}/icons/hicolor/*/apps/%{name}.* %{_kf6_datadir}/icons/hicolor/*/actions/* %{_kf6_datadir}/qlogging-categories6/%{name}.categories %{_kf6_datadir}/%{name}/ %{_kf6_metainfodir}/%{app_id}.appdata.xml %changelog * Tue Sep 03 2024 Yaakov Selkowitz - 24.08.0-1 - 24.08.0