Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aapgorilla
gnubg
gnubg.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnubg.spec of Package gnubg
%define name gnubg %define version 0.90 %define date 20100121 %define release %mkrel 1-%{date} %define enable_3d 1 %{?_without_3d: %define enable_3d 0} Summary: GNU Backgammon Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Games/Boards URL: http://www.gnubg.org/ Source0: http://www.gnubg.org/media/sources/gnubg-source-SNAPSHOT-%{date}.tar.gz BuildRequires: flex BuildRequires: bison BuildRequires: byacc BuildRequires: glib2-devel BuildRequires: freetype2-devel BuildRequires: gtk+2-devel BuildRequires: libxml2-devel BuildRequires: png-devel BuildRequires: ghostscript BuildRequires: libcanberra-devel BuildRequires: gstreamer0.10-devel BuildRequires: pango-devel BuildRequires: cairo-devel BuildRequires: gtkcairo-devel BuildRequires: gtkglextmm-devel BuildRequires: sqlite3-devel BuildRequires: readline-devel BuildRequires: python-devel BuildRequires: shared-mime-info %if %enable_3d BuildRequires: gtkglext-devel >= 1.0 BuildRequires: mesaglut-devel %endif Buildroot: %{_tmppath}/%{name}-%{version} %description GNU Backgammon (gnubg) plays and analyses backgammon games and matches. Some of its features include: * Tournament match and money session cube handling * Can play using graphical board (using GTK+ interface) with 2D/3D graphics, or command line interface * Functions to generate legal moves and evaluate positions at varying search depths * Neural net functions for giving cubeless evaluations of all other contact and race positions * Support for both 1-sided and 2-sided bearoff databases, and allows storing optional larger databases on disks * Automated rollouts of positions, with lookahead and race variance reduction where appropriate. Rollouts may also be extended. * Both TD(0) and supervised training of neural net weights * Optional position databases for supervised training * Loading and saving .sgf games and matches, and export to various other formats * Scripting ability * Automatic and manual annotation (analysis and commentary) of games and matches. * Record keeping of statistics of players in games and matches %prep %setup -q -n %{name} %build ./autogen.sh ./configure --prefix=%{_prefix}\ --with-python \ --enable-shared \ %ifarch x86_64 --enable-sse=sse2 \ --enable-threads \ %else --enable-sse=no \ %endif --bindir=%{_gamesbindir} \ %make %install rm -rf %{buildroot} %makeinstall_std bindir=%{_gamesbindir} # XDG menu entry mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications cat > $RPM_BUILD_ROOT%{_datadir}/applications/mandriva-%{name}.desktop << EOF [Desktop Entry] Name=GNU Backgammon Comment=GNU Backgammon Exec=%{_gamesbindir}/%{name} -b Icon=%{name} Terminal=false Type=Application Categories=X-MandrivaLinux-MoreApplications-Games-Boards;Game;BoardGame; EOF # remove unwanted files rm -rf %{buildroot}%{_datadir}/locale/en@quot %find_lang %{name} %clean rm -rf %{buildroot} %post %_install_info %{name}.info %update_icon_cache hicolor %preun %_remove_install_info %{name}.info %postun %update_icon_cache hicolor %files -f %{name}.lang %defattr(-, root, root) %attr(755, root, root) /usr/share/gnubg/scripts/query_player.sh %{_gamesbindir}/* %{_datadir}/%{name} %{_docdir}/%{name} %{_mandir}/man6/* %{_datadir}/applications/mandriva-%{name}.desktop %{_iconsdir}/* %changelog * Thu Dec 17 2009 aap <xxx@xxx.org> 0.90-1r* Wed Oct 07 2009 aap <xxx@xxx.org> 0.90-1r20091208mdv2010.0 -update snapshot -enable sse2 and threads on x86_64 -add shared-mime-info as buildrequire * Wed Oct 07 2009 aap <xxx@xxx.org> 0.90SNAPSHOT20091001-1mdv2010.0 - new snapshot - fix requires - remove all patches - fix spec file for new version - use correct icon - disable sse so it will build on i586 * Sat Feb 28 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.15-5mdv2009.1 + Revision: 346063 - builtfor latest readline - fix some (not all) format errors - fix linking order + Adam Williamson <awilliamson@mandriva.org> - rebuild for new ftgl major + Thierry Vignaud <tvignaud@mandriva.com> - rebuild * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.15-1mdv2008.1 + Revision: 136454 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request - do not harcode icon extension - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated' * Sun Mar 04 2007 Emmanuel Andry <eandry@mandriva.org> 0.15-1mdv2007.0 + Revision: 132148 - buildrequires ghostscript - drop source 1 - New version 0.15 + Nicolas Lécureuil <neoclust@mandriva.org> - Fix BuildRequires - Use mkrel - Fix BuildRequires - Add menu entry - Import gnubg * Tue Feb 08 2005 Abel Cheung <deaddog@mandrake.org> 0.14.3-4mdk - Rebuild against new readline * Sun Dec 26 2004 Abel Cheung <deaddog@mandrake.org> 0.14.3-3mdk - Rebuild against new python * Thu Dec 02 2004 Abel Cheung <deaddog@mandrake.org> 0.14.3-2mdk - Fix BuildRequires * Thu Nov 04 2004 Abel Cheung <deaddog@mandrake.org> 0.14.3-1mdk - First Mandrakelinux package - If you try to play without -b option, it will encounter assertion fail and quit during bearoff
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor