SPECS: mistlands.spec - building goes on (more BR, build opts)
blues
blues at pld-linux.org
Fri Jul 15 15:59:15 CEST 2005
Author: blues Date: Fri Jul 15 13:59:15 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- building goes on (more BR, build opts)
---- Files affected:
SPECS:
mistlands.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/mistlands.spec
diff -u SPECS/mistlands.spec:1.2 SPECS/mistlands.spec:1.3
--- SPECS/mistlands.spec:1.2 Fri Jul 15 15:27:29 2005
+++ SPECS/mistlands.spec Fri Jul 15 15:59:09 2005
@@ -1,6 +1,6 @@
# $Revision$, $Date$
-#
-#
+# TODO:
+# - make some optimizations depending on processor...
Summary: Mistlands - online role-playing game
Name: mistlands
Version: 0.4.0
@@ -10,6 +10,14 @@
Source: http://dl.sourceforge.net/sourceforge/zerofps/%{name}-%{version}-linux.tar.bz2
# Source-md5: fa30bf78655bcffc5ae36c9d70e48252
URL: http://www.zeropointgameplay.com/mistlands/intro.html
+# Really needed??
+#BuildRequires: gcc >= 3.4
+BuildRequires: lua50-devel
+BuildRequires: sed
+BuildRequires: tolua++
+BuildRequires: SDL >= 1.2.7
+BuildRequires: SDL_net >= 1.2.5
+BuildRequires: OpenAL
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -23,19 +31,15 @@
%prep
%setup -q -n zerofpsv2
+tar -jxvf src.tar.bz2
%build
-# if ac/am/* rebuilding is necessary, do it in this order and add
-# appropriate BuildRequires
-#%%{__gettextize}
-#%%{__libtoolize}
-#%%{__aclocal}
-#%%{__autoconf}
-#%%{__autoheader}
-#%%{__automake}
-#cp -f /usr/share/automake/config.sub .
-%configure
-%{__make}
+cd src
+%{__make} \
+ CXX=%{__cxx} \
+ CC=%{__cc} \
+ CXXFLAGS="%{rpmcxxflags} -I/usr/include/lua50 -I/usr/include" \
+ C_ARGS="%{rpmcflags} -I/usr/include/lua50 -I/usr/include"
%install
rm -rf $RPM_BUILD_ROOT
@@ -78,6 +82,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2005/07/15 13:59:09 blues
+- building goes on (more BR, build opts)
+
Revision 1.2 2005/07/15 13:27:29 blues
- quick fix
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mistlands.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list