File nexuiz.spec of Package nexuiz
#
# spec file for package nexuiz (Version 1.2.1)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: nexuiz
BuildRequires: SDL-devel xorg-x11-Mesa-devel unzip
URL: http://www.nexuiz.com/
License: GPL
Group: Amusements/Games/3D/Shoot
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
Requires: nexuiz-data
Version: 2.2.3
Release: 14
Summary: Deathmatch First-Person Shooter
Source: nexuiz-223.zip
Patch: snprintf.patch
Patch1: includeorder.patch
Patch2: makefile.patch
%description
A 3D deathmatch game made entirely over the Internet. The purpose of
the game is to bring deathmatch back to the basics, with perfect weapon
balancing and fast paced action, keeping itself away from the current
trend of realistic shooters. It uses HFX textures by Evil Lair, and
currently has 17 maps to frag in. With an advanced UI, the user can
select between 15 different player models to use, with an average of
two skins for each, and can connect to the master server to play with
people from all over the world.
The game's content and source are GPL, meaning it is entirely free and
all of it can be used in other free projects, even if modified. This is
a first for any large game project of its type.
Authors:
--------
Lee Vermeulen
Forest "LordHavoc" Hale
Kurt Dereli
Andreas "Black" Kirsch
Reaper
Rick "Rat" Kelley
Yves "EviLair" Allaire
Gottfried "Toddd" Hofmann
SavageX
Innovati
Jody Gallagher
Juergen "LowDragon" Timm
Attila "WW3" Houtkooper
Garth "Zombie" Hendy
Dan "Digger" Korostelev
Sajt
Strahlemann
%package server
Summary: Nexuiz dedicated server
Group: Amusements/Games/3D/Shoot
License: GPL
Requires: nexuiz-data
%description server
Nexuiz dedicated server.
%prep
%setup -cTn Nexuiz
cd ..
unzip %SOURCE0
cd Nexuiz/sources
unzip enginesource*.zip
unzip gamesource*.zip
cd ..
%patch
%patch1
%patch2
%build
cd sources/darkplaces
make release CPUOPTIMIZATIONS="$RPM_OPT_FLAGS" UNIX_X11LIBPATH=/usr/X11R6/%_lib DP_FS_BASEDIR=/usr/share/nexuiz
%install
cd sources/darkplaces
install -d -m 755 $RPM_BUILD_ROOT/usr/games
install -d -m 755 $RPM_BUILD_ROOT/usr/share/nexuiz
install -d -m 755 $RPM_BUILD_ROOT/usr/share/nexuiz/data
install -m 755 darkplaces-sdl $RPM_BUILD_ROOT/usr/games/nexuiz
install -m 755 darkplaces-dedicated $RPM_BUILD_ROOT/usr/games/nexuiz-dedicated
install -m 755 darkplaces-glx $RPM_BUILD_ROOT/usr/games/nexuiz-glx
cd ../..
#install -m 644 data/* $RPM_BUILD_ROOT/usr/share/nexuiz/data
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc Docs/*.* sources/darkplaces/COPYING
/usr/games/nexuiz
/usr/games/nexuiz-glx
%files server
%defattr(-,root,root)
%doc Docs/server/* sources/darkplaces/COPYING
/usr/games/nexuiz-dedicated
%changelog -n nexuiz
* Wed Sep 20 2006 - uli@suse.de
- update -> 2.1
- split into client/server/data package
* Wed May 24 2006 - schwab@suse.de
- Don't strip binaries.
* Fri Jan 27 2006 - nadvornik@suse.cz
- fixed BuildRequires
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Oct 11 2005 - uli@suse.de
- update -> 1.2.1
* Thu Sep 29 2005 - dmueller@suse.de
- add norootforbuild
* Thu Jun 09 2005 - uli@suse.de
- initial package