SPECS: xmoto.spec - compile with shared ode and lua - pass OPTFLAG...

wolf wolf at pld-linux.org
Fri Oct 7 14:07:11 CEST 2005


Author: wolf                         Date: Fri Oct  7 12:07:11 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- compile with shared ode and lua
- pass OPTFLAGS to make

---- Files affected:
SPECS:
   xmoto.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/xmoto.spec
diff -u SPECS/xmoto.spec:1.5 SPECS/xmoto.spec:1.6
--- SPECS/xmoto.spec:1.5	Fri Oct  7 13:23:56 2005
+++ SPECS/xmoto.spec	Fri Oct  7 14:07:05 2005
@@ -1,7 +1,5 @@
 # $Revision$, $Date$
 #
-# TODO: build with shared ode, lua
-#
 Summary:	Clone of across/elma games
 Summary(pl):	Klon gry across/elma
 Name:		xmoto
@@ -13,10 +11,17 @@
 # Source0-md5:	b5d11e0f90ab5ff886c1dc90fa15cb2e
 Patch0:		%{name}-opt.patch
 Patch1:		%{name}-types.patch
+Patch2:		%{name}-shared_libs.patch
 URL:		http://xmoto.sourceforge.net/
 BuildRequires:	OpenGL-devel
 BuildRequires:	SDL-devel
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libtool
 BuildRequires:	libvorbis-devel
+BuildRequires:	lua50-devel
+BuildRequires:	ode-devel
+BuildRequires:	pkgconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -41,10 +46,17 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+
 %configure
-%{__make}
+%{__make} \
+	OPTFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -67,6 +79,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/10/07 12:07:05  wolf
+- compile with shared ode and lua
+- pass OPTFLAGS to make
+
 Revision 1.5  2005/10/07 11:23:56  wolf
 - 0.1.6
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xmoto.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list