SPECS: 54321.spec - BR: SDL-devel >= 1.2.11-2 - add linking patch ...

sparky sparky at pld-linux.org
Sun Nov 5 22:45:27 CET 2006


Author: sparky                       Date: Sun Nov  5 21:45:27 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR: SDL-devel >= 1.2.11-2
- add linking patch
- add rpmldflags
- don't strip

---- Files affected:
SPECS:
   54321.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/54321.spec
diff -u SPECS/54321.spec:1.20 SPECS/54321.spec:1.21
--- SPECS/54321.spec:1.20	Wed Sep 22 03:09:02 2004
+++ SPECS/54321.spec	Sun Nov  5 22:45:22 2006
@@ -6,12 +6,13 @@
 Release:	3
 License:	GPL
 Group:		X11/Applications/Games
-Source0:	http://nklein.com/products/54321/1.0.2001.11.16/%{name}.tgz
+Source0:	http://nklein.com/products/54321/%{version}/%{name}.tgz
 # Source0-md5:	20b2ad52ef45742c1a65911b225b6ddc
 Source1:	%{name}.desktop
 Patch0:		%{name}-sdl_include_dir_fix.patch
+Patch1:		%{name}-linking.patch
 URL:		http://www.nklein.com/products/54321/
-BuildRequires:	SDL-devel
+BuildRequires:	SDL-devel >= 1.2.11-2
 BuildRequires:	SDL_image-devel
 Requires:	SDL >= 1.2.4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,12 +30,15 @@
 %prep
 %setup -q -n 54321
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} -f GNUmakefile \
 	CC="%{__cc}" \
 	CXX="%{__cxx}" \
-	CXXFLAGS="%{rpmcflags} -I/usr/include/SDL -DNDEBUG=1"
+	LDFLAGS="%{rpmldflags}" \
+	CXXFLAGS="%{rpmcflags} -I/usr/include/SDL -DNDEBUG=1" \
+	STRIP="echo"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -70,6 +74,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2006/11/05 21:45:22  sparky
+- BR: SDL-devel >= 1.2.11-2
+- add linking patch
+- add rpmldflags
+- don't strip
+
 Revision 1.20  2004/09/22 01:09:02  ankry
 - rel. 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/54321.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list