packages: bomberclone/bomberclone.spec - use autotools - drop redundand opt...

lisu lisu at pld-linux.org
Tue Jan 11 15:38:45 CET 2011


Author: lisu                         Date: Tue Jan 11 14:38:45 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use autotools
- drop redundand optimization flags
- pass our rpmcxxflags when building server

---- Files affected:
packages/bomberclone:
   bomberclone.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: packages/bomberclone/bomberclone.spec
diff -u packages/bomberclone/bomberclone.spec:1.21 packages/bomberclone/bomberclone.spec:1.22
--- packages/bomberclone/bomberclone.spec:1.21	Tue Jan 11 14:35:00 2011
+++ packages/bomberclone/bomberclone.spec	Tue Jan 11 15:38:40 2011
@@ -18,6 +18,7 @@
 Source2:	%{name}.desktop
 Patch0:		%{name}-link.patch
 Patch1:		%{name}mserv-include.patch
+Patch2:		%{name}mserv-flags.patch
 URL:		http://www.bomberclone.de/
 BuildRequires:	SDL_image-devel >= 1.2
 BuildRequires:	SDL_mixer-devel >= 1.2
@@ -54,10 +55,15 @@
 %patch0 -p1
 cd %{_mserv}
 %patch1 -p1
-
+%patch2 -p0
 
 %build
-%configure
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--disable-debug
 %{__make}
 
 cd %{_mserv}
@@ -66,7 +72,8 @@
 %{__autoheader}
 %{__automake}
 %configure
-%{__make}
+%{__make} \
+	OPTFLAGS="%{rpmcxxflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -108,6 +115,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2011/01/11 14:38:40  lisu
+- use autotools
+- drop redundand optimization flags
+- pass our rpmcxxflags when building server
+
 Revision 1.21  2011/01/11 13:35:00  lisu
 - updated to 0.11.9
 - some cleanups
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bomberclone/bomberclone.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list