Accepting request 29536 from M17N

Copy from M17N/gnugo based on submit request 29536 from user coolo

OBS-URL: https://build.opensuse.org/request/show/29536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnugo?expand=0&rev=7
This commit is contained in:
OBS User autobuild 2010-01-14 21:10:36 +00:00 committed by Git OBS Bridge
parent a51ca48be4
commit 58238ef0af
5 changed files with 35 additions and 90 deletions

View File

@ -1,12 +0,0 @@
diff -ru gnugo-3.7.10/engine/persistent.c gnugo-3.7.10.new/engine/persistent.c
--- gnugo-3.7.10/engine/persistent.c 2006-05-21 19:04:27.000000000 +0200
+++ gnugo-3.7.10.new/engine/persistent.c 2006-12-05 19:19:48.000000000 +0100
@@ -440,7 +440,7 @@
print_persistent_cache_entry(entry);
}
/* FIXME: This is an ugly hack. */
- if (cache->name == "reading cache"
+ if (0 == strcmp(cache->name, "reading cache")
&& (debug & DEBUG_READING_PERFORMANCE)
&& entry->cost >= MIN_READING_NODES_TO_REPORT) {
if (entry->result != 0)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3bd4996ba7c57157cb58f62b59746f590c5c011318f45e775fb349bc1f6df81e
size 2336438

3
gnugo-3.8.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d1d4b8f740ba282494cad0c1ffe5b0ac05e5a037426b9373477dba857c09e508
size 2494507

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Jan 8 17:01:51 CET 2010 - vuntz@opensuse.org
- Update to version 3.8:
+ many small improvements and tuning since 3.6
+ experimental Monte Carlo mode (9x9 only)
+ support for tiny boards
+ GPL v3
- Change License to GPL v3 or later.
- Drop bugzilla-225902.patch: fixed upstream.
- Remove unneeded BuildRequires: giflib-devel, glib-devel, krb5,
libpng-devel, libtiff-devel, openldap2-devel, xorg-x11-devel.
- Do not call autoconf.
- Use configure, make install macros, and bindir, datadir instead
of /usr/bin, /usr/share.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 04 18:41:41 CET 2007 - mfabian@suse.de Tue Dec 04 18:41:41 CET 2007 - mfabian@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package gnugo (Version 3.7.10) # spec file for package gnugo (Version 3.8)
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,20 +19,19 @@
Name: gnugo Name: gnugo
BuildRequires: emacs-x11 fdupes giflib-devel glib-devel krb5 libpng-devel libtiff-devel ncurses-devel openldap2-devel xemacs xorg-x11-devel BuildRequires: emacs-x11 fdupes ncurses-devel xemacs
Url: http://www.gnu.org/software/gnugo/gnugo.html Url: http://www.gnu.org/software/gnugo/gnugo.html
License: GPL v2 or later License: GPLv3+
Group: Amusements/Games/Board/Other Group: Amusements/Games/Board/Other
Summary: Chinese Game "Go" Summary: Chinese Game "Go"
Version: 3.7.10 Version: 3.8
Release: 223 Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: gnugo-%{version}.tar.bz2 Source0: gnugo-%{version}.tar.bz2
Source1: suse-start-gnugo.el Source1: suse-start-gnugo.el
Source2: xemacs-auto-autoloads.el Source2: xemacs-auto-autoloads.el
Patch0: xemacs.patch Patch0: xemacs.patch
Patch1: mouse-2-dont-insert-junk.patch Patch1: mouse-2-dont-insert-junk.patch
Patch2: bugzilla-225902.patch
PreReq: %install_info_prereq PreReq: %install_info_prereq
%description %description
@ -48,14 +47,9 @@ Authors:
%setup -q %setup -q
%patch0 -p 1 %patch0 -p 1
%patch1 -p 1 %patch1 -p 1
%patch2 -p 1
%build %build
autoconf %configure
CFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=/usr \
--mandir=/%_mandir \
--infodir=/%_infodir \
make make
pushd interface/xpms pushd interface/xpms
emacs -batch --no-site-file \ emacs -batch --no-site-file \
@ -63,7 +57,7 @@ pushd interface/xpms
popd popd
%install %install
make DESTDIR=$RPM_BUILD_ROOT install %makeinstall
rm -f $RPM_BUILD_ROOT/usr/share/info/dir* rm -f $RPM_BUILD_ROOT/usr/share/info/dir*
# GNU Emacs: # GNU Emacs:
mkdir -p $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/gnugo mkdir -p $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/gnugo
@ -97,68 +91,15 @@ done
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING AUTHORS THANKS ChangeLog TODO README NEWS %doc COPYING AUTHORS THANKS ChangeLog TODO README NEWS
/usr/bin/* %{_bindir}/*
/%_infodir/* /%_infodir/*
/%_mandir/man?/* /%_mandir/man?/*
%dir /usr/share/emacs/site-lisp/gnugo/ %dir %{_datadir}/emacs/site-lisp/gnugo/
/usr/share/emacs/site-lisp/gnugo/* %{_datadir}/emacs/site-lisp/gnugo/*
/usr/share/emacs/site-lisp/suse-start-gnugo.el %{_datadir}/emacs/site-lisp/suse-start-gnugo.el
%dir /usr/share/xemacs/site-packages/ %dir %{_datadir}/xemacs/site-packages/
%dir /usr/share/xemacs/site-packages/lisp/ %dir %{_datadir}/xemacs/site-packages/lisp/
%dir /usr/share/xemacs/site-packages/lisp/gnugo/ %dir %{_datadir}/xemacs/site-packages/lisp/gnugo/
/usr/share/xemacs/site-packages/lisp/gnugo/* %{_datadir}/xemacs/site-packages/lisp/gnugo/*
%changelog %changelog
* Tue Dec 04 2007 mfabian@suse.de
- remove openldap2 from BuildRequires.
- use fdupes.
* Mon Apr 02 2007 rguenther@suse.de
- add ncurses-devel BuildRequires.
* Tue Dec 05 2006 mfabian@suse.de
- update to 3.7.10
- fix Bugzilla #225902 ("comparison with string literal").
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Feb 04 2005 mfabian@suse.de
- update to 3.7.2.
- adapt XEmacs patch.
* Fri Jan 21 2005 mfabian@suse.de
- add missing directories to file list to make it build on
SuSE 9.2.
* Thu Jan 20 2005 mfabian@suse.de
- install Emacs-lisp files.
- small fix for XEmacs to make at least the ASCII mode work with
XEmacs (graphical mode still doesn't work).
* Wed Dec 01 2004 adrian@suse.de
- update to version 3.6
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Mon Oct 06 2003 adrian@suse.de
- update to version 3.4
* Thu Apr 24 2003 ro@suse.de
- fix install_info --delete call and move from preun to postun
* Thu Feb 13 2003 mmj@suse.de
- Add %%install_info macros [#23416]
* Wed Jan 29 2003 ro@suse.de
- fix build with gcc-3.3 (-Wp,-lang-c89 unsupported)
* Tue Aug 06 2002 adrian@suse.de
- fix file conflicts
* Tue Aug 06 2002 adrian@suse.de
- update to version 3.2
- use BuildRoot
* Wed May 09 2001 mfabian@suse.de
- bzip2 sources
* Mon Nov 06 2000 ro@suse.de
- fixed neededforbuild
* Fri Mar 31 2000 nadvornik@suse.cz
- removed directories owned by aaa_dir
- filelist cleanup
* Wed Feb 16 2000 uli@suse.de
- fixed %%files section
* Wed Feb 16 2000 kettner@suse.de
- New version 2.6
- moved man and info to /usr/share
* Thu Nov 25 1999 kettner@suse.de
- New version 2.5.42
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.