File fteqw.spec of Package fteqw
#
# spec file for package fteqw
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2021, Martin Hauke <mardnh@gmx.de>
#
# 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/
#
%define version_date 2023-07-03
Name: fteqw
Version: 0.0.0.svn6446
Release: 0
Summary: An advanced Quake engine
License: GPL-2.0-or-later
Group: Amusements/Games/3D/Shoot
URL: https://www.fteqw.org/
Source: %{name}-%{version}.tar.xz
BuildRequires: pkgconfig
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(opus)
BuildRequires: pkgconfig(speex)
BuildRequires: pkgconfig(vorbisfile)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(zlib)
%description
FTEQW is the advanced, portable Quake engine.
It supports multiple games running on idTech, plus its own set of
games that developers have created. Due to the vast amount of supported
formats, features and innovations inside the engine and its very own
QuakeC compiler (fteqcc), it's very much considered the swiss-army
knife of Quake engines.
Core Features:
* Multiple Video Presets, for all tastes.
* Splitscreen
* IPv6
* VOIP
* Hybrid NQ/QW capabilities (NQ+QW clients fragging each other!)
* Multiple renderers, including OpenGL, Vulkan, D3D9, D3D11.
* BSP2, Q3BSP, other limits extended.
* Alternative view projections.
* Runs Quake, Quake2, Quake3, Hexen2, plus numerous FTE-only
mods/games.
* Many many many many many more things...
Game data must be placed in ~/.local/share/quake/id1 .
%prep
%setup -q
%build
%make_build -C engine clean
%make_build -C engine rel SVNREVISION="-DSVNREVISION=%{version} -DSVNDATE=%{version_date}"
%install
for b in fteqcc fteqw fteqw-sv; do
install -Dm 0755 engine/release/$b %{buildroot}%{_bindir}/$b
done
%files
%license engine/LICENSE
%doc fteqw_readme.txt
%{_bindir}/fteqcc
%{_bindir}/fteqw
%{_bindir}/fteqw-sv
%changelog