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:
commit
ef2246532a
@ -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
|
||||
|
||||
|
18
gnubg.spec
18
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,13 +36,13 @@ BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: freetype2-devel
|
||||
BuildRequires: glibc-devel
|
||||
%if 0%{?suse_version} <= 1220
|
||||
BuildRequires: gtkglext-devel
|
||||
BuildRequires: libesd-devel
|
||||
%endif
|
||||
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 +57,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
|
||||
@ -69,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}
|
||||
|
||||
@ -79,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}
|
||||
|
||||
@ -87,6 +95,7 @@ Sounds for GNU Backgammon.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for gnubg
|
||||
License: GFDL-1.3
|
||||
Group: Amusements/Games/Board/Other
|
||||
|
||||
%description doc
|
||||
@ -131,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
|
||||
|
Loading…
Reference in New Issue
Block a user