From f30e286ecbd7e657520e3e7f4019210fd2ef1e676e9d319430ca35b43024090d Mon Sep 17 00:00:00 2001 From: Dmitriy Perlow Date: Wed, 6 Aug 2014 15:13:01 +0000 Subject: [PATCH 1/5] Accepting request 243773 from home:cwh:branches:games Updated to recently released version OBS-URL: https://build.opensuse.org/request/show/243773 OBS-URL: https://build.opensuse.org/package/show/games/gnubg?expand=0&rev=18 --- gnubg-release-1.02.000-sources.tar.gz | 3 --- gnubg-release-1.03.000-sources.tar.gz | 3 +++ gnubg.changes | 6 ++++++ gnubg.spec | 17 +++++++++-------- 4 files changed, 18 insertions(+), 11 deletions(-) delete mode 100644 gnubg-release-1.02.000-sources.tar.gz create mode 100644 gnubg-release-1.03.000-sources.tar.gz diff --git a/gnubg-release-1.02.000-sources.tar.gz b/gnubg-release-1.02.000-sources.tar.gz deleted file mode 100644 index 8846a96..0000000 --- a/gnubg-release-1.02.000-sources.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7ece7fc02481f8e6c08869306f1cf52cad9ec5ddd675de67782cf028a6dcb504 -size 14985346 diff --git a/gnubg-release-1.03.000-sources.tar.gz b/gnubg-release-1.03.000-sources.tar.gz new file mode 100644 index 0000000..d14d960 --- /dev/null +++ b/gnubg-release-1.03.000-sources.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:609f66323dd20fcaa2e1f889b70f8453b5c53999a8c5afda971c131bcfa0e4f0 +size 15019572 diff --git a/gnubg.changes b/gnubg.changes index 5396cd4..d2cef4f 100644 --- a/gnubg.changes +++ b/gnubg.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 5 13:02:34 UTC 2014 - cwh@suse.com + +- 1.03.000 +- added recommends: python-MySQL-python + ------------------------------------------------------------------- Wed Sep 18 08:28:30 UTC 2013 - cwh@suse.com diff --git a/gnubg.spec b/gnubg.spec index 06d88df..d3cbd37 100644 --- a/gnubg.spec +++ b/gnubg.spec @@ -1,7 +1,7 @@ # # spec file for package gnubg # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2003 Achim Mueller, Germany. # Updated by Christopher Hofmann in 2010 # @@ -19,17 +19,14 @@ Name: gnubg -Version: 1.02.000 +Version: 1.03.000 Release: 0 Summary: Plays and analyzes backgammon games and matches on a world class level License: GPL-3.0+ Group: Amusements/Games/Board/Other Url: http://www.gnubg.org -Source: http://gnubg.org/media/sources/gnubg-release-1.02.000-sources.tar.gz +Source: http://gnubg.org/media/sources/gnubg-release-%{version}-sources.tar.gz Source1: %{name}.desktop -# PATCH-FIX-UPSTREAM docdir.patch cwh@suse.de -- install documentation to a LSB conform place -Patch0: docdir.patch -Patch1: glu.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -59,6 +56,7 @@ BuildRequires: update-desktop-files Recommends: gnubg-databases = %{version} Recommends: gnubg-sounds = %{version} Recommends: gnubg-doc = %{version} +Recommends: python-MySQL-python BuildRequires: sqlite3-devel %endif %if 0%{?fedora} @@ -103,8 +101,6 @@ Manual for GNU Backgammon. See description of gnubg for more details. %prep %setup -q gnubg -%patch0 -p0 -%patch1 -p1 %build autoreconf -fi @@ -127,6 +123,11 @@ install -m 0644 $DOC %{buildroot}/%{_docdir}/%{name}/ %defattr(-,root,root) %{_bindir}/* %{_mandir}/man?/%{name}* +%{_mandir}/man?/bearoffdump.* +%{_mandir}/man?/makebearoff.* +%{_mandir}/man?/makehyper.* +%{_mandir}/man?/makeweights.* + %if 0%{?suse_version} %{_datadir}/applications/gnubg.desktop %endif From 9c1e3aabce15cb2e91850548ee89973d9bfbdcca0f11ed4d0b04582b7a659033 Mon Sep 17 00:00:00 2001 From: Christopher Hofmann Date: Thu, 7 Aug 2014 09:10:48 +0000 Subject: [PATCH 2/5] OBS-URL: https://build.opensuse.org/package/show/games/gnubg?expand=0&rev=19 --- docdir.patch | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 docdir.patch diff --git a/docdir.patch b/docdir.patch deleted file mode 100644 index bf2dc5e..0000000 --- a/docdir.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- Makefile.am.orig 2013-07-25 16:53:18.726563373 +0200 -+++ Makefile.am 2013-07-25 16:56:08.687492289 +0200 -@@ -27,7 +27,7 @@ - AM_CPPFLAGS += @PYTHON_INCLUDES@ - endif - --AM_CPPFLAGS += -DAC_DOCDIR='"$(datadir)/doc/gnubg/"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"' -+AM_CPPFLAGS += -DAC_DOCDIR='"$(docdir)/doc/gnubg/"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"' - - OTHER_LIBS = - if WIN32 ---- doc/Makefile.am.orig 2013-07-25 16:57:09.270821442 +0200 -+++ doc/Makefile.am 2013-07-25 17:00:11.901814264 +0200 -@@ -1,6 +1,6 @@ --AM_CPPFLAGS = -DAC_DOCDIR='"$(datadir)/doc/gnubg/"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"' --gnubg_helpdir = $(datadir)/doc/gnubg/ --gnubg_imagedir = $(datadir)/doc/gnubg/images -+AM_CPPFLAGS = -DAC_DOCDIR='"$(docdir)"' -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR='"$(datadir)/gnubg"' -+gnubg_helpdir = $(docdir) -+gnubg_imagedir = $(docdir)/images - gnubg_help_DATA = gnubg.html allabout.html - gnubg_image_DATA = images/1540d81e.png images/16d7944c.png images/1805dc7d.png \ - images/20bc52ca.png images/20d56757.png images/234924dc.png images/26e34ea5.png \ From bb02c2592104e3e68b3745bb33e3e63d52ab8e3b568cca1f0108de4134c86ac6 Mon Sep 17 00:00:00 2001 From: Christopher Hofmann Date: Thu, 7 Aug 2014 09:10:54 +0000 Subject: [PATCH 3/5] OBS-URL: https://build.opensuse.org/package/show/games/gnubg?expand=0&rev=20 --- glu.patch | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 glu.patch diff --git a/glu.patch b/glu.patch deleted file mode 100644 index 918ba0f..0000000 --- a/glu.patch +++ /dev/null @@ -1,47 +0,0 @@ -Index: gnubg-1.02.000/Makefile.am -=================================================================== ---- gnubg-1.02.000.orig/Makefile.am -+++ gnubg-1.02.000/Makefile.am -@@ -161,7 +161,7 @@ if USE_PYTHON - gnubg_LDADD += @PYTHON_LIBS@ - endif - if USE_BOARD3D --gnubg_LDADD += -L$(srcdir)/board3d board3d/libboard3d.la @GTKGLEXT_LIBS@ -+gnubg_LDADD += -L$(srcdir)/board3d board3d/libboard3d.la $(GTKGLEXT_LIBS) $(GLU_LIBS) - endif - - if WIN32 -Index: gnubg-1.02.000/board3d/Makefile.am -=================================================================== ---- gnubg-1.02.000.orig/board3d/Makefile.am -+++ gnubg-1.02.000/board3d/Makefile.am -@@ -7,7 +7,7 @@ AM_CPPFLAGS = -I$(srcdir)/.. $(COMMON_IN - -I$(srcdir)/../lib \ - -DLOCALEDIR=\"$(localedir)\" \ - -DAC_DATADIR='"$(datadir)"' -DAC_PKGDATADIR=='"$(datadir)/gnubg"'\ -- @FREETYPE2_CFLAGS@ @GTKGLEXT_CFLAGS@ -+ @FREETYPE2_CFLAGS@ @GTKGLEXT_CFLAGS@ $(GLU_CFLAGS) - - if USE_BOARD3D - noinst_LTLIBRARIES = libboard3d.la -Index: gnubg-1.02.000/configure.ac -=================================================================== ---- gnubg-1.02.000.orig/configure.ac -+++ gnubg-1.02.000/configure.ac -@@ -130,6 +130,7 @@ PKG_CHECK_MODULES(LIBPNG, [libpng >= 1.2 - PKG_CHECK_MODULES(CAIRO, [cairo >= 1.2], have_cairo="yes", [AC_MSG_WARN([no cairo support])]) - PKG_CHECK_MODULES(PANGOCAIRO, [pangocairo >= 1.0], have_pangocairo="yes", [AC_MSG_WARN([no pangocairo support])]) - PKG_CHECK_MODULES(SQLITE, [sqlite3], have_sqlite="yes", AC_MSG_WARN([no sqlite support])) -+PKG_CHECK_MODULES(GLU, [glu], have_glu="yes", AC_MSG_WARN([no glu support])) - - if test "x$win32" != "xyes"; then - PKG_CHECK_MODULES(CANBERRA, [libcanberra-gtk], have_canberra="yes", AC_MSG_WARN([no libcanberra-gtk support])) -@@ -302,7 +303,7 @@ fi - - AC_CHECK_HEADERS(GL/glx.h) - --if test "$with_board3d" != "no" && test "$with_gtk" != "no" && test "x$have_gtk" = "xyes" && test "x$have_gtkglext" = "xyes"; then -+if test "$with_board3d" != "no" && test "$with_gtk" != "no" && test "x$have_gtk" = "xyes" && test "x$have_gtkglext" = "xyes" -a "x$have_glu" = "xyes"; then - AC_DEFINE(USE_BOARD3D,1, [Define if you want to use the 3d boards]) - no_board3d="no" - fi From 263c31dce99d5608e81053f6e4229366a2ceeff5e50e3e1cb32c899fb592aee8 Mon Sep 17 00:00:00 2001 From: Christopher Hofmann Date: Thu, 7 Aug 2014 12:23:46 +0000 Subject: [PATCH 4/5] OBS-URL: https://build.opensuse.org/package/show/games/gnubg?expand=0&rev=21 --- gnubg.changes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnubg.changes b/gnubg.changes index d2cef4f..fe54137 100644 --- a/gnubg.changes +++ b/gnubg.changes @@ -3,6 +3,8 @@ Tue Aug 5 13:02:34 UTC 2014 - cwh@suse.com - 1.03.000 - added recommends: python-MySQL-python +- removed patches doctdir.patch and glu.patch since these things + are now fixed upstream. ------------------------------------------------------------------- Wed Sep 18 08:28:30 UTC 2013 - cwh@suse.com From 3d3edaf490a4ad19163e9bcfb4ed191a219db3a2e0f1caf41fc32cab72b7f341 Mon Sep 17 00:00:00 2001 From: Christopher Hofmann Date: Thu, 7 Aug 2014 12:49:22 +0000 Subject: [PATCH 5/5] OBS-URL: https://build.opensuse.org/package/show/games/gnubg?expand=0&rev=22 --- gnubg.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnubg.changes b/gnubg.changes index fe54137..2032fc6 100644 --- a/gnubg.changes +++ b/gnubg.changes @@ -3,7 +3,7 @@ Tue Aug 5 13:02:34 UTC 2014 - cwh@suse.com - 1.03.000 - added recommends: python-MySQL-python -- removed patches doctdir.patch and glu.patch since these things +- removed patches docdir.patch and glu.patch since these things are now fixed upstream. -------------------------------------------------------------------