Update z wersji 1.2 do 1.2a + zmiany w patchu. Ponadto pare poprawek w
specu..


Zmiany:

*1.2a* Source release only: Bugfix for 'SDL_ttf render failed'. There is
no need to upgrade if 20K Light Years works on your machine. Also, the
game now stores savegames and configuration data in your home directory
(if you have one), and you don't need to run the game from the game
directory.

Pozdrawiam
--- LightYears.spec.old 2006-09-23 19:18:09.000000000 +0200
+++ LightYears.spec     2006-09-23 18:57:41.000000000 +0200
@@ -1,17 +1,20 @@
 # $Revision: 1.5 $, $Date: 2006/04/21 18:25:55 $
+%define        _alfa   a
 Summary:       20,000 Light Years Into Space - a real-time strategy game
 Summary(pl):   20,000 Light Years Into Space - strategia czasu rzeczywistego
 Name:          LightYears
 Version:       1.2
-Release:       1
+Release:       0.%{_alfa}.1
 License:       GPL v2
 Group:         X11/Applications/Games
-Source0:       
http://www.jwhitham.org.uk/biscuit_games/LightYears/%{name}-%{version}.zip
-# Source0-md5: f82bb67d14153affc8d9a644cdb25d5b
+Source0:       
http://www.jwhitham.org.uk/biscuit_games/LightYears/%{name}-%{version}%{_alfa}.zip
+# Source0-md5: b07bf041b3a735248440dd27cf70a3e6
 Source1:       %{name}.desktop
 Patch0:                %{name}-config_path.patch
 URL:           http://www.jwhitham.org.uk/biscuit_games/LightYears/
 %pyrequires_eq python-modules
+BuildRequires: rpm-pythonprov
+BuildRequires: unzip
 Requires:      python-pygame >= 1.7
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
--- LightYears-config_path.patch.orig   2006-09-23 19:11:59.000000000 +0200
+++ LightYears-config_path.patch        2006-09-23 19:11:09.000000000 +0200
@@ -1,33 +1,30 @@
-diff -dur -x '*~' LightYears.orig/code/config.py LightYears/code/config.py
---- LightYears.orig/code/config.py     2006-03-31 21:11:15.000000000 +0200
-+++ LightYears/code/config.py  2006-04-20 22:35:11.000000000 +0200
-@@ -4,6 +4,7 @@
- # 
- 
- import pickle , startup
-+import os
- 
- 
- class Config:
-@@ -17,13 +18,15 @@
+--- LightYears.orig/code/config.py     2006-09-23 19:09:59.000000000 +0200
++++ LightYears/code/config.py  2006-09-23 19:10:17.000000000 +0200
+@@ -17,10 +17,12 @@
  
  cfg = Config()
  
 +DIR = "~/.LightYears"
- FILENAME = "config.dat"
+ FILENAME = None
  
  def Initialise():
 -    global cfg, FILENAME
 +    global cfg, DIR, FILENAME
++
+ 
+     home = extra.Get_Home()
+     if ( home == None ):
+@@ -29,7 +31,8 @@
+         FILENAME = os.path.join(home, ".20k.cfg")
  
      try:
 -        f = file(FILENAME, "rb")
-+        dir = os.path.expanduser(DIR)
-+        f = file(os.path.join(dir, FILENAME), "rb")
++      dir = os.path.expanduser(DIR)
++      f = file(os.path.join(dir, FILENAME), "rb")
          cfg2 = pickle.load(f)
          f.close()
          if ( cfg2.version == startup.Get_Game_Version() ):
-@@ -36,7 +39,10 @@
+@@ -42,7 +45,10 @@
      global cfg, FILENAME
  
      try:
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym