packages: legesmotus/legesmotus.spec - BR: OpenGL-GLU-devel, OpenGL-devel, ...

sparky sparky at pld-linux.org
Sun May 16 17:54:23 CEST 2010


Author: sparky                       Date: Sun May 16 15:54:23 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- BR: OpenGL-GLU-devel, OpenGL-devel, desktop-file-utils, libstdc++-devel, which
- fix build with xorg (no common X11 dir)

---- Files affected:
packages/legesmotus:
   legesmotus.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/legesmotus/legesmotus.spec
diff -u packages/legesmotus/legesmotus.spec:1.2 packages/legesmotus/legesmotus.spec:1.3
--- packages/legesmotus/legesmotus.spec:1.2	Tue Apr 27 16:11:27 2010
+++ packages/legesmotus/legesmotus.spec	Sun May 16 17:54:18 2010
@@ -11,9 +11,14 @@
 Patch0:		%{name}-flags.patch
 Patch1:		%{name}-desktop.patch
 URL:		http://legesmotus.cs.brown.edu/
+BuildRequires:	OpenGL-GLU-devel
+BuildRequires:	OpenGL-devel
 BuildRequires:	SDL_image-devel
 BuildRequires:	SDL_mixer-devel
 BuildRequires:	SDL_ttf-devel
+BuildRequires:	desktop-file-utils
+BuildRequires:	libstdc++-devel
+BuildRequires:	which
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -40,7 +45,9 @@
 %{__make} \
 	CXX="%{__cxx}" \
 	OPTFLAGS="%{rpmcxxflags}" \
-	OLDFLAGS="%{rpmldflags}"
+	OLDFLAGS="%{rpmldflags}" \
+	LIBS_GL="-lGL" \
+	XDIR=%{_prefix}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -48,6 +55,7 @@
 
 %{__make} install \
 	MANDIR=%{_mandir} \
+	XDIR=%{_prefix} \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install data/sprites/blue_head32.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
@@ -70,6 +78,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/05/16 15:54:18  sparky
+- BR: OpenGL-GLU-devel, OpenGL-devel, desktop-file-utils, libstdc++-devel, which
+- fix build with xorg (no common X11 dir)
+
 Revision 1.2  2010/04/27 14:11:27  lisu
 - up to 0.3.0
 - pl
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/legesmotus/legesmotus.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list