SPECS: nexuiz.spec - fixes, datadir patch not needed
sparky
sparky at pld-linux.org
Tue Jan 30 20:13:34 CET 2007
Author: sparky Date: Tue Jan 30 19:13:34 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixes, datadir patch not needed
---- Files affected:
SPECS:
nexuiz.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/nexuiz.spec
diff -u SPECS/nexuiz.spec:1.2 SPECS/nexuiz.spec:1.3
--- SPECS/nexuiz.spec:1.2 Tue Jan 30 17:30:10 2007
+++ SPECS/nexuiz.spec Tue Jan 30 20:13:28 2007
@@ -1,4 +1,5 @@
# $Revision$, $Date$
+%define _ver %(echo %{version} | tr -d .)
Summary: nexuiz - engine for first-person shoter game
Summary(pl): nexuiz - silnik do strzelaniny w pierwszej osobie
Name: nexuiz
@@ -6,9 +7,8 @@
Release: 1
License: GPL
Group: Applications/Games
-Source0: http://dl.sourceforge.net/nexuiz/%{name}-223.zip
+Source0: http://dl.sourceforge.net/nexuiz/%{name}-%{_ver}.zip
# Source0-md5: 953fda1555fc1f9ca040bdbb797eb0fd
-Patch0: %{name}-datadir.patch
URL: http://nexuiz.com/
BuildRequires: SDL-devel
BuildRequires: alsa-lib-devel
@@ -38,12 +38,15 @@
%setup -q -n Nexuiz
cd sources
%{__unzip} -o -qq enginesource20070123.zip
-sed -i s/-Wdeclaration-after-statement/#-Wdeclaration-after-statement/ darkplaces/makefile.inc
-%patch0 -p0
+sed -i 's/-Wdeclaration-after-statement//; /strip /d' darkplaces/makefile.inc
%build
cd sources/darkplaces
-%{__make} nexuiz
+%{__make} nexuiz \
+ CC="%{__cc}" \
+ OPTIM_RELEASE="%{rpmcflags}" \
+ LDFLAGS_RELEASE="%{rpmcflags} %{rpmldflags}" \
+ DP_FS_BASEDIR="%{_datadir}/games/%{name}"
%install
rm -rf $RPM_BUILD_ROOT
@@ -62,10 +65,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2007/01/30 19:13:28 sparky
+- fixes, datadir patch not needed
+
Revision 1.2 2007/01/30 16:30:10 jackass
- separate data files to other spec
Revision 1.1 2007/01/30 15:38:30 jackass
- initial release
-
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/nexuiz.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list