]> git.pld-linux.org Git - packages/pokerth.git/blobdiff - pokerth.spec
- release 6 (by relup.sh)
[packages/pokerth.git] / pokerth.spec
index 611429206174bfdcee117a9661871002db954f97..7fa847fd74357d3904acf0415ea9298117e34cfa 100644 (file)
@@ -1,41 +1,70 @@
 Summary:       The Open Source Texas-Holdem Poker Engine
 Summary(pl.UTF-8):     Silnik gry Texas-Holdem poker
 Name:          pokerth
-Version:       0.7.1
-Release:       5
+Version:       1.1.1
+Release:       6
 License:       GPL v2+
 Group:         X11/Applications/Games
-Source0:       http://dl.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2
-# Source0-md5: a26a369bf3aa4b6ed92d0cadacb626e5
+Source0:       http://downloads.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2
+# Source0-md5: a7f76f95782099f966e5f2b6809f502a
+Patch0:                x32.patch
+Patch1:                boost-1.60.patch
+Patch2:                ownerless.patch
+Patch3:                cxx11-build.patch
+Patch4:                cxx11-fixes.patch
+Patch5:                system-qtsingleapp.patch
+Patch6:                moc.patch
+Patch7:                %{name}-protobuf.patch
 URL:           http://www.pokerth.net/
 BuildRequires: QtCore-devel >= 4.3.1
 BuildRequires: QtGui-devel >= 4.3.1
+BuildRequires: QtNetwork-devel
+BuildRequires: QtSingleApplication-devel
+BuildRequires: QtSql-devel
 BuildRequires: SDL_mixer-devel
 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)
 
 %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
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+
+%{__rm} -r src/third_party/qtsingleapplication
 
 %build
-qmake-qt4 pokerth.pro
+qmake-qt4 pokerth.pro \
+       QMAKE_CXX="%{__cxx}" \
+       QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}"
+       QMAKE_LFLAGS_RELEASE="%{rpmldflags}"
 %{__make}
 
 %install
This page took 0.200335 seconds and 4 git commands to generate.