File nakedavp.spec of Package nakedavp
#
# spec file for package nakedavp
#
# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2025, 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 realname NakedAVP
Name: nakedavp
Version: 1.2.3+git20260215
Release: 0
Summary: A game port of Aliens vs Predator Classic (2000)
License: NonFree
Group: Amusements/Games/3D/Shoot
URL: https://github.com/atsb/NakedAVP/
Source: %{realname}-%{version}.tar.xz
#Patch0: fix-gcc14.patch
#Patch1: fix-opengl-init.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(sdl3)
%description
NakedAVP is a port of Aliens vs Predator Classic (2000) to modern systems,
based on the icculus port using SDL3.
NOTE: To play AVP with NakedAVP you need the original game files.
You need to start the game from within the folder with these files.
%prep
%autosetup -p1 -n %{realname}-%{version}
%build
%cmake
%make_jobs
%install
install -Dm0755 build/avp %{buildroot}%{_bindir}/avp
%files
%license LICENSE
%doc README.md
%{_bindir}/avp
%changelog