From 2a63ac077e95c59ba0b67e781c2bf6ceb41bf9da Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 2 Jan 2014 17:34:18 +0100 Subject: [PATCH] - updated to 1.1 --- pokerth.spec | 12 ++++++------ qt.patch | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 qt.patch diff --git a/pokerth.spec b/pokerth.spec index c79796c..e1c375a 100644 --- a/pokerth.spec +++ b/pokerth.spec @@ -1,12 +1,13 @@ Summary: The Open Source Texas-Holdem Poker Engine Summary(pl.UTF-8): Silnik gry Texas-Holdem poker Name: pokerth -Version: 1.0.1 -Release: 2 +Version: 1.1 +Release: 1 License: GPL v2+ Group: X11/Applications/Games Source0: http://downloads.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2 -# Source0-md5: c6dcf0ed68ab50af91371348ffad5d00 +# Source0-md5: 7f577fdb04c697ac7227c1a0d4311ffc +Patch0: qt.patch URL: http://www.pokerth.net/ BuildRequires: QtCore-devel >= 4.3.1 BuildRequires: QtGui-devel >= 4.3.1 @@ -18,6 +19,7 @@ BuildRequires: curl-devel >= 7.16 BuildRequires: gnutls-devel BuildRequires: gsasl-devel BuildRequires: libircclient-devel +BuildRequires: protobuf-devel BuildRequires: qt4-build >= 4.3.1 BuildRequires: qt4-qmake >= 4.3.1 BuildRequires: sed >= 4.0 @@ -39,9 +41,7 @@ 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 +%patch0 -p1 %build qmake-qt4 pokerth.pro \ diff --git a/qt.patch b/qt.patch new file mode 100644 index 0000000..540e086 --- /dev/null +++ b/qt.patch @@ -0,0 +1,20 @@ +--- PokerTH-1.1-src/src/gui/qt/chattools/chattools.h~ 2013-12-22 17:58:01.000000000 +0100 ++++ PokerTH-1.1-src/src/gui/qt/chattools/chattools.h 2014-01-02 17:24:50.229389732 +0100 +@@ -33,7 +33,6 @@ + + #include + #include +-#include + #include + #include + +--- PokerTH-1.1-src/src/pokerth.cpp~ 2013-12-22 17:58:02.000000000 +0100 ++++ PokerTH-1.1-src/src/pokerth.cpp 2014-01-02 17:24:18.539389962 +0100 +@@ -34,7 +34,6 @@ + #include + #include + +-#include + #include + #include + -- 2.44.0