X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=pokerth.spec;h=96390ef41d460b85ca1473c462355496448f9145;hb=2c528e2b1a1efec605759a87ccc7c0b23abe0d22;hp=51abf725f0e9f57b9584c5293dfdc8bddef6fba3;hpb=4a178bf3f19defdeb4883f985f3adc1eb3fb50ac;p=packages%2Fpokerth.git diff --git a/pokerth.spec b/pokerth.spec index 51abf72..96390ef 100644 --- a/pokerth.spec +++ b/pokerth.spec @@ -1,12 +1,14 @@ Summary: The Open Source Texas-Holdem Poker Engine Summary(pl.UTF-8): Silnik gry Texas-Holdem poker Name: pokerth -Version: 0.8.3 -Release: 1 +Version: 1.1 +Release: 7 License: GPL v2+ Group: X11/Applications/Games Source0: http://downloads.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2 -# Source0-md5: adbe56ad5f547eb255dad91de564bf1c +# 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 @@ -17,9 +19,12 @@ BuildRequires: boost-devel >= 1.37.0-3 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 +BuildRequires: tinyxml-devel BuildRequires: zlib-devel >= 1.2.3 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -37,14 +42,13 @@ 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 +%patch1 -p1 %build qmake-qt4 pokerth.pro \ QMAKE_CXX="%{__cxx}" \ - QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags} -DBOOST_FILESYSTEM_VERSION=2" + QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" QMAKE_LFLAGS_RELEASE="%{rpmldflags}" %{__make}