forked from pool/gnubg
Accepting request 122902 from home:worldcitizen:branches:games
Added missing Build requires automake and libtool Cleaned the spec file up OBS-URL: https://build.opensuse.org/request/show/122902 OBS-URL: https://build.opensuse.org/package/show/games/gnubg?expand=0&rev=4
This commit is contained in:
parent
7ed0be104e
commit
f3bc4458e1
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 30 12:32:15 UTC 2012 - joop.boonen@opensuse.org
|
||||||
|
|
||||||
|
- Added missing Build requires automake and libtool
|
||||||
|
- Cleaned the spec file up
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 2 13:18:26 UTC 2011 - jengelh@medozas.de
|
Sat Jul 2 13:18:26 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
69
gnubg.spec
69
gnubg.spec
@ -1,28 +1,46 @@
|
|||||||
###############################################################
|
|
||||||
#
|
#
|
||||||
# Spec file for package gnubg (Version 0.9.0).
|
# spec file for package gnubg
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2003 Achim Mueller, Germany.
|
# Copyright (c) 2003 Achim Mueller, Germany.
|
||||||
# Updated by Christopher Hofmann in 2010
|
# Updated by Christopher Hofmann in 2010
|
||||||
# This file and all modifications and additions to the pristine
|
|
||||||
# package are under the same license as the package itself.
|
|
||||||
#
|
#
|
||||||
# please send bugfixes or comments to info@gnubg.org
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
###############################################################
|
|
||||||
|
|
||||||
Name: gnubg
|
Name: gnubg
|
||||||
License: GNU General Public License (GPL) - all versions
|
|
||||||
Group: Amusements/Games/Board/Other
|
|
||||||
Summary: Plays and analyzes backgammon games and matches on a world class level
|
|
||||||
Version: 0.9.0
|
Version: 0.9.0
|
||||||
Release: 0
|
Release: 0
|
||||||
|
Summary: Plays and analyzes backgammon games and matches on a world class level
|
||||||
|
License: GPL-1.0+
|
||||||
|
Group: Amusements/Games/Board/Other
|
||||||
|
Url: http://www.gnubg.org
|
||||||
Source: %{name}-%{version}-1.tar.gz
|
Source: %{name}-%{version}-1.tar.gz
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: bison
|
||||||
|
BuildRequires: flex
|
||||||
|
BuildRequires: freetype2-devel
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: gtkglext-devel
|
||||||
|
BuildRequires: libesd-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: sqlite3-devel
|
||||||
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(gtk+-2.0)
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
URL: http://www.gnubg.org
|
|
||||||
BuildRequires: bison flex python-devel glibc-devel glib2-devel libxml2-devel
|
|
||||||
BuildRequires: freetype2-devel libpng-devel gtk2-devel gtkglext-devel
|
|
||||||
BuildRequires: libesd-devel sqlite3-devel
|
|
||||||
%if 0%{?suse_version} > 1120
|
%if 0%{?suse_version} > 1120
|
||||||
BuildRequires: libpng-devel >= 1.4
|
BuildRequires: libpng-devel >= 1.4
|
||||||
%else
|
%else
|
||||||
@ -33,7 +51,6 @@ BuildRequires: update-desktop-files
|
|||||||
Recommends: gnubg-databases
|
Recommends: gnubg-databases
|
||||||
Recommends: gnubg-sounds
|
Recommends: gnubg-sounds
|
||||||
%endif
|
%endif
|
||||||
AutoReqProv: on
|
|
||||||
Patch0: gnubgmodule_bufferoverflow.patch
|
Patch0: gnubgmodule_bufferoverflow.patch
|
||||||
Patch1: configure.in_libpngversion.patch
|
Patch1: configure.in_libpngversion.patch
|
||||||
Patch2: export.c_libpng14.patch
|
Patch2: export.c_libpng14.patch
|
||||||
@ -41,20 +58,18 @@ Patch2: export.c_libpng14.patch
|
|||||||
%description
|
%description
|
||||||
Program for playing and analysing backgammon positions, games and matches. It is based on a neural network. It currently plays at about the level of a championship flight tournament player. Depending on its parameters and its luck in recent games, it rates from around 1900 to 2000 on FIBS, the First Internet Backgammon Server -- at its strongest, it ranks in the top 5 of over 6000 rated players there and is gradually improving.
|
Program for playing and analysing backgammon positions, games and matches. It is based on a neural network. It currently plays at about the level of a championship flight tournament player. Depending on its parameters and its luck in recent games, it rates from around 1900 to 2000 on FIBS, the First Internet Backgammon Server -- at its strongest, it ranks in the top 5 of over 6000 rated players there and is gradually improving.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package databases
|
%package databases
|
||||||
Summary: Databases for gnubg
|
Summary: Databases for gnubg
|
||||||
Requires: %{name}
|
|
||||||
Group: Amusements/Games/Board/Other
|
Group: Amusements/Games/Board/Other
|
||||||
|
Requires: %{name}
|
||||||
|
|
||||||
%description databases
|
%description databases
|
||||||
This package contains the GNU Backgammon bearoff databases.
|
This package contains the GNU Backgammon bearoff databases.
|
||||||
|
|
||||||
%package sounds
|
%package sounds
|
||||||
Summary: Sounds for gnubg
|
Summary: Sounds for gnubg
|
||||||
Requires: %{name}
|
|
||||||
Group: Amusements/Games/Board/Other
|
Group: Amusements/Games/Board/Other
|
||||||
|
Requires: %{name}
|
||||||
|
|
||||||
%description sounds
|
%description sounds
|
||||||
This package contains the sounds for GNU Backgammon.
|
This package contains the sounds for GNU Backgammon.
|
||||||
@ -76,7 +91,7 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%suse_update_desktop_file -c %name "GNU Backgammon" "Backgammon Board Game" "%name -w" /usr/share/%name/%name.png "Game;BoardGame;"
|
%suse_update_desktop_file -c %{name} "GNU Backgammon" "Backgammon Board Game" "%{name} -w" /usr/share/%{name}/%{name}.png "Game;BoardGame;"
|
||||||
%endif
|
%endif
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
@ -85,20 +100,20 @@ make %{?_smp_mflags}
|
|||||||
%doc ABOUT-NLS AUTHORS CODING COPYING NEWS README TODO
|
%doc ABOUT-NLS AUTHORS CODING COPYING NEWS README TODO
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man?/%{name}*
|
%{_mandir}/man?/%{name}*
|
||||||
%docdir /usr/share/gnubg/doc
|
%docdir %{_datadir}/gnubg/doc
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
/usr/share/applications/gnubg.desktop
|
%{_datadir}/applications/gnubg.desktop
|
||||||
%endif
|
%endif
|
||||||
/usr/share/gnubg
|
%{_datadir}/gnubg
|
||||||
%exclude /usr/share/gnubg/*.bd
|
%exclude %{_datadir}/gnubg/*.bd
|
||||||
%exclude /usr/share/gnubg/sounds
|
%exclude %{_datadir}/gnubg/sounds
|
||||||
|
|
||||||
%files databases
|
%files databases
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/share/gnubg/*.bd
|
%{_datadir}/gnubg/*.bd
|
||||||
|
|
||||||
%files sounds
|
%files sounds
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/share/gnubg/sounds
|
%{_datadir}/gnubg/sounds
|
||||||
|
|
||||||
%changelog -n gnubg
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user