Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Name: pokerth
- Summary: Play Texas Holdem Poker alone or online
- Version: 1.1.1
- Release: %mkrel 9
- License: GPLv2+
- Group: Games/Cards
- URL: http://www.pokerth.net/
- Source0: http://downloads.sourceforge.net/pokerth/PokerTH-%{version}-src.tar.bz2
- Patch0: PokerTH-1.0.1-libircclient-dir.patch
- Patch1: PokerTH-0.9.1-link.patch
- Patch2: pokerth-1.1.1-Qualify-std-ifstream-and-std-ofstream.patch
- Patch3: 0001-Qt-5.5.0-patch-for-qtsingleapplication.patch
- BuildRequires: pkgconfig(protobuf)
- BuildRequires: pkgconfig(Qt5Core)
- BuildRequires: pkgconfig(Qt5Gui)
- BuildRequires: pkgconfig(Qt5Network)
- BuildRequires: pkgconfig(gnutls)
- BuildRequires: pkgconfig(libcurl)
- BuildRequires: pkgconfig(libgsasl)
- BuildRequires: pkgconfig(sqlite3)
- BuildRequires: libgcrypt-devel
- BuildRequires: boost-devel
- BuildRequires: SDL_mixer1.2-devel
- BuildRequires: tinyxml-devel
- BuildRequires: libircclient-static-devel
- BuildRequires: qttools5
- %description
- PokerTH is a multi-platform poker game.
- It allows you to play the popular "Texas Hold'em" poker variant against up to
- six computer-opponents or play network games with people all over the world.
- %package server
- Summary: PokerTH server
- Group: Games/Cards
- %description server
- PokerTH server.
- %prep
- %setup -q -n PokerTH-%{version}-src
- %patch0 -p0
- %patch1 -p0
- %patch2 -p1
- %patch3 -p1
- %build
- %qmake_qt5 pokerth.pro
- make
- %install
- #data
- %make_install INSTALL_ROOT=%{buildroot}
- #binaries
- install -d -m 755 %{buildroot}%{_bindir}
- install -m 755 %{name} %{buildroot}%{_bindir}/
- install -m 755 bin/%{name}_server %{buildroot}%{_bindir}/
- #man page
- install -d -m 755 %{buildroot}%{_mandir}/man1
- install -m 644 docs/%{name}.1 %{buildroot}%{_mandir}/man1/
- #icon
- install -d -m 755 %{buildroot}%{_iconsdir}
- install -m 644 %{name}.png %{buildroot}%{_iconsdir}/%{name}.png
- #menu
- install -d -m 755 %{buildroot}%{_datadir}/applications/
- install -m 644 %{name}.desktop %{buildroot}%{_datadir}/applications/
- %files
- %doc ChangeLog docs/gui_styling_howto.txt
- %attr(0755,root,root) %{_bindir}/%{name}
- %{_mandir}/man1/%{name}.1*
- %{_datadir}/%{name}
- %{_datadir}/pixmaps/%{name}.png
- %{_datadir}/applications/%{name}.desktop
- %{_iconsdir}/%{name}.png
- %files server
- %doc ChangeLog COPYING docs/server_setup_howto.txt
- %attr(0755,root,root) %{_bindir}/%{name}_server
Advertisement
Add Comment
Please, Sign In to add comment