- Update to release 20211123
OBS-URL: https://build.opensuse.org/package/show/games/rott?expand=0&rev=3
This commit is contained in:
parent
e747f83731
commit
23129b707b
7
_service
7
_service
@ -1,9 +1,10 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">svn</param>
|
||||
<param name="url">svn://svn.icculus.org/rott/trunk</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/fabiangreffrath/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 name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3c21c436fa840b80d51d1047fa69e7f0e9b161225b9108a409861384b7902a96
|
||||
size 537164
|
3
rott-20211123+git2.tar.xz
Normal file
3
rott-20211123+git2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1c6fa22e246884d0b24d1c2713879a015a28fec6d6b1edca4a622d9d1afd00da
|
||||
size 538748
|
@ -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
|
||||
|
||||
|
34
rott.spec
34
rott.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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)
|
||||
# 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
|
||||
Version: 1.1.2+svn287
|
||||
Version: 20211123+git2
|
||||
Release: 0
|
||||
Summary: Icculus SDL port of the Rise of the Triad engine
|
||||
License: GPL-2.0+
|
||||
Summary: SDL port of the Rise of the Triad engine
|
||||
License: GPL-2.0-or-later
|
||||
Group: Amusements/Games/3D/Shoot
|
||||
Url: https://icculus.org/rott/
|
||||
|
||||
#SVN-Clone: svn://svn.icculus.org/rott/trunk/
|
||||
URL: https://icculus.org/rott/
|
||||
Source: %name-%version.tar.xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf >= 2.69
|
||||
BuildRequires: automake
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: xz
|
||||
BuildRequires: pkgconfig(SDL_mixer) >= 1.2
|
||||
BuildRequires: pkgconfig(sdl) >= 1.2
|
||||
BuildRequires: pkgconfig(SDL2_mixer)
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
|
||||
%description
|
||||
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.
|
||||
|
||||
%prep
|
||||
%setup -qn %name
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
export CFLAGS="%optflags -fno-strict-aliasing"
|
||||
@ -56,19 +54,19 @@ autoreconf -fi
|
||||
mkdir obj-darkwar
|
||||
pushd obj-darkwar/
|
||||
%configure --program-suffix=-darkwar
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
popd
|
||||
|
||||
mkdir obj-huntbgin
|
||||
pushd obj-huntbgin/
|
||||
%configure --enable-shareware --program-suffix=-huntbgin
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
popd
|
||||
|
||||
%install
|
||||
b="%buildroot"
|
||||
make -C obj-darkwar install DESTDIR="$b"
|
||||
make -C obj-huntbgin install DESTDIR="$b"
|
||||
%make_install -C obj-darkwar
|
||||
%make_install -C obj-huntbgin
|
||||
ln -s rott-darkwar "$b/%_bindir/rott"
|
||||
mkdir -p "$b/%_datadir/icons/hicolor"/{32x32,scalable}/"apps" \
|
||||
"$b/%_datadir/applications"
|
||||
@ -80,12 +78,12 @@ 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
|
||||
%doc README doc/cheats.txt doc/cmdline.txt
|
||||
%license COPYING
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user