[pokerth] - new version 0.9.5
Itamar Reis Peixoto
itamarjp at fedoraproject.org
Thu Jul 19 02:15:19 UTC 2012
commit ae493c891cfbb4a3d6ee1fc3cfff98328ea0f48e
Author: Itamar Reis Peixoto <itamar at ispbrasil.com.br>
Date: Wed Jul 18 23:14:49 2012 -0300
- new version 0.9.5
.gitignore | 1 +
fix-libircclient-include.patch | 12 ++++++++++++
pokerth-0.8.3-filesystem.patch | 36 ------------------------------------
pokerth.spec | 24 ++++++++++++------------
sources | 2 +-
5 files changed, 26 insertions(+), 49 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ace3d4b..602fe20 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ PokerTH-0.7.1-src.tar.bz2
/PokerTH-0.8.1-src.tar.bz2
/PokerTH-0.8.2-src.tar.bz2
/PokerTH-0.8.3-src.tar.bz2
+/PokerTH-0.9.5-src.tar.bz2
diff --git a/fix-libircclient-include.patch b/fix-libircclient-include.patch
new file mode 100644
index 0000000..a3011f5
--- /dev/null
+++ b/fix-libircclient-include.patch
@@ -0,0 +1,12 @@
+diff -ruNP a/PokerTH-0.9.5-src/src/net/common/ircthread.cpp b/PokerTH-0.9.5-src/src/net/common/ircthread.cpp
+--- a/PokerTH-0.9.5-src/src/net/common/ircthread.cpp 2012-06-21 17:54:49.000000000 -0300
++++ b/PokerTH-0.9.5-src/src/net/common/ircthread.cpp 2012-07-17 21:59:08.711718602 -0300
+@@ -19,7 +19,7 @@
+ #include <net/socket_helper.h>
+ #include <net/ircthread.h>
+ #include <net/socket_msg.h>
+-#include <libircclient/libircclient.h>
++#include <libircclient.h>
+ #include <boost/algorithm/string/predicate.hpp>
+ #include <queue>
+ #include <sstream>
diff --git a/pokerth.spec b/pokerth.spec
index dc9e29b..c9e25e1 100644
--- a/pokerth.spec
+++ b/pokerth.spec
@@ -1,17 +1,15 @@
Name: pokerth
-Version: 0.8.3
-Release: 13%{?dist}
+Version: 0.9.5
+Release: 1%{?dist}
Summary: A Texas-Holdem poker game
Group: Amusements/Games
License: GPLv2+
URL: http://www.pokerth.net
Source0: http://downloads.sourceforge.net/%{name}/PokerTH-%{version}-src.tar.bz2
-# Patch to fix build against newer versions of Boost. Already reported and
-# fixed upstream.
-Patch0: pokerth-0.8.3-filesystem.patch
+
+Patch0: fix-libircclient-include.patch
Patch1: pokerth-0.8.3-gnutls-only.patch
Patch2: pokerth-gcc47.patch
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: desktop-file-utils
BuildRequires: qt4-devel
@@ -22,6 +20,7 @@ BuildRequires: boost-devel >= 1.37
BuildRequires: SDL_mixer-devel
BuildRequires: libgsasl-devel
BuildRequires: sqlite-devel
+BuildRequires: libircclient-devel
# Removed bundled fonts
Requires: dejavu-sans-fonts
@@ -35,9 +34,9 @@ is available for Linux, Windows, and MacOSX.
%prep
%setup -q -n PokerTH-%{version}-src
-%patch0 -p1
-%patch1 -p1
-%patch2
+%patch0 -p2
+#%patch1 -p1
+#%patch2
# Fix permissions
chmod 644 ChangeLog
@@ -62,11 +61,9 @@ make install INSTALL_ROOT=%{buildroot} COPY="cp -p -f"
install -D -p -m 755 %{name} %{buildroot}%{_bindir}/%{name}
install -D -p -m 755 bin/%{name}_server %{buildroot}%{_bindir}/%{name}_server
-# Remove bundled fonts
-rm %{buildroot}%{_datadir}/%{name}/data/fonts/{VeraBd.ttf,c059013l.pfb,n019003l.pfb}
# and replace them with symlinks
ln -s %{_datadir}/fonts/default/Type1/c059013l.pfb %{buildroot}%{_datadir}/%{name}/data/fonts/
-ln -s %{_datadir}/fonts/default/Type1/n019003l.pfb %{buildroot}%{_datadir}/%{name}/data/fonts/
+#ln -s %{_datadir}/fonts/default/Type1/n019003l.pfb %{buildroot}%{_datadir}/%{name}/data/fonts/
ln -s %{_datadir}/fonts/dejavu/DejaVuSans-Bold.ttf %{buildroot}%{_datadir}/%{name}/data/fonts/VeraBd.ttf
# Install desktop file
@@ -85,6 +82,9 @@ rm -rf %{buildroot}
%{_datadir}/pixmaps/%{name}.png
%changelog
+* Tue Jul 17 2012 Itamar Reis Peixoto <itamar at ispbrasil.com.br> - 0.9.5-1
+- new version
+
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.3-13
- Rebuilt for c++ ABI breakage
diff --git a/sources b/sources
index 6518e94..e91773e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-adbe56ad5f547eb255dad91de564bf1c PokerTH-0.8.3-src.tar.bz2
+4bdea98bfc142a825c64b77feb4667d0 PokerTH-0.9.5-src.tar.bz2
More information about the scm-commits
mailing list