- Cleanup spec file.
- Make sure we mention all patches. OBS-URL: https://build.opensuse.org/package/show/games/0ad?expand=0&rev=144
This commit is contained in:
parent
49ee3ec52c
commit
3a49f9bb17
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 21:16:40 UTC 2025 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||
|
||||
- Cleanup spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 13:27:36 UTC 2025 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
@ -17,6 +22,7 @@ Wed Feb 12 10:03:04 UTC 2025 - Dominik Heidler <dheidler@suse.de>
|
||||
* Updated skirmish maps: Watering Holes, Sporades Islands
|
||||
* New and updated art
|
||||
- Remove obsolete patches:
|
||||
* 0ad-link-icu-76.patch
|
||||
* avoid_duplicate_global_symbol_from_asm.patch
|
||||
* no-version-check.patch
|
||||
* PrepareZoneForGC.patch
|
||||
@ -25,7 +31,8 @@ Wed Feb 12 10:03:04 UTC 2025 - Dominik Heidler <dheidler@suse.de>
|
||||
* fix-fmt10-build.patch
|
||||
* fix-boost-1.85-build.patch
|
||||
- Add patch (as source as it is appliad via premake build script)
|
||||
* premake-disable-rpath.patch (replaces premake-no-automatic-rpath.patch)
|
||||
* premake-disable-rpath.patch (replaces
|
||||
premake-no-automatic-rpath.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 20 17:19:01 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
14
0ad.spec
14
0ad.spec
@ -22,18 +22,17 @@
|
||||
%else
|
||||
%bcond_with nvtt
|
||||
%endif
|
||||
# We can use the system mozjs on Tumbleweed and Leap 15.4.
|
||||
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400
|
||||
|
||||
%bcond_without system_mozjs
|
||||
%else
|
||||
%bcond_with system_mozjs
|
||||
%endif
|
||||
|
||||
# Use provided library
|
||||
%bcond_without system_nvtt
|
||||
|
||||
# 0ad needs a c++17 compiler at least
|
||||
%if 0%{?sle_version} && 0%{?sle_version} < 160000
|
||||
%global force_gcc_version 13
|
||||
%endif
|
||||
|
||||
Name: 0ad
|
||||
Version: 0.27.0
|
||||
Release: 0
|
||||
@ -41,9 +40,9 @@ Summary: A real-time strategy game of ancient warfare
|
||||
License: BSD-3-Clause AND CC-BY-SA-3.0 AND GPL-2.0-or-later AND LGPL-3.0-or-later AND MIT AND ISC AND MPL-2.0
|
||||
Group: Amusements/Games/Strategy/Real Time
|
||||
URL: https://play0ad.com/
|
||||
Source0: https://releases.wildfiregames.com/%{name}-%{version}-unix-build.tar.xz
|
||||
Source: https://releases.wildfiregames.com/%{name}-%{version}-unix-build.tar.xz
|
||||
Source1: premake-disable-rpath.patch
|
||||
Source2: 0ad-rpmlintrc
|
||||
Source100: 0ad-rpmlintrc
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc%{?force_gcc_version}-c++
|
||||
BuildRequires: libXcursor-devel
|
||||
@ -78,7 +77,6 @@ BuildRequires: nvidia-texture-tools >= 2.1
|
||||
%endif
|
||||
%if %{with system_mozjs}
|
||||
#FIXME: Depends on source/scriptinterface/ScriptTypes.h
|
||||
# This is "fixed" by disabling the version check.
|
||||
BuildRequires: pkgconfig(mozjs-115)
|
||||
%else
|
||||
BuildRequires: cargo
|
||||
|
Loading…
x
Reference in New Issue
Block a user