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