Slune.spec

lisu lisu87 at gmail.com
Sun Sep 24 12:29:28 CEST 2006


BR: SDL_mixer-devel
-------------- next part --------------
--- Slune.spec.old	2006-09-24 12:21:56.000000000 +0200
+++ Slune.spec	2006-09-24 12:23:46.000000000 +0200
@@ -1,18 +1,21 @@
 # $Revision: 1.10 $, $Date: 2006/09/24 08:30:33 $
+%define _rc     rc1
 Summary:	A 3D action car game
 Summary(pl):	Samochodowa gra akcji 3D
 Name:		Slune
-Version:	1.0.8
-Release:	0.1
+Version:	1.0.12
+Release:	0.%{_rc}.1
 License:	GPL
 Group:		X11/Applications/Games
-Source0:	http://download.gna.org/slune/%{name}-%{version}.tar.bz2
-# Source0-md5:	956125aa49562d21cf08835889964a13
+Source0:	http://download.gna.org/slune/%{name}-%{version}%{_rc}.tar.bz2
+# Source0-md5:	ba523c653e0be5f07400061694006718
 Source1:	%{name}.desktop
+Patch0:		%{name}-slune_bin.patch
 URL:		http://home.gna.org/oomadness/en/slune/index.html
 BuildRequires:	OpenAL-devel
 BuildRequires:	OpenGL-devel
 BuildRequires:	SDL-devel
+BuildRequires:	SDL_mixer-devel
 BuildRequires:	libvorbis-devel
 Requires:	python-EditObj
 Requires:	python-Py2Play
@@ -32,7 +35,8 @@
 AIDS w Afryce.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}%{_rc}
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
-------------- next part --------------
--- Slune-1.0.12rc1/slune~	2006-09-23 23:16:32.000000000 +0200
+++ Slune-1.0.12rc1/slune	2006-09-23 23:15:59.000000000 +0200
@@ -36,10 +36,8 @@
   sys.path.insert(0, APPDIR)
 
 import slune.globdef as globdef, soya
-soya.init(width = globdef.SCREEN_WIDTH, height = globdef.SCREEN_HEIGHT, fullscreen = globdef.FULLSCREEN, sound = 1, sound_doppler_factor = 0.005, sound_reference_distance = 3.0)
-#soya.init(width = globdef.SCREEN_WIDTH, height = globdef.SCREEN_HEIGHT, fullscreen = globdef.FULLSCREEN)
+soya.init(width = globdef.SCREEN_WIDTH, height = globdef.SCREEN_HEIGHT, fullscreen = globdef.FULLSCREEN)
 soya.set_quality(globdef.QUALITY)
-soya.set_sound_volume(globdef.SOUND_VOLUME)
 
 LEVEL        = ""
 PARRAIN_HOST = None


More information about the pld-devel-pl mailing list