Name: cevomapgen Version: 40 Release: 1%{?dist} Summary: External Random Map Generator for C-evo License: GPL-3.0-or-later URL: https://sourceforge.net/projects/cevomapgen/ Source0: https://downloads.sourceforge.net/cevomapgen/%{name}-%{version}.tar.xz Source1: https://downloads.sourceforge.net/cevomapgen/%{name}-%{version}.tar.xz.asc Source2: gpgkey-14638444C9858E2A09B0259C211BCF562939AB8F.gpg ExclusiveArch: %{fpc_arches} BuildRequires: fpc BuildRequires: lazarus-tools BuildRequires: lazarus-lcl-qt6 BuildRequires: qt6pas-devel BuildRequires: qt6pas BuildRequires: desktop-file-utils BuildRequires: gpgverify BuildRequires: appstream BuildRequires: hicolor-icon-theme Requires: hicolor-icon-theme Suggests: qt6ct %description Generates more varied maps than the C-evo in-game generator. It gives greater control than the existing map generator within the game, and allows much faster generation of novel or extreme worlds than using the map editor. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup %build %make_build %install make DESTDIR=%{buildroot}/ prefix=%{_prefix} install %files %{_bindir}/cevomap* %{_mandir}/man6/cevomap*.* %dir %{_datadir}/%{name} %{_datadir}/applications/*.%{name}.desktop %{_datadir}/%{name}/Templates/ %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/metainfo/* %doc %{_docdir}/%{name}/ %check desktop-file-validate %{buildroot}/%{_datadir}/applications/net.sourceforge.%{name}.desktop appstreamcli validate --strict --pedantic --explain --no-net %{buildroot}/%{_datadir}/metainfo/net.sourceforge.%{name}.metainfo.xml %changelog * Wed Apr 08 2026 peterbb - 40-1 - Initial version Fedora