SPECS: openttd.spec - everything needs to be revised

sparky sparky at pld-linux.org
Thu Mar 15 02:21:11 CET 2007


Author: sparky                       Date: Thu Mar 15 01:21:11 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- everything needs to be revised

---- Files affected:
SPECS:
   openttd.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SPECS/openttd.spec
diff -u SPECS/openttd.spec:1.40 SPECS/openttd.spec:1.41
--- SPECS/openttd.spec:1.40	Wed Mar 14 22:20:28 2007
+++ SPECS/openttd.spec	Thu Mar 15 02:21:05 2007
@@ -7,7 +7,7 @@
 Summary(pl.UTF-8):	Otwarta reimplementacja gry Transport Tycoon Deluxe
 Name:		openttd
 Version:	0.5.0
-Release:	1
+Release:	0.1
 License:	GPL
 Group:		X11/Applications/Games
 Source0:	http://dl.sourceforge.net/openttd/%{name}-%{version}-source.tar.bz2
@@ -19,8 +19,10 @@
 Patch2:		%{name}-pthread.patch
 URL:		http://www.openttd.com/
 BuildRequires:	SDL-devel
+BuildRequires:	freetype-devel
 %{?with_home_etc:BuildRequires:	home-etc-devel}
 BuildRequires:	libpng-devel
+BuildRequires:	libstdc++-devel
 BuildRequires:	sed >= 4
 BuildRequires:	zlib-devel
 Requires:	%{name}-data = %{version}-%{release}
@@ -78,6 +80,7 @@
 #%patch1 -p1
 %patch2 -p0
 
+%{__sed} 's/ifndef USE_HOMEDIR/ifdef USE_HOMEDIR/' -i Makefile
 # Let's pldize
 find lang/ -type f -exec sed -i 's/:Unix/:PLD Linux/' \{\} \;
 
@@ -97,10 +100,14 @@
 	WITH_NETWORK=1 \
 	WITH_SDL= \
 	WITH_PNG= \
+	WITH_FREETYPE= \
+	WITH_FONTCONFIG= \
+	VERBOSE=1 \
 	DEDICATED=1
 
 mv openttd openttd-dedicated
 
+rm -f Makefile.config
 %{__make} clean
 %{__make} \
 	CC="%{__cc}" \
@@ -117,6 +124,10 @@
 	WITH_NETWORK=1 \
 	WITH_SDL=1 \
 	WITH_PNG=1 \
+	WITH_FREETYPE=1 \
+	WITH_FONTCONFIG=1 \
+	WITH_ICONV=1 \
+	VERBOSE=1 \
 	DEDICATED=0
 
 %install
@@ -165,6 +176,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2007/03/15 01:21:05  sparky
+- everything needs to be revised
+
 Revision 1.40  2007/03/14 21:20:28  sparky
 - up to 0.5.0 final
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openttd.spec?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list