]>
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 | |
64af07f1 | 4 | Version: 0.7.1 |
058f40e6 | 5 | Release: 3 |
c98f7e6a AG |
6 | License: GPL v2+ |
7 | Group: X11/Applications/Games | |
8 | Source0: http://dl.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2 | |
64af07f1 | 9 | # Source0-md5: a26a369bf3aa4b6ed92d0cadacb626e5 |
c98f7e6a AG |
10 | URL: http://www.pokerth.net/ |
11 | BuildRequires: QtCore-devel >= 4.3.1 | |
12 | BuildRequires: QtGui-devel >= 4.3.1 | |
13 | BuildRequires: SDL_mixer-devel | |
14 | BuildRequires: boost-devel >= 1.37.0-3 | |
15 | BuildRequires: curl-devel >= 7.16 | |
16 | BuildRequires: gnutls-devel | |
17 | BuildRequires: qt4-build >= 4.3.1 | |
18 | BuildRequires: qt4-qmake >= 4.3.1 | |
19 | BuildRequires: zlib-devel >= 1.2.3 | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | PokerTH is a poker game written in C++/QT4. You can play the popular | |
24 | "Texas Hold'em" poker variant against up to six computer-opponents or | |
25 | play network games with people all over the world. This poker engine | |
26 | is available for Linux, Windows, and MacOSX. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | PokerTH to komputerowa gra w pokera napisana w C++/QT4. Umożliwia ona | |
30 | grę w popularny wariant "Texas Hold'em" przeciwko maksymalnie sześciu | |
31 | komputerowym przeciwnikom lub sieciową grę z innymi zawodnikami. | |
32 | Silnik gry dostępny jest na platformy Linux, Windows oraz MacOSX. | |
33 | ||
34 | %prep | |
35 | %setup -q -n PokerTH-%{version}-src | |
36 | ||
37 | %build | |
38 | qmake-qt4 pokerth.pro | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{_bindir} | |
44 | %{__make} install \ | |
45 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
46 | ||
47 | install pokerth bin/pokerth_server $RPM_BUILD_ROOT%{_bindir} | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc COPYING ChangeLog TODO | |
55 | %attr(755,root,root) %{_bindir}/pokerth* | |
56 | %{_desktopdir}/%{name}.desktop | |
57 | %{_pixmapsdir}/%{name}.png | |
58 | %{_datadir}/%{name} |