75dd173ca6
Conservative (near-original) DOOM engine OBS-URL: https://build.opensuse.org/request/show/72751 OBS-URL: https://build.opensuse.org/package/show/games/chocolate-doom?expand=0&rev=1
55 lines
1.3 KiB
RPMSpec
55 lines
1.3 KiB
RPMSpec
|
|
Name: chocolate-doom
|
|
Version: 1.6.0
|
|
Release: 0
|
|
Group: Amusements/Games/3D/Shoot
|
|
Summary: Conservative DOOM source port
|
|
License: GPLv2+
|
|
URL: http://chocolate-doom.org/
|
|
|
|
Source: chocolate-doom-%version.tar.xz
|
|
BuildRoot: %_tmppath/%name-%version-build
|
|
BuildRequires: libSDL-devel, libSDL_mixer-devel, libSDL_net-devel
|
|
BuildRequires: libsamplerate-devel, update-desktop-files, xz
|
|
|
|
%description
|
|
Chocolate Doom is a Doom source port which aims to behave as closely
|
|
as possible to the original DOS Doom executables. It aims to:
|
|
* be compatible with DOS Doom demos
|
|
* be compatible with DOS Doom configuration files
|
|
* be compatible with DOS Doom savegames
|
|
* be compatible with DOS Doom bugs
|
|
* provide the same "feel" as DOS Doom (display and input should
|
|
behave the same)
|
|
* as far as possible, provide all the same features that are
|
|
available using the DOS version.
|
|
|
|
Author(s):
|
|
----------
|
|
Simon "Fraggle" Howard
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags};
|
|
|
|
%install
|
|
b="%buildroot";
|
|
make install DESTDIR="$b" iconsdir="%_datadir/icons/hicolor/64x64/apps" \
|
|
docdir="%_docdir/%name";
|
|
mkdir -p "$b/%_bindir";
|
|
mv "$b/%_prefix/games"/* "$b/%_bindir/";
|
|
%suse_update_desktop_file -r chocolate-setup chocolate-setup Game ActionGame
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%_bindir/*
|
|
%_mandir/man*/*
|
|
%_datadir/applications/*
|
|
%_datadir/icons/*
|
|
%_docdir/%name
|
|
|
|
%changelog
|