SHA256
1
0
forked from pool/cdogs-sdl
cdogs-sdl/cdogs-sdl.spec
Ferdinand Thiessen 5ff09bc41c Accepting request 909596 from home:mnhauke:games
- Update to 0.13.0
  Game
  * Add weapon sprites
  * Add molotov glass break sound
  * Add AI waking to gunfire
  * Add AI peripheral vision
  * Add AI wake on seeing teammate under attack
  * Fix feet colors for classic campaigns
  * Fix sliding diagonally against map objects and getting stuck
  * Fix player not getting poisoned
  * Fix AI not waking when seeing player
  * Fix co-op AI not shooting
  * Fix missing bullet hole marks
  * Fix minor typo in campaign
  * Improve save file with saved weapons and ammo
  * Improve save file, saves individual missions completed
  * Improve gun dropping, limit gun drops after 2 are present
  * Improve ammo dropped by enemies by halving amount
  * Improve character previews by showing gun
  * Improve weapon selection screen with character rotation
  * Improve text particles by drawing above everything
  * Improve pulse animation by doubling its frequency
  Editor
  * Add character deafness flag
  * Add custom character item drops
  * Add separate bullet flesh/object hit properties (bullets can
    hit actors but not map objects)
  * Fix loading classic campaigns via drag-drop
  * Fix tooltip for immunity flag
  * Improve character previews by showing gun

OBS-URL: https://build.opensuse.org/request/show/909596
OBS-URL: https://build.opensuse.org/package/show/games/cdogs-sdl?expand=0&rev=36
2021-08-01 13:39:22 +00:00

73 lines
2.2 KiB
RPMSpec

#
# spec file for package cdogs-sdl
#
# Copyright (c) 2021 SUSE LLC
#
# 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/
#
Name: cdogs-sdl
Version: 0.13.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
BuildRequires: cmake >= 3.12
BuildRequires: enet-devel
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: python3-protobuf
BuildRequires: python3-setuptools
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(SDL2_image)
BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(physfs)
BuildRequires: pkgconfig(protobuf)
BuildRequires: pkgconfig(sdl2)
%description
C-Dogs SDL is a classic overhead run-and-gun game, supporting up to
4 players in co-op and deathmatch modes. Customize your player, choose
from up to 11 weapons, and try over 100 user-created campaigns. Have fun!
%prep
%setup -q
# use system enet
rm -rf src/cdogs/enet
%build
%cmake -DCDOGS_DATA_DIR=%{_datadir}/%{name}/ -DUSE_SHARED_ENET=ON
%cmake_build
%install
%cmake_install
%fdupes %{buildroot}%{_datadir}
%check
%ctest
%files
%license COPYING
%doc %{_datadir}/%{name}/README.md
%{_datadir}/applications/*.desktop
%{_bindir}/%{name}*
%{_datadir}/%{name}/
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/metainfo/*.appdata.xml
%changelog