Slune.spec

lisu lisu87 at gmail.com
Sat Sep 23 23:50:44 CEST 2006


Update wersji 1.0.8 do 1.0.12rc1

Zmiany:

- Added SDL_mixer sound support
- Fix a sound problem
- Disable network support due to security problem
- Update for new Soya sound API 
- No longer using the deprecated soya.particle module

Cos nie bardzo ten 'new Soya sound API' chodzi, dlatego tez patch jest, ale jak cos nie tak to krzyczec.

Pozdrawiam
-------------- next part --------------
--- Slune.spec.old	2006-09-23 23:20:16.000000000 +0200
+++ Slune.spec	2006-09-23 23:11:43.000000000 +0200
@@ -1,14 +1,16 @@
 # $Revision: 1.9 $, $Date: 2005/07/25 08:47:16 $
+%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
@@ -32,7 +34,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