1 Summary: The Open Source Texas-Holdem Poker Engine
2 Summary(pl.UTF-8): Silnik gry Texas-Holdem poker
7 Group: X11/Applications/Games
8 Source0: http://downloads.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2
9 # Source0-md5: 7f577fdb04c697ac7227c1a0d4311ffc
11 URL: http://www.pokerth.net/
12 BuildRequires: QtCore-devel >= 4.3.1
13 BuildRequires: QtGui-devel >= 4.3.1
14 BuildRequires: QtNetwork-devel
15 BuildRequires: QtSql-devel
16 BuildRequires: SDL_mixer-devel
17 BuildRequires: boost-devel >= 1.37.0-3
18 BuildRequires: curl-devel >= 7.16
19 BuildRequires: gnutls-devel
20 BuildRequires: gsasl-devel
21 BuildRequires: libircclient-devel
22 BuildRequires: protobuf-devel
23 BuildRequires: qt4-build >= 4.3.1
24 BuildRequires: qt4-qmake >= 4.3.1
25 BuildRequires: sed >= 4.0
26 BuildRequires: tinyxml-devel
27 BuildRequires: zlib-devel >= 1.2.3
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 PokerTH is a poker game written in C++/Qt4. You can play the popular
32 "Texas Hold'em" poker variant against up to six computer-opponents or
33 play network games with people all over the world. This poker engine
34 is available for Linux, Windows, and MacOS X.
36 %description -l pl.UTF-8
37 PokerTH to komputerowa gra w pokera napisana w C++/Qt4. Umożliwia ona
38 grę w popularny wariant "Texas Hold'em" przeciwko maksymalnie sześciu
39 komputerowym przeciwnikom lub sieciową grę z innymi zawodnikami.
40 Silnik gry dostępny jest na platformy Linux, Windows oraz MacOS X.
43 %setup -q -n PokerTH-%{version}-src
47 qmake-qt4 pokerth.pro \
48 QMAKE_CXX="%{__cxx}" \
49 QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}"
50 QMAKE_LFLAGS_RELEASE="%{rpmldflags}"
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{_bindir}
57 INSTALL_ROOT=$RPM_BUILD_ROOT
59 install pokerth bin/pokerth_server $RPM_BUILD_ROOT%{_bindir}
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
66 %doc COPYING ChangeLog TODO
67 %attr(755,root,root) %{_bindir}/pokerth*
68 %{_desktopdir}/%{name}.desktop
69 %{_pixmapsdir}/%{name}.png