Jan Engelhardt
001a6b41a1
OBS-URL: https://build.opensuse.org/package/show/games/chocolate-doom?expand=0&rev=4
72 lines
2.3 KiB
RPMSpec
72 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package chocolate-doom
|
|
#
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
Name: chocolate-doom
|
|
Version: 1.7.0
|
|
Release: 0
|
|
Summary: Conservative DOOM source port
|
|
License: GPL-2.0+
|
|
Group: Amusements/Games/3D/Shoot
|
|
Url: http://chocolate-doom.org/
|
|
|
|
#Freecode-URL: https://freecode.com/projects/chocolate-doom
|
|
#DL-URL: http://downloads.sf.net/chocolate-doom/chocolate-doom-1.7.0.tar.gz
|
|
Source: chocolate-doom-%version.tar.xz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: libSDL-devel >= 1.1.3
|
|
BuildRequires: libSDL_mixer-devel
|
|
BuildRequires: libSDL_net-devel
|
|
BuildRequires: libsamplerate-devel
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: 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.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%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
|