packages: violetland/violetland.spec - updated to 0.2.10 - unify cmake buil...

lisu lisu at pld-linux.org
Thu Apr 29 09:56:20 CEST 2010


Author: lisu                         Date: Thu Apr 29 07:56:20 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.2.10
- unify cmake build section

---- Files affected:
packages/violetland:
   violetland.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/violetland/violetland.spec
diff -u packages/violetland/violetland.spec:1.8 packages/violetland/violetland.spec:1.9
--- packages/violetland/violetland.spec:1.8	Mon Mar  1 09:59:53 2010
+++ packages/violetland/violetland.spec	Thu Apr 29 09:56:14 2010
@@ -2,12 +2,12 @@
 Summary:	Opensource crossplatform game similar to crimsonland
 Summary(pl.UTF-8):	Otwarta gra wieloplatformowa podobna do crimsonland
 Name:		violetland
-Version:	0.2.9
+Version:	0.2.10
 Release:	1
 License:	GPL v3+
 Group:		X11/Applications/Games
 Source0:	http://violetland.googlecode.com/files/%{name}-v%{version}-src.zip
-# Source0-md5:	03487b039208a5c87a0558543c723e71
+# Source0-md5:	9299781c41b255faf76035b692e3aae8
 Patch0:		%{name}-useless_files.patch
 URL:		http://code.google.com/p/violetland/
 BuildRequires:	OpenGL-GLU-devel
@@ -42,10 +42,14 @@
 %patch0 -p1
 
 %build
-mkdir build && cd build
+install -d build
+cd build
 %cmake .. \
-	-DCMAKE_INSTALL_PREFIX="%{_prefix}"
-%{__make}
+	-DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -69,6 +73,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2010/04/29 07:56:14  lisu
+- updated to 0.2.10
+- unify cmake build section
+
 Revision 1.8  2010/03/01 08:59:53  lisu
 - updated to 0.2.9
 - use %%undos macro instead of dos2unix to fix ugly DOS formatting
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/violetland/violetland.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list