From d3ddc7539a1a2335f2cc25fdb6b817c2e05af45734465c185f266281aa60430f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Mon, 29 Jun 2015 04:59:08 +0000 Subject: [PATCH] Accepting request 314287 from home:jengelh:dev OBS-URL: https://build.opensuse.org/request/show/314287 OBS-URL: https://build.opensuse.org/package/show/games/rott?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + _service | 13 ++++++ rott-1.1.2+svn287.tar.xz | 3 ++ rott.changes | 4 ++ rott.spec | 91 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 135 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 rott-1.1.2+svn287.tar.xz create mode 100644 rott.changes create mode 100644 rott.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/_service b/_service new file mode 100644 index 0000000..ba12760 --- /dev/null +++ b/_service @@ -0,0 +1,13 @@ + + + svn + svn://svn.icculus.org/rott/trunk + rott + 1.1.2+svn%r + + + *.tar + xz + + + diff --git a/rott-1.1.2+svn287.tar.xz b/rott-1.1.2+svn287.tar.xz new file mode 100644 index 0000000..ab5956f --- /dev/null +++ b/rott-1.1.2+svn287.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c21c436fa840b80d51d1047fa69e7f0e9b161225b9108a409861384b7902a96 +size 537164 diff --git a/rott.changes b/rott.changes new file mode 100644 index 0000000..02692d0 --- /dev/null +++ b/rott.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Jun 28 18:21:25 UTC 2015 - jengelh@inai.de + +- Initial package (version 1.1.2.s287) for build.opensuse.org diff --git a/rott.spec b/rott.spec new file mode 100644 index 0000000..57301c4 --- /dev/null +++ b/rott.spec @@ -0,0 +1,91 @@ +# +# spec file for package rott +# +# Copyright (c) 2015 SUSE LINUX 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: rott +Version: 1.1.2+svn287 +Release: 0 +Summary: Icculus SDL port of the Rise of the Triad engine +License: GPL-2.0+ +Group: Amusements/Games/3D/Shoot +Url: https://icculus.org/rott/ + +#SVN-Clone: svn://svn.icculus.org/rott/trunk/ +Source: %name-%version.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: autoconf >= 2.69 +BuildRequires: automake +BuildRequires: pkg-config +BuildRequires: xz +BuildRequires: pkgconfig(SDL_mixer) >= 1.2 +BuildRequires: pkgconfig(sdl) >= 1.2 + +%description +The package contains an SDL port of the engine used for the +first-person 3D action game "Rise of the Triad". + +The ROTT engine is a derivative of the Wolfenstein 3D one, inheriting +level design limits like orthogonal walls and flat floor and ceiling +heights throughout a map. However, the engine did pioneer panoramic +skies, simulated dynamic lighting, fog, bullet holes, breakable glass +walls, and synthetic level-over-level environments through use of +individual collision objects. + +%prep +%setup -qn %name + +%build +export CFLAGS="%optflags -fno-strict-aliasing" +autoreconf -fi +%define _configure ../configure + +mkdir obj-darkwar +pushd obj-darkwar/ +%configure --program-suffix=-darkwar +make %{?_smp_mflags} +popd + +mkdir obj-huntbgin +pushd obj-huntbgin/ +%configure --enable-shareware --program-suffix=-huntbgin +make %{?_smp_mflags} +popd + +%install +b="%buildroot" +make -C obj-darkwar install DESTDIR="$b" +make -C obj-huntbgin install DESTDIR="$b" +ln -s rott-darkwar "$b/%_bindir/rott" +mkdir -p "$b/%_datadir/icons/hicolor"/{32x32,scalable}/"apps" \ + "$b/%_datadir/applications" +cp -a misc/rott.desktop "$b/%_datadir/applications" +cp -a misc/rott.{xpm,png} "$b/%_datadir/icons/hicolor/32x32/apps/" +cp -a misc/rott.svg "$b/%_datadir/icons/hicolor/scalable/apps/" +cp -a misc/runrott.sh "$b/%_bindir/" +mkdir -p "$b/%_mandir/man6" +cp -a doc/rott.6 "$b/%_mandir/man6/" + +%files +%defattr(-,root,root) +%_bindir/rott* +%_bindir/runrott.sh +%_mandir/man6/rott.* +%_datadir/applications/*.desktop +%_datadir/icons/* +%doc COPYING README doc/cheats.txt doc/cmdline.txt + +%changelog