SPECS: openttd.spec - up to 0.5.0-RC1 - pthread patch - freetype i...

czarny czarny at pld-linux.org
Sat Dec 23 16:15:32 CET 2006


Author: czarny                       Date: Sat Dec 23 15:15:32 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.5.0-RC1
- pthread patch
- freetype include patch

---- Files affected:
SPECS:
   openttd.spec (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: SPECS/openttd.spec
diff -u SPECS/openttd.spec:1.35 SPECS/openttd.spec:1.36
--- SPECS/openttd.spec:1.35	Tue Aug 29 19:38:47 2006
+++ SPECS/openttd.spec	Sat Dec 23 16:15:27 2006
@@ -6,17 +6,18 @@
 Summary:	An open source reimplementation of the Microprose game "Transport Tycoon Deluxe"
 Summary(pl):	Otwarta reimplementacja gry Transport Tycoon Deluxe
 Name:		openttd
-Version:	0.4.8
-Release:	1
+Version:	0.5.0
+%define		_rc	RC1
+Release:	0.%{_rc}
 License:	GPL
 Group:		X11/Applications/Games
-Source0:	http://ovh.dl.sourceforge.net/sourceforge/openttd/%{name}-%{version}-source.tar.bz2
-# Source0-md5:	de9643ee2009db73763941489ad08569
+Source0:	http://dl.sourceforge.net/openttd/%{name}-%{version}-%{_rc}-source.tar.bz2
+# Source0-md5:	18048152b32e2f351f14dd2c84d00b52
 Source1:	%{name}.desktop
 Source2:	%{name}-server.desktop
 Patch0:		%{name}-home_etc.patch
 Patch1:		%{name}-personal-data.patch
-Patch2:		%{name}-Makefile.patch
+Patch2:		%{name}-pthread.patch
 URL:		http://www.openttd.com/
 BuildRequires:	SDL-devel
 %{?with_home_etc:BuildRequires:	home-etc-devel}
@@ -73,10 +74,10 @@
 że graficzny klient OpenTTD również posiada tą funkcjonalność.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}-%{_rc}
 %{?with_home_etc:%patch0 -p1}
 #%patch1 -p1
-%patch2 -p1
+%patch2 -p0
 
 # Let's pldize
 find lang/ -type f -exec sed -i 's/:Unix/:PLD Linux/' \{\} \;
@@ -85,8 +86,8 @@
 %{__make} \
 	CC="%{__cc}" \
 	CXX="%{__cxx}" \
-	CFLAGS="%{rpmcflags} `sdl-config --cflags`" \
-	LDFLAGS="%{rpmldflags} -lpthread" \
+	CFLAGS="%{rpmcflags} `sdl-config --cflags` -I/usr/include/freetype2" \
+	LDFLAGS="%{rpmldflags}" \
 	INSTALL=1 \
 	PREFIX="" \
 	BINARY_DIR="%{_bindir}" \
@@ -105,8 +106,8 @@
 %{__make} \
 	CC="%{__cc}" \
 	CXX="%{__cxx}" \
-	CFLAGS="%{rpmcflags} `sdl-config --cflags`" \
-	LDFLAGS="%{rpmldflags} -lpthread" \
+	CFLAGS="%{rpmcflags} `sdl-config --cflags` -I/usr/include/freetype2" \
+	LDFLAGS="%{rpmldflags}" \
 	INSTALL=1 \
 	PREFIX="" \
 	BINARY_DIR="%{_bindir}" \
@@ -165,6 +166,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2006/12/23 15:15:27  czarny
+- up to 0.5.0-RC1
+- pthread patch
+- freetype include patch
+
 Revision 1.35  2006/08/29 17:38:47  emes
 - updated to 0.4.8
 
================================================================

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



More information about the pld-cvs-commit mailing list