diff -burN lifegeek.orig/version.c lifegeek/version.c
---- lifegeek.orig/version.c 2004-04-02 03:50:16.000000000 +0200
-+++ lifegeek/version.c 2004-04-04 13:15:32.914395160 +0200
-@@ -61,10 +61,10 @@
+--- lifegeek.orig/version.c 2004-07-09 22:41:06.233012248 +0200
++++ lifegeek/version.c 2004-07-09 22:42:21.917506456 +0200
+@@ -62,10 +62,10 @@
+ char* LIFEGEEK_VERSION = "1.0b6";
- NOTE: Before you change the install locations, see the file INSTALL for
- important information. */
+ #ifndef CONFIG_WIN
-char* MAINFILE = "/usr/local/share/lifegeek/main.lg";
-char* LICENSEFILE = "/usr/local/share/lifegeek/license.lg";
-char* WASTEFILE = "/usr/local/share/lifegeek/waste.lg";
+char* LICENSEFILE = "/usr/share/lifegeek/license.lg";
+char* WASTEFILE = "/usr/share/lifegeek/waste.lg";
+char* JOBFILE="/usr/share/lifegeek/job.lg";
+ #else
+ char* MAINFILE = "main.lg";
+ char* LICENSEFILE = "license.lg";
+@@ -74,13 +74,13 @@
+ #endif
- /* Score file
-
-@@ -74,11 +74,11 @@
- NOTE: Before you change the install locations, see the file INSTALL for
- important information. */
-
--char* SCOREFILE = "/usr/local/share/lifegeek/scores.lgs";
+ #ifndef CONFIG_WIN
+-char* SCOREFILE = "/usr/local/share/scores.lgs";
+char* SCOREFILE = "/var/games/lifegeek/scores.lgs";
+ #else
+ char* SCOREFILE = "scores.lgs";
+ #endif
- /* Save files in this directory
- NOTE: Before you change the install locations, see the file INSTALL for
- important information. */
+ #ifndef CONFIG_WIN
-char* SAVEFILES = "/usr/local/share/lifegeek";
+char* SAVEFILES = "/var/games/lifegeek";
-
- /* There are additional settings in version.h that you need to define as well */
+ #else
+ char* SAVEFILES = "/lifegeek";
+ #endif
Summary(pl): Gra "The Life of a Geek" (¯ycie geeka)
Name: lifegeek
Version: 1.0
-%define _pre b4
+%define _pre b6
Release: 0.%{_pre}
License: GPL v2
Group: Applications/Games
Source0: http://dl.sourceforge.net/lifegeek/%{name}-%{version}%{_pre}.tar.gz
-# Source0-md5: c748a2cbd3c9ac63621ed4c8ebf4da53
+# Source0-md5: 7cf313b14a52b3d87606f98767a23ac0
Patch0: %{name}-path.patch
URL: http://lifegeek.sourceforge.net/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)