Accepting request 913484 from home:mnhauke:games
- Update to 1.0.0 * Support for Wolfenstein 3D and Spear of Destiny Game * Add support for vehicles #30 * Add support for multi-guns * Add support for custom wreck objects and bullets (allows respawning actors on death) * Add support for custom actor death animation * Add option to skip debrief menu * Fix game freeze when returning to game after leaving it paused for a while * Fix duplicate missions in level select * Improve performance by adding max particle limit * Improve level select menu with max items limit * Improve game start menu by disabling continue option after campaign complete Editor * Fix loading a campaign with less missions showing a blank mission #670 * Add per-mission option to persist weapons (can reset weapons on certain missions) * Change map shortcut key to tab - Add patch: * fix-build.patch OBS-URL: https://build.opensuse.org/request/show/913484 OBS-URL: https://build.opensuse.org/package/show/games/cdogs-sdl?expand=0&rev=37
This commit is contained in:
@@ -17,13 +17,14 @@
|
||||
|
||||
|
||||
Name: cdogs-sdl
|
||||
Version: 0.13.0
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: Classic overhead run-and-gun game
|
||||
License: BSD-2-Clause AND GPL-2.0-only AND CC-BY-3.0 AND CC-BY-SA-3.0
|
||||
Group: Amusements/Games/Action/Shoot
|
||||
URL: https://cxong.github.io/cdogs-sdl
|
||||
Source: https://github.com/cxong/cdogs-sdl/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: fix-build.patch
|
||||
BuildRequires: cmake >= 3.12
|
||||
BuildRequires: enet-devel
|
||||
BuildRequires: fdupes
|
||||
@@ -46,11 +47,16 @@ from up to 11 weapons, and try over 100 user-created campaigns. Have fun!
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
# use system enet
|
||||
rm -rf src/cdogs/enet
|
||||
rm %{_datadir}/cdogs-sdl/README.md
|
||||
|
||||
%build
|
||||
%cmake -DCDOGS_DATA_DIR=%{_datadir}/%{name}/ -DUSE_SHARED_ENET=ON
|
||||
%cmake \
|
||||
-DCDOGS_BIN_DIR=%{_bindir}/ \
|
||||
-DCDOGS_DATA_DIR=%{_datadir}/%{name}/ \
|
||||
-DUSE_SHARED_ENET=ON
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
@@ -62,7 +68,7 @@ rm -rf src/cdogs/enet
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc %{_datadir}/%{name}/README.md
|
||||
%doc README.md
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_bindir}/%{name}*
|
||||
%{_datadir}/%{name}/
|
||||
|
Reference in New Issue
Block a user