]> git.pld-linux.org Git - packages/pokerth.git/blame - pokerth.spec
- release 2
[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
4a178bf3 4Version: 0.8.3
8ea05691 5Release: 2
c98f7e6a
AG
6License: GPL v2+
7Group: X11/Applications/Games
0434c891 8Source0: http://downloads.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2
4a178bf3 9# Source0-md5: adbe56ad5f547eb255dad91de564bf1c
c98f7e6a
AG
10URL: http://www.pokerth.net/
11BuildRequires: QtCore-devel >= 4.3.1
12BuildRequires: QtGui-devel >= 4.3.1
0434c891 13BuildRequires: QtNetwork-devel
14BuildRequires: QtSql-devel
c98f7e6a
AG
15BuildRequires: SDL_mixer-devel
16BuildRequires: boost-devel >= 1.37.0-3
17BuildRequires: curl-devel >= 7.16
18BuildRequires: gnutls-devel
0434c891 19BuildRequires: gsasl-devel
c98f7e6a
AG
20BuildRequires: qt4-build >= 4.3.1
21BuildRequires: qt4-qmake >= 4.3.1
4a178bf3 22BuildRequires: sed >= 4.0
c98f7e6a
AG
23BuildRequires: zlib-devel >= 1.2.3
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
4a178bf3 27PokerTH 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
29play network games with people all over the world. This poker engine
4a178bf3 30is available for Linux, Windows, and MacOS X.
c98f7e6a
AG
31
32%description -l pl.UTF-8
4a178bf3 33PokerTH to komputerowa gra w pokera napisana w C++/Qt4. Umożliwia ona
c98f7e6a
AG
34grę w popularny wariant "Texas Hold'em" przeciwko maksymalnie sześciu
35komputerowym przeciwnikom lub sieciową grę z innymi zawodnikami.
4a178bf3 36Silnik 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?
42sed -i -e '/-no_dead_strip_inits_and_terms/d' *.pro
43
c98f7e6a 44%build
4a178bf3
JB
45qmake-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
52rm -rf $RPM_BUILD_ROOT
53install -d $RPM_BUILD_ROOT%{_bindir}
54%{__make} install \
55 INSTALL_ROOT=$RPM_BUILD_ROOT
56
57install pokerth bin/pokerth_server $RPM_BUILD_ROOT%{_bindir}
58
59%clean
60rm -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}
This page took 0.089373 seconds and 4 git commands to generate.