diff --git a/warsow.spec b/warsow.spec index c3f1ad2..b6b7a9b 100644 --- a/warsow.spec +++ b/warsow.spec @@ -1,16 +1,17 @@ %global __cmake_in_source_build 1 %global _legacy_common_support 1 - +%global _cmake_generator "Unix Makefiles" %global warsow_libdir %{_prefix}/lib/warsow %global nodotver 21 Name: warsow Version: 2.1.2 -Release: 13%{?dist} +Release: 21%{?dist} Summary: Fast paced 3D first person shooter -License: GPLv2+ +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later URL: https://www.warsow.net/ Source0: http://update.warsow.gg/mirror/warsow_%{nodotver}_sdk.tar.gz Source1: warsow.desktop @@ -39,11 +40,11 @@ BuildRequires: libXrandr-devel BuildRequires: libXxf86dga-devel BuildRequires: libXxf86vm-devel BuildRequires: mesa-libGL-devel -BuildRequires: openal-devel +BuildRequires: openal-soft-devel BuildRequires: openssl-devel BuildRequires: SDL2-devel BuildRequires: /usr/bin/appstream-util -BuildRequires: /usr/bin/convert +BuildRequires: ImageMagick BuildRequires: /usr/bin/desktop-file-validate BuildRequires: /usr/bin/dos2unix Requires: hicolor-icon-theme @@ -78,8 +79,8 @@ This package installs the standalone server and TV server for Warsow. %prep %setup -q -n warsow_%{nodotver}_sdk -%patch0 -p1 -b .paths -%patch1 -p1 -b .build +%patch -P0 -p1 -b .paths +%patch -P1 -p1 -b .build # Replace the placeholder that patch0 added with the actual prefix sed -i -e 's|__PREFIX__|%{_prefix}|g' source/source/qcommon/files.c @@ -100,8 +101,9 @@ pushd source/source/cmake_build %cmake \ -DQFUSION_GAME=Warsow \ -DUSE_SDL2=YES \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ .. -make %{?_smp_mflags} +%cmake_build popd @@ -145,6 +147,30 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/warsow. %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 2.1.2-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Sat Jan 17 2026 Fedora Release Engineering - 2.1.2-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jul 25 2025 Fedora Release Engineering - 2.1.2-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sun Jan 19 2025 Fedora Release Engineering - 2.1.2-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Fri Jul 26 2024 Miroslav Suchý - 2.1.2-17 +- convert license to SPDX + +* Sat Jul 20 2024 Fedora Release Engineering - 2.1.2-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 2.1.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering - 2.1.2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 2.1.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild