Compare commits
No commits in common. "rawhide" and "f33" have entirely different histories.
1 changed files with 8 additions and 50 deletions
58
warsow.spec
58
warsow.spec
|
|
@ -1,17 +1,16 @@
|
|||
%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: 21%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Summary: Fast paced 3D first person shooter
|
||||
|
||||
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
||||
License: GPL-2.0-or-later
|
||||
License: GPLv2+
|
||||
URL: https://www.warsow.net/
|
||||
Source0: http://update.warsow.gg/mirror/warsow_%{nodotver}_sdk.tar.gz
|
||||
Source1: warsow.desktop
|
||||
|
|
@ -24,7 +23,6 @@ Patch1: warsow-build.patch
|
|||
# Warsow is only ported to these architectures
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm}
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
|
|
@ -40,11 +38,11 @@ BuildRequires: libXrandr-devel
|
|||
BuildRequires: libXxf86dga-devel
|
||||
BuildRequires: libXxf86vm-devel
|
||||
BuildRequires: mesa-libGL-devel
|
||||
BuildRequires: openal-soft-devel
|
||||
BuildRequires: openal-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: SDL2-devel
|
||||
BuildRequires: /usr/bin/appstream-util
|
||||
BuildRequires: ImageMagick
|
||||
BuildRequires: /usr/bin/convert
|
||||
BuildRequires: /usr/bin/desktop-file-validate
|
||||
BuildRequires: /usr/bin/dos2unix
|
||||
Requires: hicolor-icon-theme
|
||||
|
|
@ -79,8 +77,8 @@ This package installs the standalone server and TV server for Warsow.
|
|||
|
||||
%prep
|
||||
%setup -q -n warsow_%{nodotver}_sdk
|
||||
%patch -P0 -p1 -b .paths
|
||||
%patch -P1 -p1 -b .build
|
||||
%patch0 -p1 -b .paths
|
||||
%patch1 -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
|
||||
|
|
@ -101,9 +99,8 @@ pushd source/source/cmake_build
|
|||
%cmake \
|
||||
-DQFUSION_GAME=Warsow \
|
||||
-DUSE_SDL2=YES \
|
||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||
..
|
||||
%cmake_build
|
||||
make %{?_smp_mflags}
|
||||
|
||||
popd
|
||||
|
||||
|
|
@ -147,45 +144,6 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/warsow.
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 2.1.2-17
|
||||
- convert license to SPDX
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-8
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue