packages: pokerth/pokerth.spec - up to 0.8.3 - pass optflags, force boost::...

qboosh qboosh at pld-linux.org
Sun May 8 14:55:13 CEST 2011


Author: qboosh                       Date: Sun May  8 12:55:13 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.8.3
- pass optflags, force boost::filesystem v2 for now (code not ready for v3)

---- Files affected:
packages/pokerth:
   pokerth.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: packages/pokerth/pokerth.spec
diff -u packages/pokerth/pokerth.spec:1.19 packages/pokerth/pokerth.spec:1.20
--- packages/pokerth/pokerth.spec:1.19	Wed May  4 15:51:40 2011
+++ packages/pokerth/pokerth.spec	Sun May  8 14:55:08 2011
@@ -2,12 +2,12 @@
 Summary:	The Open Source Texas-Holdem Poker Engine
 Summary(pl.UTF-8):	Silnik gry Texas-Holdem poker
 Name:		pokerth
-Version:	0.8.1
-Release:	3
+Version:	0.8.3
+Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	http://downloads.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2
-# Source0-md5:	990b2b7dcb48028c0e963161ddea5806
+# Source0-md5:	adbe56ad5f547eb255dad91de564bf1c
 URL:		http://www.pokerth.net/
 BuildRequires:	QtCore-devel >= 4.3.1
 BuildRequires:	QtGui-devel >= 4.3.1
@@ -20,26 +20,33 @@
 BuildRequires:	gsasl-devel
 BuildRequires:	qt4-build >= 4.3.1
 BuildRequires:	qt4-qmake >= 4.3.1
+BuildRequires:	sed >= 4.0
 BuildRequires:	zlib-devel >= 1.2.3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-PokerTH is a poker game written in C++/QT4. You can play the popular
+PokerTH is a poker game written in C++/Qt4. You can play the popular
 "Texas Hold'em" poker variant against up to six computer-opponents or
 play network games with people all over the world. This poker engine
-is available for Linux, Windows, and MacOSX.
+is available for Linux, Windows, and MacOS X.
 
 %description -l pl.UTF-8
-PokerTH to komputerowa gra w pokera napisana w C++/QT4. Umożliwia ona
+PokerTH to komputerowa gra w pokera napisana w C++/Qt4. Umożliwia ona
 grę w popularny wariant "Texas Hold'em" przeciwko maksymalnie sześciu
 komputerowym przeciwnikom lub sieciową grę z innymi zawodnikami.
-Silnik gry dostępny jest na platformy Linux, Windows oraz MacOSX.
+Silnik gry dostępny jest na platformy Linux, Windows oraz MacOS X.
 
 %prep
 %setup -q -n PokerTH-%{version}-src
 
+# what is it?
+sed -i -e '/-no_dead_strip_inits_and_terms/d' *.pro
+
 %build
-qmake-qt4 pokerth.pro
+qmake-qt4 pokerth.pro \
+	QMAKE_CXX="%{__cxx}" \
+	QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags} -DBOOST_FILESYSTEM_VERSION=2"
+	QMAKE_LFLAGS_RELEASE="%{rpmldflags}"
 %{__make}
 
 %install
@@ -67,6 +74,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2011/05/08 12:55:08  qboosh
+- up to 0.8.3
+- pass optflags, force boost::filesystem v2 for now (code not ready for v3)
+
 Revision 1.19  2011/05/04 13:51:40  arekm
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pokerth/pokerth.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list