- Update to release 20211123

OBS-URL: https://build.opensuse.org/package/show/games/rott?expand=0&rev=3
This commit is contained in:
Jan Engelhardt 2023-07-02 11:57:36 +00:00 committed by Git OBS Bridge
parent e747f83731
commit 23129b707b
5 changed files with 29 additions and 24 deletions

View File

@ -1,9 +1,10 @@
<services> <services>
<service name="tar_scm" mode="disabled"> <service name="tar_scm" mode="disabled">
<param name="scm">svn</param> <param name="scm">git</param>
<param name="url">svn://svn.icculus.org/rott/trunk</param> <param name="url">https://github.com/fabiangreffrath/rott</param>
<param name="filename">rott</param> <param name="filename">rott</param>
<param name="versionformat">1.1.2+svn%r</param> <param name="revision">99e8523e425c35cbfcac3b876ec9cc5dc63558da</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="disabled">
<param name="file">*.tar</param> <param name="file">*.tar</param>

View File

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

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jul 2 11:42:54 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 20211123
* Switch from SDL1 to SDL2
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 28 18:21:25 UTC 2015 - jengelh@inai.de Sun Jun 28 18:21:25 UTC 2015 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package rott # spec file for package rott
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,27 +12,25 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: rott Name: rott
Version: 1.1.2+svn287 Version: 20211123+git2
Release: 0 Release: 0
Summary: Icculus SDL port of the Rise of the Triad engine Summary: SDL port of the Rise of the Triad engine
License: GPL-2.0+ License: GPL-2.0-or-later
Group: Amusements/Games/3D/Shoot Group: Amusements/Games/3D/Shoot
Url: https://icculus.org/rott/ URL: https://icculus.org/rott/
#SVN-Clone: svn://svn.icculus.org/rott/trunk/
Source: %name-%version.tar.xz Source: %name-%version.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf >= 2.69 BuildRequires: autoconf >= 2.69
BuildRequires: automake BuildRequires: automake
BuildRequires: c++_compiler
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(SDL_mixer) >= 1.2 BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(sdl) >= 1.2 BuildRequires: pkgconfig(sdl2)
%description %description
The package contains an SDL port of the engine used for the The package contains an SDL port of the engine used for the
@ -46,7 +44,7 @@ walls, and synthetic level-over-level environments through use of
individual collision objects. individual collision objects.
%prep %prep
%setup -qn %name %autosetup
%build %build
export CFLAGS="%optflags -fno-strict-aliasing" export CFLAGS="%optflags -fno-strict-aliasing"
@ -56,19 +54,19 @@ autoreconf -fi
mkdir obj-darkwar mkdir obj-darkwar
pushd obj-darkwar/ pushd obj-darkwar/
%configure --program-suffix=-darkwar %configure --program-suffix=-darkwar
make %{?_smp_mflags} %make_build
popd popd
mkdir obj-huntbgin mkdir obj-huntbgin
pushd obj-huntbgin/ pushd obj-huntbgin/
%configure --enable-shareware --program-suffix=-huntbgin %configure --enable-shareware --program-suffix=-huntbgin
make %{?_smp_mflags} %make_build
popd popd
%install %install
b="%buildroot" b="%buildroot"
make -C obj-darkwar install DESTDIR="$b" %make_install -C obj-darkwar
make -C obj-huntbgin install DESTDIR="$b" %make_install -C obj-huntbgin
ln -s rott-darkwar "$b/%_bindir/rott" ln -s rott-darkwar "$b/%_bindir/rott"
mkdir -p "$b/%_datadir/icons/hicolor"/{32x32,scalable}/"apps" \ mkdir -p "$b/%_datadir/icons/hicolor"/{32x32,scalable}/"apps" \
"$b/%_datadir/applications" "$b/%_datadir/applications"
@ -80,12 +78,12 @@ mkdir -p "$b/%_mandir/man6"
cp -a doc/rott.6 "$b/%_mandir/man6/" cp -a doc/rott.6 "$b/%_mandir/man6/"
%files %files
%defattr(-,root,root)
%_bindir/rott* %_bindir/rott*
%_bindir/runrott.sh %_bindir/runrott.sh
%_mandir/man6/rott.* %_mandir/man6/rott.*
%_datadir/applications/*.desktop %_datadir/applications/*.desktop
%_datadir/icons/* %_datadir/icons/*
%doc COPYING README doc/cheats.txt doc/cmdline.txt %doc README doc/cheats.txt doc/cmdline.txt
%license COPYING
%changelog %changelog