Name: openfodder Version: 0.9 Release: 1%{?dist} Summary: Port of Cannon Fodder # License clarification https://github.com/segrax/openfodder/issues/1 License: GPLv3+ URL: https://github.com/segrax/%{name} Source0: %{url}/archive/0.9.tar.gz#/%{name}-%{version}.tar.gz # License text as a patch: %{url}/commit/c82cd1140123b4dfd440582c49dd084b56063c09#diff-abcb5e872fde7c4deecc432bc7628c1a Source1: https://github.com/segrax/openfodder/blob/master/gpl-3.0.txt BuildRequires: clang llvm BuildRequires: SDL2-devel SDL2_gfx-devel SDL2_mixer-devel %description Cannon Fodder is an action-strategy shoot 'em up game developed by Sensible Software and published by Virgin Interactive. The game is military-themed and based on shooting action but with a strategy game-style control system. The player directs troops through numerous missions, battling enemy infantry, vehicles and installations. %prep %setup -q cp -p %{SOURCE1} . %build %make_build %install install -p -m0755 Run/OpenFodder -D %{buildroot}%{_bindir}/%{name} %files %license gpl-3.0.txt %doc README.md %{_bindir}/%{name} %changelog * Sun Nov 08 2015 Raphael Groner - 0.9-1 - initial