From e1ac9a168802d51d34623bfd5983d23ac302bbc1e926483dbebeedccbbb36146 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] - Disable gtkglext-devel dependency for openSUSE > 12.2 OBS-URL: https://build.opensuse.org/package/show/games/gnubg?expand=0&rev=9 --- gnubg.changes | 10 ++++++++++ gnubg.spec | 11 +++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/gnubg.changes b/gnubg.changes index ab215a8..4d1ccdd 100644 --- a/gnubg.changes +++ b/gnubg.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +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 + +- 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 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