From 75dd173ca6ef0236ea29f7b0e89afb0be2287932fa4b6140d6c28c67c7de79cb Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 8 Jun 2011 13:42:13 +0000 Subject: [PATCH] Accepting request 72751 from home:jengelh:dev 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 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + chocolate-doom-1.6.0.tar.xz | 3 +++ chocolate-doom.spec | 54 +++++++++++++++++++++++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 chocolate-doom-1.6.0.tar.xz create mode 100644 chocolate-doom.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/chocolate-doom-1.6.0.tar.xz b/chocolate-doom-1.6.0.tar.xz new file mode 100644 index 0000000..75c4ba6 --- /dev/null +++ b/chocolate-doom-1.6.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:969ea2ea40f976491b76ed948295c3b737e4a8740b25912b27f7373d55c5dd62 +size 769556 diff --git a/chocolate-doom.spec b/chocolate-doom.spec new file mode 100644 index 0000000..837c59d --- /dev/null +++ b/chocolate-doom.spec @@ -0,0 +1,54 @@ + +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