forked from pool/cdogs-sdl
Accepting request 440879 from home:Mailaender:branches:games
new upstream version OBS-URL: https://build.opensuse.org/request/show/440879 OBS-URL: https://build.opensuse.org/package/show/games/cdogs-sdl?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
d56798d891
commit
739fbfe7ee
@@ -17,33 +17,34 @@
|
||||
|
||||
|
||||
Name: cdogs-sdl
|
||||
Version: 0.6.2
|
||||
Version: 0.6.3
|
||||
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
|
||||
Group: Amusements/Games/Action/Shoot
|
||||
Url: http://cxong.github.io/cdogs-sdl
|
||||
Source: https://github.com/cxong/cdogs-sdl/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM https://github.com/cxong/cdogs-sdl/pull/453
|
||||
Patch0: cmake-install.patch
|
||||
# PATCH-FIX-UPSTREAM https://github.com/cxong/cdogs-sdl/pull/469
|
||||
Patch0: copying.patch
|
||||
# PATCH-FIX-OPENSUSE borrowed from Mageia
|
||||
Patch1: cdogs-sdl-0.6.0-mga-unbundle-enet.patch
|
||||
# PATCH-FIX-OPENSUSE borrowed from Mageia
|
||||
Patch2: cdogs-sdl-0.6.1-mga-unbundle-yajl.patch
|
||||
# PATCH-FEATURE-UPSTREAM https://github.com/cxong/cdogs-sdl/pull/452
|
||||
Patch3: appdata.patch
|
||||
# PATCH-FIX-UPSTREAM https://github.com/cxong/cdogs-sdl/pull/471
|
||||
Patch3: datadir.patch
|
||||
# PATCH-FIX-UPSTREAM https://github.com/cxong/cdogs-sdl/pull/470
|
||||
Patch4: install-prefix.patch
|
||||
BuildRequires: cmake >= 2.8.2
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: libyajl-devel >= 2.1
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(SDL2_image)
|
||||
BuildRequires: pkgconfig(SDL2_mixer)
|
||||
BuildRequires: pkgconfig(libenet)
|
||||
BuildRequires: pkgconfig(physfs)
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
BuildRequires: pkgconfig(yajl) >= 2.1
|
||||
|
||||
%description
|
||||
C-Dogs SDL is a classic overhead run-and-gun game, supporting up to
|
||||
@@ -56,6 +57,7 @@ from up to 11 weapons, and try over 100 user-created campaigns. Have fun!
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
|
||||
rm -rf src/cdogs/enet
|
||||
rm -rf src/cdogs/yajl
|
||||
@@ -69,7 +71,6 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
rm %{buildroot}%{_datadir}/icons/cdogs-sdl.png
|
||||
install -Dm0644 build/linux/cdogs-icon.16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/cdogs-sdl.png
|
||||
install -Dm0644 build/linux/cdogs-icon.22.png %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/cdogs-sdl.png
|
||||
install -Dm0644 build/linux/cdogs-icon.32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/cdogs-sdl.png
|
||||
|
Reference in New Issue
Block a user