File nugget-doom.spec of Package nugget-doom
Name: nugget-doom
Version: 3.1.0
Release: %autorelease
Summary: Nugget Doom is a fork of Woof! with additional features.
License: GPLv2+
URL: https://github.com/MrAlaux/Nugget-Doom
Source0: https://github.com/MrAlaux/Nugget-Doom/archive/refs/tags/nugget-doom-%{version}.tar.gz
Patch1: nugget-doom-suse.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: cmake
BuildRequires: pkgconfig
BuildRequires: pkgconfig(SDL2_image)
BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(SDL2_net)
BuildRequires: pkgconfig(sdl2) >= 2.0.9
BuildRequires: openal-soft-devel
BuildRequires: pkgconfig(sndfile)
BuildRequires: fluidsynth
BuildRequires: pkgconfig(fluidsynth)
BuildRequires: ImageMagick
BuildRequires: pkgconfig(libxmp)
BuildRequires: update-desktop-files
#Requires: openal-soft
#Requires: libsndfile1
Requires: fluidsynth
#Requires: libxmp4
%description
Nugget Doom is a fork of Woof!, simply intended to implement additional features.
%prep
%setup -n Nugget-Doom-nugget-doom-%{version}
%build
%cmake -DCMAKE_BUILD_TYPE=Release
%cmake_build
%install
%cmake_install
%files
%{_bindir}/nugget-doom
%{_bindir}/nugget-doom-setup
%{_datadir}/*
%changelog