packages: xut/xut.spec - fix linking (link.patch)
lisu
lisu at pld-linux.org
Thu Nov 5 13:46:27 CET 2009
Author: lisu Date: Thu Nov 5 12:46:26 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- fix linking (link.patch)
---- Files affected:
packages/xut:
xut.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/xut/xut.spec
diff -u packages/xut/xut.spec:1.3 packages/xut/xut.spec:1.4
--- packages/xut/xut.spec:1.3 Thu Nov 5 13:11:05 2009
+++ packages/xut/xut.spec Thu Nov 5 13:46:21 2009
@@ -1,7 +1,6 @@
# $Revision$, $Date$
#
# TODO: - fix auto tools
-# - move linking to Makefiles
#
%define file_version %(echo %{version} | tr . _)
Summary: A button football simulation
@@ -14,6 +13,7 @@
Source0: http://downloads.sourceforge.net/digenv/%{name}_%{file_version}_src.tar.bz2
# Source0-md5: 66c4bcd2ebc0fb5762bdea1df0db5a94
Patch0: %{name}-makefile.patch
+Patch1: %{name}-link.patch
URL: http://xut.dnteam.org
BuildRequires: OpenAL-devel
BuildRequires: OpenGL-GLU-devel
@@ -38,6 +38,7 @@
%prep
%setup -q -n %{name}
%patch0 -p1
+%patch1 -p1
%build
#%%{__aclocal}
@@ -46,10 +47,6 @@
%configure
%{__make}
-# link manually (there is no linking workaround in sources)
-cd src
-%{__cc} %{rpmcflags} %{rpmldflags} -o ../bin/%{name} `find -name "*.o"` -lopenal `sdl-config --libs` -lSDL_gfx -lSDL_image -lSDL_ttf -lcal3d -logg -lGL -lGLU -lvorbisfile
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
@@ -73,6 +70,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2009/11/05 12:46:21 lisu
+- fix linking (link.patch)
+
Revision 1.3 2009/11/05 12:11:05 lisu
- up to 0.2
- manual linking (there is no linking workaround in sources)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xut/xut.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list