From 940788dd06298f7ac3958a8e31ae910d2372d7ec954bcb3c603eae94535dfbfc Mon Sep 17 00:00:00 2001 From: Christopher Hofmann Date: Thu, 19 Jul 2012 15:44:27 +0000 Subject: [PATCH 1/3] - first try to make it building for Fedora 17 OBS-URL: https://build.opensuse.org/package/show/games/gnubg?expand=0&rev=6 --- gnubg.changes | 5 +++++ gnubg.spec | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gnubg.changes b/gnubg.changes index ab215a8..178d3b7 100644 --- a/gnubg.changes +++ b/gnubg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 19 15:43:54 UTC 2012 - cwh@suse.com + +- first try to make it building for Fedora 17 + ------------------------------------------------------------------- Wed Jul 11 11:07:15 UTC 2012 - cwh@suse.com diff --git a/gnubg.spec b/gnubg.spec index eaf4a5a..8f638dc 100644 --- a/gnubg.spec +++ b/gnubg.spec @@ -37,12 +37,10 @@ BuildRequires: flex BuildRequires: freetype2-devel BuildRequires: glibc-devel BuildRequires: gtkglext-devel -BuildRequires: libesd-devel BuildRequires: libpng-devel BuildRequires: libtool BuildRequires: python-devel BuildRequires: readline-devel -BuildRequires: sqlite3-devel BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libxml-2.0) @@ -57,6 +55,12 @@ BuildRequires: update-desktop-files Recommends: gnubg-databases = %{version} Recommends: gnubg-sounds = %{version} Recommends: gnubg-doc = %{version} +BuildRequires: libesd-devel +BuildRequires: sqlite3-devel +%endif +%if 0%{?fedora} +BuildRequires: esound-devel +BuildRequires: sqlite-devel %endif %description From af8bb5532c7adbe9f756613dcf5ebd04094f373d20c6445060e96b9282d1da16 Mon Sep 17 00:00:00 2001 From: Christopher Hofmann Date: Mon, 30 Jul 2012 09:22:33 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/games/gnubg?expand=0&rev=7 --- gnubg.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnubg.spec b/gnubg.spec index 8f638dc..1a2ca27 100644 --- a/gnubg.spec +++ b/gnubg.spec @@ -22,7 +22,7 @@ Name: gnubg %define timestamp 20120711 Version: 0.9.0.99_%{timestamp} Release: 0 -License: GPL-3.0 +License: GPL-3.0+ Summary: Plays and analyzes backgammon games and matches on a world class level Url: http://www.gnubg.org Group: Amusements/Games/Board/Other @@ -92,6 +92,7 @@ Sounds for GNU Backgammon. %package doc Summary: Documentation for gnubg Group: Amusements/Games/Board/Other +License: GFDL-1.3 %description doc Manual for GNU Backgammon. From 024c2a471fe7f7dc70c8731c8dc3dbd05a0d66b5816cacc1ec9a761bd43dea6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 3 Sep 2012 17:31:51 +0000 Subject: [PATCH 3/3] - Disable gtkglext-devel dependency for openSUSE > 12.2 OBS-URL: https://build.opensuse.org/package/show/games/gnubg?expand=0&rev=9 --- gnubg.changes | 5 +++++ gnubg.spec | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gnubg.changes b/gnubg.changes index 178d3b7..4d1ccdd 100644 --- a/gnubg.changes +++ b/gnubg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 3 17:29:52 UTC 2012 - idonmez@suse.com + +- Disable gtkglext-devel dependency for openSUSE > 12.2 + ------------------------------------------------------------------- Thu Jul 19 15:43:54 UTC 2012 - cwh@suse.com diff --git a/gnubg.spec b/gnubg.spec index 1a2ca27..1844177 100644 --- a/gnubg.spec +++ b/gnubg.spec @@ -22,10 +22,10 @@ Name: gnubg %define timestamp 20120711 Version: 0.9.0.99_%{timestamp} Release: 0 -License: GPL-3.0+ Summary: Plays and analyzes backgammon games and matches on a world class level -Url: http://www.gnubg.org +License: GPL-3.0+ Group: Amusements/Games/Board/Other +Url: http://www.gnubg.org Source: %{name}-source-SNAPSHOT-%{timestamp}.tar.bz2 Source1: %{name}.desktop # PATCH-FIX-UPSTREAM docdir.patch cwh@suse.de -- install documentation to a LSB conform place @@ -36,7 +36,9 @@ BuildRequires: bison BuildRequires: flex BuildRequires: freetype2-devel BuildRequires: glibc-devel +%if 0%{?suse_version} <= 1220 BuildRequires: gtkglext-devel +%endif BuildRequires: libpng-devel BuildRequires: libtool BuildRequires: python-devel @@ -73,6 +75,7 @@ players there and is gradually improving. %package databases Summary: Bearoff databases for gnubg +License: GPL-3.0+ Group: Amusements/Games/Board/Other Requires: %{name} = %{version} @@ -83,6 +86,7 @@ according to the documentation. %package sounds Summary: Sounds for gnubg +License: GPL-3.0+ Group: Amusements/Games/Board/Other Requires: %{name} = %{version} @@ -91,8 +95,8 @@ Sounds for GNU Backgammon. %package doc Summary: Documentation for gnubg -Group: Amusements/Games/Board/Other License: GFDL-1.3 +Group: Amusements/Games/Board/Other %description doc Manual for GNU Backgammon. @@ -136,7 +140,6 @@ DOC="ABOUT-NLS CODING COPYING NEWS README TODO" %exclude %{_docdir}/%{name}/gnubg.html %exclude %{_docdir}/%{name}/allabout.html - %files databases %defattr(-,root,root) %{_datadir}/gnubg/*.bd