%global forgeurl https://github.com/luebking/phototonic Version: 3.1.0 %forgemeta Name: phototonic Release: %autorelease Summary: Image viewer and organizer License: GPL-3.0-or-later URL: %{forgeurl} Source: %{forgesource} Source1: https://topazus.fedorapeople.org/CMakeLists.txt BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6OpenGLWidgets) BuildRequires: cmake(Qt6LinguistTools) BuildRequires: cmake(exiv2) #BuildRequires: qt6-linguist BuildRequires: desktop-file-utils BuildRequires: libappstream-glib %description Phototonic is a fast and functional image viewer and organizer, inspired by the traditional image viewer design (i.e. thumbnails and viewer layouts). %prep %forgeautosetup -p1 cp %{SOURCE1} . %build %cmake %cmake_build %install %cmake_install %find_lang phototonic --all-name --with-qt %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml %files -f phototonic.lang %license COPYING %doc README.md %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/48x48/apps/%{name}.png %{_datadir}/icons/hicolor/16x16/apps/%{name}.png %{_datadir}/pixmaps/%{name}.png %{_metainfodir}/%{name}.appdata.xml %changelog %autochangelog