forked from pool/cdogs-sdl
Accepting request 617406 from home:mnhauke
- Update to version 0.6.7 * Add secondary weapon system (#33) * Add diagonal direction stickiness (#457) * Add option to remove blood (#544) * Fix unpausing not ignoring first key press (#548) * Fix compass arrows in shared camera view (#530) * Improve some sprites with semi-transparency - Add patch: * cdogs-sdl-buildfix.patch OBS-URL: https://build.opensuse.org/request/show/617406 OBS-URL: https://build.opensuse.org/package/show/games/cdogs-sdl?expand=0&rev=10
This commit is contained in:
committed by
Git OBS Bridge
parent
c54395c4c4
commit
8b97693ce6
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package cdogs-sdl
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,17 +17,19 @@
|
||||
|
||||
|
||||
Name: cdogs-sdl
|
||||
Version: 0.6.6
|
||||
Version: 0.6.7
|
||||
Release: 0
|
||||
Summary: Classic overhead run-and-gun game
|
||||
License: GPL-2.0 and BSD-2-Clause and CC-BY-3.0 and CC-BY-SA-3.0
|
||||
License: GPL-2.0-only AND BSD-2-Clause AND CC-BY-3.0 AND CC-BY-SA-3.0
|
||||
Group: Amusements/Games/Action/Shoot
|
||||
Url: http://cxong.github.io/cdogs-sdl
|
||||
URL: http://cxong.github.io/cdogs-sdl
|
||||
Source: https://github.com/cxong/cdogs-sdl/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: cdogs-sdl-buildfix.patch
|
||||
BuildRequires: cmake >= 2.8.2
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(SDL2_image)
|
||||
BuildRequires: pkgconfig(SDL2_mixer)
|
||||
@@ -42,6 +44,7 @@ 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
|
||||
@@ -67,16 +70,19 @@ install -Dm0644 build/linux/cdogs-sdl.appdata.xml %{buildroot}%{_datadir}/appdat
|
||||
|
||||
%fdupes %{buildroot}%{_datadir}
|
||||
|
||||
%if 0%{?suse_version} < 1330
|
||||
%post
|
||||
%desktop_database_post
|
||||
%icon_theme_cache_post
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} < 1330
|
||||
%postun
|
||||
%desktop_database_postun
|
||||
%icon_theme_cache_postun
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_bindir}/%{name}*
|
||||
%{_datadir}/%{name}/
|
||||
|
Reference in New Issue
Block a user