%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: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: libappstream-glib BuildRequires: make BuildRequires: pkgconfig(Qt6) BuildRequires: pkgconfig(exiv2) BuildRequires: qt6-linguist %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 %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml %files %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