SHA256
1
0
forked from pool/freedoom

Restore Git links and Recommends (prboom is provided by prboom-plus)

OBS-URL: https://build.opensuse.org/package/show/games/freedoom?expand=0&rev=17
This commit is contained in:
Jan Engelhardt 2016-03-29 13:17:55 +00:00 committed by Git OBS Bridge
parent 085e5f7b46
commit 6976f3e85d

View File

@ -23,10 +23,14 @@ Summary: Replacement game files for Doom game engines
License: BSD-3-Clause
Group: Amusements/Games/3D/Shoot
Url: https://freedoom.github.io/
Source: https://github.com/freedoom/freedoom/releases/download/v%{version}/freedoom-%{version}.zip
#Git-Web: http://github.com/freedoom/freedoom
#Git-Clone: git://github.com/freedoom/freedoom
Source: https://github.com/freedoom/freedoom/releases/download/v%version/freedoom-%version.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: unzip
Recommends: prboom-plus
%description
A set of game resources for the DOOM game engine. While the Doom
@ -42,12 +46,15 @@ source code, this will result in a completely free Doom-based game.
# Game data files. Nothing to build!
%install
install -Dpm0644 freedoom1.wad %{buildroot}%{_datadir}/doom/freedoom1.wad
install -Dpm0644 freedoom2.wad %{buildroot}%{_datadir}/doom/freedoom2.wad
install -Dpm0644 freedoom1.wad %buildroot/%_datadir/doom/freedoom1.wad
install -Dpm0644 freedoom2.wad %buildroot/%_datadir/doom/freedoom2.wad
%post
echo "NOTE: FreeDoom WAD files are no longer named doom.wad/doom2.wad, and you may need to explicitly specify them now when starting a Doom engine."
%files
%defattr(-,root,root)
%doc COPYING CREDITS README.html
%{_datadir}/doom/
%_datadir/doom/
%changelog