SHA256
1
0
forked from pool/gnubg

Accepting request 132433 from games

- Disable gtkglext-devel dependency for openSUSE > 12.2 

- first try to make it building for Fedora 17

OBS-URL: https://build.opensuse.org/request/show/132433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnubg?expand=0&rev=2
This commit is contained in:
Stephan Kulow 2012-09-04 10:44:18 +00:00 committed by Git OBS Bridge
commit 31d7af53dc
2 changed files with 23 additions and 5 deletions

View File

@ -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 Wed Jul 11 11:07:15 UTC 2012 - cwh@suse.com

View File

@ -22,10 +22,10 @@ Name: gnubg
%define timestamp 20120711 %define timestamp 20120711
Version: 0.9.0.99_%{timestamp} Version: 0.9.0.99_%{timestamp}
Release: 0 Release: 0
License: GPL-3.0
Summary: Plays and analyzes backgammon games and matches on a world class level 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 Group: Amusements/Games/Board/Other
Url: http://www.gnubg.org
Source: %{name}-source-SNAPSHOT-%{timestamp}.tar.bz2 Source: %{name}-source-SNAPSHOT-%{timestamp}.tar.bz2
Source1: %{name}.desktop Source1: %{name}.desktop
# PATCH-FIX-UPSTREAM docdir.patch cwh@suse.de -- install documentation to a LSB conform place # PATCH-FIX-UPSTREAM docdir.patch cwh@suse.de -- install documentation to a LSB conform place
@ -36,13 +36,13 @@ BuildRequires: bison
BuildRequires: flex BuildRequires: flex
BuildRequires: freetype2-devel BuildRequires: freetype2-devel
BuildRequires: glibc-devel BuildRequires: glibc-devel
%if 0%{?suse_version} <= 1220
BuildRequires: gtkglext-devel BuildRequires: gtkglext-devel
BuildRequires: libesd-devel %endif
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: readline-devel BuildRequires: readline-devel
BuildRequires: sqlite3-devel
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxml-2.0)
@ -57,6 +57,12 @@ BuildRequires: update-desktop-files
Recommends: gnubg-databases = %{version} Recommends: gnubg-databases = %{version}
Recommends: gnubg-sounds = %{version} Recommends: gnubg-sounds = %{version}
Recommends: gnubg-doc = %{version} Recommends: gnubg-doc = %{version}
BuildRequires: libesd-devel
BuildRequires: sqlite3-devel
%endif
%if 0%{?fedora}
BuildRequires: esound-devel
BuildRequires: sqlite-devel
%endif %endif
%description %description
@ -69,6 +75,7 @@ players there and is gradually improving.
%package databases %package databases
Summary: Bearoff databases for gnubg Summary: Bearoff databases for gnubg
License: GPL-3.0+
Group: Amusements/Games/Board/Other Group: Amusements/Games/Board/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
@ -79,6 +86,7 @@ according to the documentation.
%package sounds %package sounds
Summary: Sounds for gnubg Summary: Sounds for gnubg
License: GPL-3.0+
Group: Amusements/Games/Board/Other Group: Amusements/Games/Board/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
@ -87,6 +95,7 @@ Sounds for GNU Backgammon.
%package doc %package doc
Summary: Documentation for gnubg Summary: Documentation for gnubg
License: GFDL-1.3
Group: Amusements/Games/Board/Other Group: Amusements/Games/Board/Other
%description doc %description doc
@ -131,7 +140,6 @@ DOC="ABOUT-NLS CODING COPYING NEWS README TODO"
%exclude %{_docdir}/%{name}/gnubg.html %exclude %{_docdir}/%{name}/gnubg.html
%exclude %{_docdir}/%{name}/allabout.html %exclude %{_docdir}/%{name}/allabout.html
%files databases %files databases
%defattr(-,root,root) %defattr(-,root,root)
%{_datadir}/gnubg/*.bd %{_datadir}/gnubg/*.bd