]>
Commit | Line | Data |
---|---|---|
c98f7e6a AG |
1 | Summary: The Open Source Texas-Holdem Poker Engine |
2 | Summary(pl.UTF-8): Silnik gry Texas-Holdem poker | |
3 | Name: pokerth | |
4a178bf3 | 4 | Version: 0.8.3 |
8ea05691 | 5 | Release: 2 |
c98f7e6a AG |
6 | License: GPL v2+ |
7 | Group: X11/Applications/Games | |
0434c891 | 8 | Source0: http://downloads.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2 |
4a178bf3 | 9 | # Source0-md5: adbe56ad5f547eb255dad91de564bf1c |
c98f7e6a AG |
10 | URL: http://www.pokerth.net/ |
11 | BuildRequires: QtCore-devel >= 4.3.1 | |
12 | BuildRequires: QtGui-devel >= 4.3.1 | |
0434c891 | 13 | BuildRequires: QtNetwork-devel |
14 | BuildRequires: QtSql-devel | |
c98f7e6a AG |
15 | BuildRequires: SDL_mixer-devel |
16 | BuildRequires: boost-devel >= 1.37.0-3 | |
17 | BuildRequires: curl-devel >= 7.16 | |
18 | BuildRequires: gnutls-devel | |
0434c891 | 19 | BuildRequires: gsasl-devel |
c98f7e6a AG |
20 | BuildRequires: qt4-build >= 4.3.1 |
21 | BuildRequires: qt4-qmake >= 4.3.1 | |
4a178bf3 | 22 | BuildRequires: sed >= 4.0 |
c98f7e6a AG |
23 | BuildRequires: zlib-devel >= 1.2.3 |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
4a178bf3 | 27 | PokerTH is a poker game written in C++/Qt4. You can play the popular |
c98f7e6a AG |
28 | "Texas Hold'em" poker variant against up to six computer-opponents or |
29 | play network games with people all over the world. This poker engine | |
4a178bf3 | 30 | is available for Linux, Windows, and MacOS X. |
c98f7e6a AG |
31 | |
32 | %description -l pl.UTF-8 | |
4a178bf3 | 33 | PokerTH to komputerowa gra w pokera napisana w C++/Qt4. Umożliwia ona |
c98f7e6a AG |
34 | grę w popularny wariant "Texas Hold'em" przeciwko maksymalnie sześciu |
35 | komputerowym przeciwnikom lub sieciową grę z innymi zawodnikami. | |
4a178bf3 | 36 | Silnik gry dostępny jest na platformy Linux, Windows oraz MacOS X. |
c98f7e6a AG |
37 | |
38 | %prep | |
39 | %setup -q -n PokerTH-%{version}-src | |
40 | ||
4a178bf3 JB |
41 | # what is it? |
42 | sed -i -e '/-no_dead_strip_inits_and_terms/d' *.pro | |
43 | ||
c98f7e6a | 44 | %build |
4a178bf3 JB |
45 | qmake-qt4 pokerth.pro \ |
46 | QMAKE_CXX="%{__cxx}" \ | |
47 | QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags} -DBOOST_FILESYSTEM_VERSION=2" | |
48 | QMAKE_LFLAGS_RELEASE="%{rpmldflags}" | |
c98f7e6a AG |
49 | %{__make} |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | install -d $RPM_BUILD_ROOT%{_bindir} | |
54 | %{__make} install \ | |
55 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
56 | ||
57 | install pokerth bin/pokerth_server $RPM_BUILD_ROOT%{_bindir} | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc COPYING ChangeLog TODO | |
65 | %attr(755,root,root) %{_bindir}/pokerth* | |
66 | %{_desktopdir}/%{name}.desktop | |
67 | %{_pixmapsdir}/%{name}.png | |
68 | %{_datadir}/%{name} |