2020-09-01 10:04:37 +02:00
|
|
|
#
|
|
|
|
# spec file for package ddnet
|
|
|
|
#
|
2022-01-17 16:43:29 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2020-09-01 10:04:37 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2021-09-20 21:55:07 +02:00
|
|
|
|
2020-09-01 10:04:37 +02:00
|
|
|
Name: ddnet
|
2022-04-08 08:29:23 +02:00
|
|
|
Version: 16.0.3
|
2020-09-01 10:04:37 +02:00
|
|
|
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
|
2021-09-20 21:55:07 +02:00
|
|
|
Group: Amusements/Games/Action/Race
|
2020-09-01 10:04:37 +02:00
|
|
|
URL: https://ddnet.tw/
|
|
|
|
Source: https://github.com/ddnet/ddnet/archive/%{version}/%{name}-%{version}.tar.gz
|
2021-09-20 21:55:07 +02:00
|
|
|
BuildRequires: Mesa-libGLESv3-devel
|
|
|
|
BuildRequires: appstream-glib
|
2020-09-01 10:04:37 +02:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: desktop-file-utils
|
2021-05-07 14:36:05 +02:00
|
|
|
BuildRequires: fdupes
|
2020-09-01 10:04:37 +02:00
|
|
|
BuildRequires: gcc-c++
|
2021-05-07 14:36:05 +02:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2021-09-20 21:55:07 +02:00
|
|
|
BuildRequires: libminiupnpc-devel
|
2020-09-01 10:04:37 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pnglite-devel
|
2022-04-08 08:29:23 +02:00
|
|
|
BuildRequires: glslang-devel
|
2020-09-01 10:04:37 +02:00
|
|
|
BuildRequires: python3
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
|
|
|
BuildRequires: pkgconfig(glew)
|
|
|
|
BuildRequires: pkgconfig(gtest)
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
2021-09-20 21:55:07 +02:00
|
|
|
BuildRequires: pkgconfig(libnotify)
|
2020-09-01 10:04:37 +02:00
|
|
|
BuildRequires: pkgconfig(ogg)
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
|
|
|
BuildRequires: pkgconfig(opus)
|
|
|
|
BuildRequires: pkgconfig(opusfile)
|
|
|
|
BuildRequires: pkgconfig(sdl2)
|
2021-09-20 21:55:07 +02:00
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
2020-09-01 10:04:37 +02:00
|
|
|
BuildRequires: pkgconfig(wavpack)
|
2022-04-08 08:29:23 +02:00
|
|
|
BuildRequires: pkgconfig(vulkan)
|
2020-09-01 10:04:37 +02:00
|
|
|
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
|
2021-05-07 14:36:05 +02:00
|
|
|
%cmake \
|
|
|
|
-DPREFER_BUNDLED_LIBS=OFF \
|
|
|
|
-DAUTOUPDATE=OFF \
|
|
|
|
-DANTIBOT=ON \
|
|
|
|
-DUPNP=ON \
|
2022-04-08 08:29:23 +02:00
|
|
|
-DSTEAM=OFF \
|
|
|
|
-DVIDEORECORDER=OFF
|
2021-05-07 14:36:05 +02:00
|
|
|
%cmake_build
|
2020-09-01 10:04:37 +02:00
|
|
|
|
|
|
|
%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
|
2021-05-07 14:36:05 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
2020-09-01 10:04:37 +02:00
|
|
|
%{_datadir}/metainfo/*.appdata.xml
|
|
|
|
|
|
|
|
%files data
|
|
|
|
%{_datadir}/%{name}/
|
|
|
|
|
|
|
|
%files server
|
|
|
|
%{_mandir}/man6/DDNet-Server.6%{?ext_man}
|
|
|
|
%{_bindir}/DDNet-Server
|
2022-02-23 17:02:16 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}-server.png
|
2020-09-01 10:04:37 +02:00
|
|
|
|
|
|
|
%changelog
|