From bc37469690f96f81e9c0f37946cec3e0ff1c30bd2fdf764701e359f48db60413 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 14 Jan 2010 21:10:36 +0000 Subject: [PATCH] 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 --- bugzilla-225902.patch | 12 ------ gnugo-3.7.10.tar.bz2 | 3 -- gnugo-3.8.tar.bz2 | 3 ++ gnugo.changes | 16 ++++++++ gnugo.spec | 91 ++++++++----------------------------------- 5 files changed, 35 insertions(+), 90 deletions(-) delete mode 100644 bugzilla-225902.patch delete mode 100644 gnugo-3.7.10.tar.bz2 create mode 100644 gnugo-3.8.tar.bz2 diff --git a/bugzilla-225902.patch b/bugzilla-225902.patch deleted file mode 100644 index 7673d7d..0000000 --- a/bugzilla-225902.patch +++ /dev/null @@ -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) diff --git a/gnugo-3.7.10.tar.bz2 b/gnugo-3.7.10.tar.bz2 deleted file mode 100644 index 31d75e8..0000000 --- a/gnugo-3.7.10.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3bd4996ba7c57157cb58f62b59746f590c5c011318f45e775fb349bc1f6df81e -size 2336438 diff --git a/gnugo-3.8.tar.bz2 b/gnugo-3.8.tar.bz2 new file mode 100644 index 0000000..1870943 --- /dev/null +++ b/gnugo-3.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1d4b8f740ba282494cad0c1ffe5b0ac05e5a037426b9373477dba857c09e508 +size 2494507 diff --git a/gnugo.changes b/gnugo.changes index e6aab42..6be5220 100644 --- a/gnugo.changes +++ b/gnugo.changes @@ -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 diff --git a/gnugo.spec b/gnugo.spec index fb240fd..98ec3b1 100644 --- a/gnugo.spec +++ b/gnugo.spec @@ -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 # remain the property of their copyright owners, unless otherwise agreed @@ -19,20 +19,19 @@ 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 -License: GPL v2 or later +License: GPLv3+ Group: Amusements/Games/Board/Other Summary: Chinese Game "Go" -Version: 3.7.10 -Release: 223 +Version: 3.8 +Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: gnugo-%{version}.tar.bz2 Source1: suse-start-gnugo.el Source2: xemacs-auto-autoloads.el Patch0: xemacs.patch Patch1: mouse-2-dont-insert-junk.patch -Patch2: bugzilla-225902.patch PreReq: %install_info_prereq %description @@ -48,14 +47,9 @@ Authors: %setup -q %patch0 -p 1 %patch1 -p 1 -%patch2 -p 1 %build -autoconf -CFLAGS="$RPM_OPT_FLAGS" ./configure \ - --prefix=/usr \ - --mandir=/%_mandir \ - --infodir=/%_infodir \ +%configure make pushd interface/xpms emacs -batch --no-site-file \ @@ -63,7 +57,7 @@ pushd interface/xpms popd %install -make DESTDIR=$RPM_BUILD_ROOT install +%makeinstall rm -f $RPM_BUILD_ROOT/usr/share/info/dir* # GNU Emacs: mkdir -p $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/gnugo @@ -97,68 +91,15 @@ done %files %defattr(-,root,root) %doc COPYING AUTHORS THANKS ChangeLog TODO README NEWS -/usr/bin/* +%{_bindir}/* /%_infodir/* /%_mandir/man?/* -%dir /usr/share/emacs/site-lisp/gnugo/ -/usr/share/emacs/site-lisp/gnugo/* -/usr/share/emacs/site-lisp/suse-start-gnugo.el -%dir /usr/share/xemacs/site-packages/ -%dir /usr/share/xemacs/site-packages/lisp/ -%dir /usr/share/xemacs/site-packages/lisp/gnugo/ -/usr/share/xemacs/site-packages/lisp/gnugo/* +%dir %{_datadir}/emacs/site-lisp/gnugo/ +%{_datadir}/emacs/site-lisp/gnugo/* +%{_datadir}/emacs/site-lisp/suse-start-gnugo.el +%dir %{_datadir}/xemacs/site-packages/ +%dir %{_datadir}/xemacs/site-packages/lisp/ +%dir %{_datadir}/xemacs/site-packages/lisp/gnugo/ +%{_datadir}/xemacs/site-packages/lisp/gnugo/* %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.