Summary(pl.UTF-8): Silnik gry Texas-Holdem poker
Name: pokerth
Version: 1.1
-Release: 5
+Release: 6
License: GPL v2+
Group: X11/Applications/Games
Source0: http://downloads.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2
# Source0-md5: 7f577fdb04c697ac7227c1a0d4311ffc
Patch0: qt.patch
+Patch1: x32.patch
URL: http://www.pokerth.net/
BuildRequires: QtCore-devel >= 4.3.1
BuildRequires: QtGui-devel >= 4.3.1
%prep
%setup -q -n PokerTH-%{version}-src
%patch0 -p1
+%patch1 -p1
%build
qmake-qt4 pokerth.pro \
--- /dev/null
+--- PokerTH-1.1-src/pokerth_game.pro~ 2013-12-22 17:58:01.000000000 +0100
++++ PokerTH-1.1-src/pokerth_game.pro 2015-06-27 10:48:03.818795259 +0200
+@@ -408,6 +408,7 @@
+ LIBPATH += $${PREFIX}/lib /opt/gsasl/lib
+ LIB_DIRS = $${PREFIX}/lib \
+ $${PREFIX}/lib64 \
++ $${PREFIX}/libx32 \
+ $$system(qmake -query QT_INSTALL_LIBS)
+ }
+ android{
+--- PokerTH-1.1-src/connectivity.pro~ 2013-12-22 17:58:01.000000000 +0100
++++ PokerTH-1.1-src/connectivity.pro 2015-06-27 10:48:51.073035818 +0200
+@@ -41,7 +41,7 @@
+
+ QMAKE_LIBDIR += lib $${PREFIX}/lib /opt/gsasl/lib
+ INCLUDEPATH += $${PREFIX}/include
+- LIB_DIRS = $${PREFIX}/lib $${PREFIX}/lib64 $$system(qmake -query QT_INSTALL_LIBS)
++ LIB_DIRS = $${PREFIX}/lib $${PREFIX}/lib64 $${PREFIX}/libx32 $$system(qmake -query QT_INSTALL_LIBS)
+ BOOST_PROGRAM_OPTIONS = boost_program_options boost_program_options-mt
+ BOOST_SYS = boost_system boost_system-mt
+
+--- PokerTH-1.1-src/load.pro~ 2013-12-22 17:58:01.000000000 +0100
++++ PokerTH-1.1-src/load.pro 2015-06-27 10:49:15.413504240 +0200
+@@ -42,7 +42,7 @@
+
+ QMAKE_LIBDIR += lib $${PREFIX}/lib /opt/gsasl/lib
+ INCLUDEPATH += $${PREFIX}/include
+- LIB_DIRS = $${PREFIX}/lib $${PREFIX}/lib64 $$system(qmake -query QT_INSTALL_LIBS)
++ LIB_DIRS = $${PREFIX}/lib $${PREFIX}/lib64 $${PREFIX}/libx32 $$system(qmake -query QT_INSTALL_LIBS)
+ BOOST_THREAD = boost_thread boost_thread-mt
+ BOOST_PROGRAM_OPTIONS = boost_program_options boost_program_options-mt
+ BOOST_SYS = boost_system boost_system-mt
+--- PokerTH-1.1-src/pokerth_server.pro~ 2013-12-22 17:58:01.000000000 +0100
++++ PokerTH-1.1-src/pokerth_server.pro 2015-06-27 10:49:32.887174260 +0200
+@@ -175,7 +175,7 @@
+
+ LIBPATH += lib $${PREFIX}/lib /opt/gsasl/lib
+ INCLUDEPATH += $${PREFIX}/include
+- LIB_DIRS = $${PREFIX}/lib $${PREFIX}/lib64 $$system(qmake -query QT_INSTALL_LIBS)
++ LIB_DIRS = $${PREFIX}/lib $${PREFIX}/lib64 $${PREFIX}/libx32 $$system(qmake -query QT_INSTALL_LIBS)
+ BOOST_FS = boost_filesystem boost_filesystem-mt
+ BOOST_THREAD = boost_thread boost_thread-mt
+ BOOST_PROGRAM_OPTIONS = boost_program_options boost_program_options-mt