Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sopwith for openSUSE:Factory checked in at 2022-12-05 18:02:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sopwith (Old) and /work/SRC/openSUSE:Factory/.sopwith.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sopwith" Mon Dec 5 18:02:26 2022 rev:6 rq:1040362 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/sopwith/sopwith.changes 2015-04-02 16:04:33.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sopwith.new.1835/sopwith.changes 2022-12-05 18:02:46.165093985 +0100 @@ -1,0 +2,77 @@ +Mon Dec 5 14:59:47 UTC 2022 - Dirk Müller <dmuel...@suse.com> + +- update to 2.1.1: + * An embarrassing bug was fixed where you could win by bombing your own + buildings. + * The ox "splat" screen now shows correctly if you are shot down and crash + into an ox. + * Bug fixes and changes in this version: + * libm is included as a dependency when needed (thanks slicer69). + * No error is printed if the config file doesn't exist (thanks Kenneth + Pronovici). + * The screen is now redrawn properly when in menus and the window is + uncovered + or resized (thanks Kenneth Pronovici). + * Some potential crashes were fixed when near the edges of the map. + * Some of the code has been refactored to centralize how levels are + defined. In + the future this will help to support custom levels. + * Documentation changes: + * Build instructions were clarified (thanks Kenneth Pronovici). + * Better documentation of novice mode was added to the manpage (thanks + Kenneth + Pronovici). + * References to the -p argument were removed from the manpage and the help + text + (thanks Kenneth Pronovici). + * Changes in this version: + * Sound has been reenabled. Sound output is now passed through a bandpass + filter intended to make it sound like a real PC speaker, and also plays + back at a much quieter volume, to be less startling to new players. + * Medals are now awarded to reward players (thanks creichen). The Unix + manpage includes some details about the medals and how to attain them. + * There is now a configuration screen for setting key bindings, which are + stored in the same configuration file as other settings. + * Thanks to SDL2's renderer API, the game now scales up to arbitrary + window + sizes and resolutions, and isn't limited to just 320x200 or 640x400. + * Network performance has been improved significantly. + * The Unix manpage has been significantly improved and expanded. A + separate + manpage was added for the configuration file. + * Sopwith now runs on macOS, and Mac .dmg packages are generated. + * Also now builds and runs cleanly on Haiku. + * The Windows .exe now has metadata and an icon. + * The missiles feature was changed to a hidden setting since it's not very + fun and doesn't really fit the game's theme. + * The networking option to use a "TCP loop" has now been merged with the + normal "connect" option, for simplicity. The target server may be a real + server or a TCP loop server, and the clients will autodiscover. + * Movement precision within the game was made significantly more precise. + This fixes a long-standing issue where fractional movement values were + just being discarded, instead of being included in calculations as they + should have been. + * Fix computer planes not shooting when tailing the player's plane + (creichen). + * Fix planes crashing into their own bullets (creichen). + * Fix players able to turn quickly when wounded and using the autopilot. + * Damaged ground no longer remains on the title screen after the game + ends. + * Network games no longer desync when only one player uses harry keys + mode. + * Big oil tank explosions now match the magnitude of the old explosions + from + Sopwith 1 and Sopwith 2. The command line option to disable them has been + replaced with a configuration variable. + * A bug was fixed where it was possible to stop the plane in midair when + playing the game in novice mode (thanks Alaux). + * Code has been ported to SDL2. + * Rewritten graphics code + * Major internal restructuring: removal of obsolete code, removal of + some global variables + * Sopwith configuration file is no longer ~/.sopwithrc on \*nix systems, + but + can now be found at ~/.local/share/SDL\ Sopwith/sopwith.cfg +- drop sopwith-fix-string-include.patch, sopwith-gpl.diff: obsolete + +------------------------------------------------------------------- Old: ---- sopwith-1.8.4.tar.gz sopwith-fix-string-include.patch sopwith-gpl.diff New: ---- sdl-sopwith-2.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sopwith.spec ++++++ --- /var/tmp/diff_new_pack.r0H7FC/_old 2022-12-05 18:02:46.525095945 +0100 +++ /var/tmp/diff_new_pack.r0H7FC/_new 2022-12-05 18:02:46.525095945 +0100 @@ -1,7 +1,7 @@ # # spec file for package sopwith # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,24 +12,21 @@ # 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: sopwith -Version: 1.8.4 +Version: 2.1.1 Release: 0 Summary: SDL port of the %{name} game -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Amusements/Games/Action/Arcade -Url: http://sdl-sopwith.sourceforge.net/ -Source0: http://downloads.sourceforge.net/project/sdl-sopwith/sdl_%{name}/%{version}/%{name}-%{version}.tar.gz +URL: https://github.com/fragglet/sdl-sopwith +Source0: https://github.com/fragglet/sdl-sopwith/releases/download/sdl-sopwith-%{version}/sdl-sopwith-%{version}.tar.gz Source1: %{name}.png -Patch0: %{name}-fix-string-include.patch -Patch5: %{name}-gpl.diff - -BuildRequires: SDL-devel -BuildRequires: SDL_gfx-devel +BuildRequires: SDL2-devel +BuildRequires: SDL2_gfx-devel BuildRequires: desktop-file-utils BuildRequires: hicolor-icon-theme @@ -37,21 +34,16 @@ This is a port of the classic computer game "Sopwith" to run on modern computers and operating systems. - %prep -%setup -q -rm -f src/font.h -%patch0 -p1 -%patch5 -p1 -sed -i 's/\r//' doc/readme.txt +%setup -q -n sdl-%{name}-%{version} %build %configure --docdir=%{_docdir} -make %{?_smp_mflags} +%make_build %install -make DESTDIR=$RPM_BUILD_ROOT install -rm -rf $RPM_BUILD_ROOT%{_prefix}/share/doc/%{name} +%make_install +rm -rf %{buildroot}%{_datadir}/doc/sdl-%{name} cat > %{name}.desktop <<EOF [Desktop Entry] @@ -69,13 +61,14 @@ --add-category Game \ %{name}.desktop -mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/72x72/apps/ -cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/72x72/apps/ +mkdir -p %{buildroot}%{_datadir}/icons/hicolor/72x72/apps/ +cp %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/72x72/apps/ %files -%defattr(-,root,root,-) -%doc AUTHORS COPYING FAQ NEWS README TODO doc/keys.txt doc/origdoc.txt doc/readme.txt +%license COPYING.md +%doc FAQ.md NEWS.md README.md TODO doc/origdoc.txt %{_bindir}/%{name} +%{_mandir}/man5/sopwith.cfg.5* %{_mandir}/man6/%{name}* %{_datadir}/applications/*%{name}.desktop %{_datadir}/icons/hicolor/