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