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