diff --git a/_service b/_service index ba12760..5ca126e 100644 --- a/_service +++ b/_service @@ -1,9 +1,10 @@ - svn - svn://svn.icculus.org/rott/trunk + git + https://github.com/fabiangreffrath/rott rott - 1.1.2+svn%r + 99e8523e425c35cbfcac3b876ec9cc5dc63558da + @PARENT_TAG@+git@TAG_OFFSET@ *.tar diff --git a/rott-1.1.2+svn287.tar.xz b/rott-1.1.2+svn287.tar.xz deleted file mode 100644 index ab5956f..0000000 --- a/rott-1.1.2+svn287.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c21c436fa840b80d51d1047fa69e7f0e9b161225b9108a409861384b7902a96 -size 537164 diff --git a/rott-20211123+git2.tar.xz b/rott-20211123+git2.tar.xz new file mode 100644 index 0000000..37c36b6 --- /dev/null +++ b/rott-20211123+git2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c6fa22e246884d0b24d1c2713879a015a28fec6d6b1edca4a622d9d1afd00da +size 538748 diff --git a/rott.changes b/rott.changes index 02692d0..207ac5f 100644 --- a/rott.changes +++ b/rott.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jul 2 11:42:54 UTC 2023 - Jan Engelhardt + +- Update to release 20211123 + * Switch from SDL1 to SDL2 + ------------------------------------------------------------------- Sun Jun 28 18:21:25 UTC 2015 - jengelh@inai.de diff --git a/rott.spec b/rott.spec index 57301c4..81e09f2 100644 --- a/rott.spec +++ b/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