ddnet/ddnet.spec
Matthias Mailänder a4e2a53276 Accepting request 967141 from home:Kieltux:branches:games
- Update to version 16.0.3
  - [Client] New Vulkan graphics renderer for more FPS
    (enable in Graphics Settings)
  - [Client] Improved demo renderer performance
  - [Client] New players join Tutorial servers by default
  - [Client] Replace browser icons with font icons
  - [Editor] Quad knife tool
  - [Client] Automatic font size in menu
  - [Client] Make hook collision line size adjustable
  - [Client] Automatically select search string on Ctrl+F
  - [Client] Add optional save_replay parameter (filename)
  - [Client] Improvement of the automatic completion of player
    names in chat
  - [Client] Fix duplicated team messages with dummy
  - [Client] Fix binds, fix sounds and demo playback for
    violent gametypes
  - [Client] Fix sound bug on large maps (like Back in Time 3)
  - [Client] Fix dummy connect on some vanilla servers
  - [Client] Show key presses in nameplates
  - [Client] Update local hook collision line every frame
  - [Client] Allow the ghost to carry any weapon
  - [Client] Show correct server address when connecting
  - [Client] Drop non-RGBA image-support in skins
  - [Client] Fix listbox item double click behaviour
  - [Client] Fix bindings with modifiers
  - [Client] Support saving any size binds
  - [Client] HTTP Serverbrowser: Quit faster
  - [Client] Remove the totally unsafe editor undo
  - [Client] Fix client freezes if server sends funny ticks
  - [Client] Fix wrong warnings with saved config file
  - [Client] Fix integer overflow in CHud when server time
    exceeds around 248 days
  - [Client] Don't print binds into F1
  - [Client] Fix player death effect color
  - [Server] Do not mute if spam protection is off
  - [Server] Write log to disk on assert
  - [Server] Fix specteam 1 not showing teammates while
    spectating/freecam in solo
  - [Server] Fix logging into rcon with dummy
  - [Server] No chat messages for live freeze
  - [Server] Make spawn position independent of players
    in other teams
  - [Server] Record player_ready event in Teehistorian
  - [Server] Fix recording server-side demos
  - [Server] Fix laser clipping
  - [Tools] Fixed bad DataReader loop on map_replace_image
  - [Client+Server] Support NO_COLOR environment variable
- Add BuildRequires pkgconfig(vulkan) and glslang-devel for
  the new Vulkan graphics renderer

OBS-URL: https://build.opensuse.org/request/show/967141
OBS-URL: https://build.opensuse.org/package/show/games/ddnet?expand=0&rev=12
2022-04-08 06:29:23 +00:00

118 lines
3.4 KiB
RPMSpec

#
# spec file for package ddnet
#
# 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
# 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 https://bugs.opensuse.org/
#
Name: ddnet
Version: 16.0.3
Release: 0
Summary: DDraceNetwork, a cooperative racing mod of Teeworlds
License: Zlib AND CC-BY-SA-3.0 AND Apache-2.0 AND MIT AND SUSE-Public-Domain
Group: Amusements/Games/Action/Race
URL: https://ddnet.tw/
Source: https://github.com/ddnet/ddnet/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: Mesa-libGLESv3-devel
BuildRequires: appstream-glib
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libminiupnpc-devel
BuildRequires: pkgconfig
BuildRequires: pnglite-devel
BuildRequires: glslang-devel
BuildRequires: python3
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(glew)
BuildRequires: pkgconfig(gtest)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(ogg)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(opus)
BuildRequires: pkgconfig(opusfile)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(wavpack)
BuildRequires: pkgconfig(vulkan)
BuildRequires: pkgconfig(zlib)
Requires: %{name}-data = %{version}-%{release}
%description
DDraceNetwork (DDNet) is an actively maintained version of DDRace,
a Teeworlds modification with a unique cooperative gameplay.
Help each other play through custom maps with up to 64 players,
compete against the best in international tournaments, design your
own maps, or run your own server.
%package data
Summary: Data files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: hicolor-icon-theme
BuildArch: noarch
%description data
Data files for DDraceNetwork (DDNet).
%package server
Summary: Standalone server for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description server
Standalone server for DDraceNetwork (DDNet).
%prep
%autosetup -p1
%build
%cmake \
-DPREFER_BUNDLED_LIBS=OFF \
-DAUTOUPDATE=OFF \
-DANTIBOT=ON \
-DUPNP=ON \
-DSTEAM=OFF \
-DVIDEORECORDER=OFF
%cmake_build
%install
%cmake_install
install -Dp -m 0644 man/DDNet.6 %{buildroot}%{_mandir}/man6/DDNet.6
install -Dp -m 0644 man/DDNet-Server.6 %{buildroot}%{_mandir}/man6/DDNet-Server.6
%fdupes %{buildroot}%{_datadir}
%files
%license license.txt
%doc README.md
%{_mandir}/man6/DDNet.6%{?ext_man}
%{_bindir}/DDNet
%{_libdir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/metainfo/*.appdata.xml
%files data
%{_datadir}/%{name}/
%files server
%{_mandir}/man6/DDNet-Server.6%{?ext_man}
%{_bindir}/DDNet-Server
%{_datadir}/icons/hicolor/*/apps/%{name}-server.png
%changelog