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
This commit is contained in:
Matthias Mailänder 2015-06-29 04:59:08 +00:00 committed by Git OBS Bridge
commit d3ddc7539a
6 changed files with 135 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

13
_service Normal file
View File

@ -0,0 +1,13 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">svn</param>
<param name="url">svn://svn.icculus.org/rott/trunk</param>
<param name="filename">rott</param>
<param name="versionformat">1.1.2+svn%r</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled" />
</services>

3
rott-1.1.2+svn287.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c21c436fa840b80d51d1047fa69e7f0e9b161225b9108a409861384b7902a96
size 537164

4
rott.changes Normal file
View File

@ -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

91
rott.spec Normal file
View File

@ -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