SHA256
1
0
forked from pool/bzflag

Accepting request 37092 from games

checked in (request 37092)

OBS-URL: https://build.opensuse.org/request/show/37092
OBS-URL: https://build.opensuse.org/package/show/games/bzflag?expand=0&rev=8
This commit is contained in:
OBS User autobuild
2010-04-06 21:24:03 +00:00
committed by Git OBS Bridge
parent 5dc00621b2
commit 9e255a3b14
4 changed files with 11 additions and 38 deletions

View File

@@ -15,12 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: bzflag
BuildRequires: bc curl-devel freeglut-devel gcc-c++ libcares-devel libdrm-devel ncurses-devel update-desktop-files fdupes libSDL-devel
BuildRequires: bc curl-devel freeglut-devel gcc-c++ libcares-devel libdrm-devel ncurses-devel update-desktop-files
License: GPLv2+
Group: Amusements/Games/3D/Shoot
Version: 2.0.16
Release: 1
Version: 2.0.12
Release: 5
Summary: 3D Networked Multiplayer Tank Battle Game
Url: http://BZFlag.org/
Source: %{name}-%{version}.tar.bz2
@@ -32,6 +35,7 @@ Source6: %{name}.png
Patch: %{name}-1.10.4-ncursespollution.patch
Patch1: %{name}-decl.patch
Patch3: %{name}-char-signedness.patch
Patch5: %{name}-2.0.10-array-subscript.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %insserv_prereq %fillup_prereq
@@ -55,6 +59,7 @@ Authors:
%patch -p1
%patch1
%patch3 -p1
%patch5
cp %SOURCE2 .
%build
@@ -86,7 +91,6 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/bzflag/maps
install -m 644 maps/*bzmap $RPM_BUILD_ROOT%{_datadir}/bzflag/maps
install -D -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/pixmaps/bzflag.png
%suse_update_desktop_file -i %{name}
%fdupes %buildroot
%clean
rm -rf $RPM_BUILD_ROOT