forked from pool/cdogs-sdl
Accepting request 621185 from games
OBS-URL: https://build.opensuse.org/request/show/621185 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cdogs-sdl?expand=0&rev=4
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5552327ed7ca358acfbb20e9cf4d92443e70f624ca356c744724478cb7e9eb21
|
|
||||||
size 20252238
|
|
3
cdogs-sdl-0.6.7.tar.gz
Normal file
3
cdogs-sdl-0.6.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:af53c4f45938c4c57f630bc073ea84354ca5a6e26f4e315241a7ba9036c13b52
|
||||||
|
size 10978992
|
13
cdogs-sdl-buildfix.patch
Normal file
13
cdogs-sdl-buildfix.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index c114f63..46c010b 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -13,7 +13,7 @@ SET(VERSION_MAJOR "0")
|
||||||
|
SET(VERSION_MINOR "6")
|
||||||
|
SET(VERSION_PATCH "7")
|
||||||
|
SET(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
|
||||||
|
-CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/appveyor.yml.cmake ${CMAKE_SOURCE_DIR}/appveyor.yml)
|
||||||
|
+#CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/appveyor.yml.cmake ${CMAKE_SOURCE_DIR}/appveyor.yml)
|
||||||
|
# this must be 4 numbers
|
||||||
|
SET(VERSION_RC "${VERSION_MAJOR},${VERSION_MINOR},${VERSION_PATCH},0")
|
||||||
|
SET(WEBSITE "http://cxong.github.io/cdogs-sdl/")
|
@@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 18 07:11:36 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 2 15:20:50 UTC 2017 - mailaender@opensuse.org
|
Thu Nov 2 15:20:50 UTC 2017 - mailaender@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cdogs-sdl
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,17 +17,19 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cdogs-sdl
|
Name: cdogs-sdl
|
||||||
Version: 0.6.6
|
Version: 0.6.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Classic overhead run-and-gun game
|
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
|
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
|
Source: https://github.com/cxong/cdogs-sdl/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: cdogs-sdl-buildfix.patch
|
||||||
BuildRequires: cmake >= 2.8.2
|
BuildRequires: cmake >= 2.8.2
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: pkgconfig(SDL2_image)
|
BuildRequires: pkgconfig(SDL2_image)
|
||||||
BuildRequires: pkgconfig(SDL2_mixer)
|
BuildRequires: pkgconfig(SDL2_mixer)
|
||||||
@@ -42,6 +44,7 @@ from up to 11 weapons, and try over 100 user-created campaigns. Have fun!
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
# use system enet
|
# use system enet
|
||||||
rm -rf src/cdogs/enet
|
rm -rf src/cdogs/enet
|
||||||
@@ -67,16 +70,19 @@ install -Dm0644 build/linux/cdogs-sdl.appdata.xml %{buildroot}%{_datadir}/appdat
|
|||||||
|
|
||||||
%fdupes %{buildroot}%{_datadir}
|
%fdupes %{buildroot}%{_datadir}
|
||||||
|
|
||||||
|
%if 0%{?suse_version} < 1330
|
||||||
%post
|
%post
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
%icon_theme_cache_post
|
%icon_theme_cache_post
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} < 1330
|
||||||
%postun
|
%postun
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_bindir}/%{name}*
|
%{_bindir}/%{name}*
|
||||||
%{_datadir}/%{name}/
|
%{_datadir}/%{name}/
|
||||||
|
Reference in New Issue
Block a user