]> git.pld-linux.org Git - packages/pokerth.git/blame - pokerth.spec
- updated to 1.0.1
[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
85362a97
JR
4Version: 1.0.1
5Release: 1
c98f7e6a
AG
6License: GPL v2+
7Group: X11/Applications/Games
0434c891 8Source0: http://downloads.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2
85362a97 9# Source0-md5: c6dcf0ed68ab50af91371348ffad5d00
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
a0049471 20BuildRequires: libircclient-devel
c98f7e6a
AG
21BuildRequires: qt4-build >= 4.3.1
22BuildRequires: qt4-qmake >= 4.3.1
4a178bf3 23BuildRequires: sed >= 4.0
8482ca5a 24BuildRequires: tinyxml-devel
c98f7e6a
AG
25BuildRequires: zlib-devel >= 1.2.3
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
4a178bf3 29PokerTH is a poker game written in C++/Qt4. You can play the popular
c98f7e6a
AG
30"Texas Hold'em" poker variant against up to six computer-opponents or
31play network games with people all over the world. This poker engine
4a178bf3 32is available for Linux, Windows, and MacOS X.
c98f7e6a
AG
33
34%description -l pl.UTF-8
4a178bf3 35PokerTH to komputerowa gra w pokera napisana w C++/Qt4. Umożliwia ona
c98f7e6a
AG
36grę w popularny wariant "Texas Hold'em" przeciwko maksymalnie sześciu
37komputerowym przeciwnikom lub sieciową grę z innymi zawodnikami.
4a178bf3 38Silnik gry dostępny jest na platformy Linux, Windows oraz MacOS X.
c98f7e6a
AG
39
40%prep
41%setup -q -n PokerTH-%{version}-src
42
4a178bf3
JB
43# what is it?
44sed -i -e '/-no_dead_strip_inits_and_terms/d' *.pro
45
c98f7e6a 46%build
4a178bf3
JB
47qmake-qt4 pokerth.pro \
48 QMAKE_CXX="%{__cxx}" \
1c266793 49 QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}"
4a178bf3 50 QMAKE_LFLAGS_RELEASE="%{rpmldflags}"
c98f7e6a
AG
51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55install -d $RPM_BUILD_ROOT%{_bindir}
56%{__make} install \
57 INSTALL_ROOT=$RPM_BUILD_ROOT
58
59install pokerth bin/pokerth_server $RPM_BUILD_ROOT%{_bindir}
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
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
70%{_datadir}/%{name}
This page took 0.105767 seconds and 4 git commands to generate.