packages: allegro/allegro.spec - new cmake makro

draenog draenog at pld-linux.org
Fri Feb 4 00:13:07 CET 2011


Author: draenog                      Date: Thu Feb  3 23:13:07 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new cmake makro

---- Files affected:
packages/allegro:
   allegro.spec (1.86 -> 1.87) 

---- Diffs:

================================================================
Index: packages/allegro/allegro.spec
diff -u packages/allegro/allegro.spec:1.86 packages/allegro/allegro.spec:1.87
--- packages/allegro/allegro.spec:1.86	Fri Oct 15 08:53:34 2010
+++ packages/allegro/allegro.spec	Fri Feb  4 00:13:01 2011
@@ -37,6 +37,7 @@
 BuildRequires:	libstdc++-devel
 BuildRequires:	libvorbis-devel
 BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.577
 BuildRequires:	sed >= 4.0
 %{?with_svga:BuildRequires:	svgalib-devel}
 BuildRequires:	texinfo
@@ -346,19 +347,11 @@
 install -d build
 cd build
 %cmake .. \
-	-DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
-	-DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
-	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-	-DCMAKE_VERBOSE_MAKEFILE=1 \
-	-DMANDIR=%{_mandir} \
 	-DINFODIR=%{_infodir} \
 	-DPLATFORM_LIBS=-ldl \
 	-DWANT_LINUX_CONSOLE=1 \
 	%{!?with_vga:-DWANT_LINUX_VGA=off} \
-	%{!?with_svga:-DWANT_LINUX_SVGALIB=off} \
-%if "%{_lib}" == "lib64"
-	-DLIB_SUFFIX=64
-%endif
+	%{!?with_svga:-DWANT_LINUX_SVGALIB=off}
 
 %{__make}
 
@@ -569,6 +562,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.87  2011/02/03 23:13:01  draenog
+- new cmake makro
+
 Revision 1.86  2010/10/15 06:53:34  qboosh
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/allegro/allegro.spec?r1=1.86&r2=1.87&f=u



More information about the pld-cvs-commit mailing list