From b35047a16a96bd22549fc7e63d6250d15f7a6e24a6606a66ad6ce5f7857dfb3f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 11 Dec 2013 13:52:05 +0000 Subject: [PATCH] chocolate-doom-2.0 OBS-URL: https://build.opensuse.org/package/show/games/chocolate-doom?expand=0&rev=13 --- chocolate-doom-1.7.0.tar.xz | 3 -- chocolate-doom-2.0.tar.xz | 3 ++ chocolate-doom.changes | 7 +++++ chocolate-doom.spec | 56 +++++++++++++++++++++++-------------- 4 files changed, 45 insertions(+), 24 deletions(-) delete mode 100644 chocolate-doom-1.7.0.tar.xz create mode 100644 chocolate-doom-2.0.tar.xz diff --git a/chocolate-doom-1.7.0.tar.xz b/chocolate-doom-1.7.0.tar.xz deleted file mode 100644 index bb59eb4..0000000 --- a/chocolate-doom-1.7.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b863204144624dbeefd94a008a882afd6c5b6c077706827ad412485b4450c1d -size 775952 diff --git a/chocolate-doom-2.0.tar.xz b/chocolate-doom-2.0.tar.xz new file mode 100644 index 0000000..aa7ca72 --- /dev/null +++ b/chocolate-doom-2.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0079936e75aa76f93e1941ecbf7c55e236f9fdd4942b1a336830231e76fddce8 +size 1257996 diff --git a/chocolate-doom.changes b/chocolate-doom.changes index 7025f8d..a3783c5 100644 --- a/chocolate-doom.changes +++ b/chocolate-doom.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Dec 10 12:59:24 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 2.0 +* Support for three other Doom engine-based games: Heretic, Hexen, + and Strife. + ------------------------------------------------------------------- Thu May 2 07:45:59 UTC 2013 - jengelh@inai.de diff --git a/chocolate-doom.spec b/chocolate-doom.spec index 6bfa009..dd85218 100644 --- a/chocolate-doom.spec +++ b/chocolate-doom.spec @@ -17,42 +17,55 @@ Name: chocolate-doom -Version: 1.7.0 +Version: 2.0 Release: 0 -Summary: Conservative DOOM source port +%define rversion 2.0 +Summary: Conservative DOOM/Heretic/Hexen/Strife source port License: GPL-2.0+ Group: Amusements/Games/3D/Shoot Url: http://chocolate-doom.org/ +#Git-Clone: git://github.com/fragglet/chocolate-doom +#Git-Web: https://github.com/fragglet/chocolate-doom #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 +#DL-URL: http://chocolate-doom.org/downloads/2.0.0/chocolate-doom-2.0.0.tar.gz +Source: chocolate-doom-%rversion.tar.xz Patch1: chdoom-iwaddir.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: libSDL-devel >= 1.1.3 -BuildRequires: libSDL_mixer-devel -BuildRequires: libSDL_net-devel -BuildRequires: libsamplerate-devel +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: fdupes BuildRequires: update-desktop-files BuildRequires: xz +BuildRequires: pkgconfig(SDL_mixer) +BuildRequires: pkgconfig(SDL_net) +BuildRequires: pkgconfig(samplerate) +BuildRequires: pkgconfig(sdl) >= 1.1.3 +Provides: chocolate-heretic = %version +Provides: chocolate-hexen = %version +Provides: chocolate-strife = %version %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. +Chocolate Doom is a Doom source port with focus on accurate +reproduction of the original DOS version of Doom and other games +based on the Doom engine, in a form that can be run on modern +computers. Originally, Chocolate Doom was only a Doom source port. +The project now includes ports of Heretic and Hexen, and Strife. + +Chocolate Doom's aims are: + + * Accurate reproduction of the original DOS versions of the games, + including bugs. + * Compatibility with the DOS demo, configuration and savegame files. + * To provide an accurate retro "feel" (display and input should + behave the same). %prep -%setup -q +%setup -qn %name %patch -P 1 -p1 %build +autoreconf -fi %configure make %{?_smp_mflags}; @@ -64,13 +77,14 @@ mkdir -p "$b/%_bindir"; mv "$b/%_prefix/games"/* "$b/%_bindir/"; rm -f "$b/%_docdir/%name/INSTALL" %suse_update_desktop_file -r chocolate-setup chocolate-setup Game ActionGame +%fdupes %buildroot/%_prefix %files %defattr(-,root,root) -%_bindir/* +%_bindir/chocolate-* %_mandir/man*/* %_datadir/applications/* %_datadir/icons/* -%_docdir/%name/ +%_docdir/chocolate-*/ %changelog