forked from pool/ddnet
40c3329e7d
- Update to version 15.5.4 * Add client-side HTTP server info (instantaneous, secure, raw data from https://master1.ddnet.tw/ddnet/15/servers.json) * Predict tune zones for characters, allow unpredicted tune zone settings for projectiles and lasers * Steam: Support connecting to hostname (for example steam://run/412220//ger2.ddnet.tw:8303/) * Implement HSL sliders * Add hookcollision color changeable in HUD * Remove "Show only supported" resolutions switch from graphics tab * Remove texture quality config * HiDPI-aware resolution list * Fix some buttons in menus * Set all Intel GPU Windows players to OpenGL 2.0 by default * Fix composed binds involving F-keys * Differentiate better between window modes * Fix out of list clip clickable/hoverable items * Center more tees in graphics * Fix auto-reconnect while in game * Fix parsing an ipv6 address without port * Avoid spawn effect being clipped for spawning player * Fix serverbrowser crash * Make pixel alignment numerical more robust when scrolling * Compress IPv6 string representations according to RFC5952 * Fix crash when sorting empty friend list * Fix X11 notifications * Differenciate between width and height for body part * Add better support for compose binds in demo menu * Print GPU info into console * Fix infinite loop in editor when changing height * Make sure ctrl+shift+s works same as clicking UI * Disable swap properly since it's still broken * Fix multiple crashes with super * Add new tune: hammer_hit_fire_delay * Fix team rank updating not working * Lower save/swap punishment * Fix duplicate uuid index in maps edited by tools - Add BuildRequires Mesa-libGLESv3-devel - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/919766 OBS-URL: https://build.opensuse.org/package/show/games/ddnet?expand=0&rev=5
114 lines
3.3 KiB
RPMSpec
114 lines
3.3 KiB
RPMSpec
#
|
|
# spec file for package ddnet
|
|
#
|
|
# Copyright (c) 2021 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: 15.5.4
|
|
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: 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(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
|
|
%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
|
|
|
|
%changelog
|