diff --git a/_service b/_service new file mode 100644 index 0000000..35d71c3 --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + http://git.savannah.gnu.org/r/gnugo.git + git + .git + 3.9.1+git%cd.%h + master + enable + + + gnugo-*.tar + xz + + + gnugo + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..b650416 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + http://git.savannah.gnu.org/r/gnugo.git + 84a32e9cee2a70c0ec6ef58c1be279fed84a9a53 \ No newline at end of file diff --git a/gnugo-3.9.1+git20130613.84a32e9.tar.xz b/gnugo-3.9.1+git20130613.84a32e9.tar.xz new file mode 100644 index 0000000..2f1b1cb --- /dev/null +++ b/gnugo-3.9.1+git20130613.84a32e9.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c0b883bd716574b24177fc1664d8ea871a99ec055bec9eb3fa5ca811a409752 +size 2214536 diff --git a/gnugo-3.9.1.tar.bz2 b/gnugo-3.9.1.tar.bz2 deleted file mode 100644 index 4c2be0c..0000000 --- a/gnugo-3.9.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0aa809e59fb7827986abac1f7d0b8f12db1a61093c3339d0767d8f98230d8733 -size 2535240 diff --git a/gnugo.changes b/gnugo.changes index f6b2291..eb168cc 100644 --- a/gnugo.changes +++ b/gnugo.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Aug 23 05:33:42 UTC 2015 - i@marguerite.su + +- Update to version 3.9.1+git20130613.84a32e9: + + removed automake-1.4 + + removed automake-1.4.patch from doc/Makefile.am + + reran automake to finish remove of automake-1.4 + + Removed built joseki *.db files from EXTRA_DIST. + + gunnar_9_2.1. Remove tactical semeai reading. (#228) + + Change pieces to stones in board output in ascii mode. + + Avoid crashing due to registering an invalid loss move reason. + ------------------------------------------------------------------- Thu Feb 21 05:29:53 UTC 2013 - i@marguerite.su diff --git a/gnugo.spec b/gnugo.spec index 1695121..90f3c19 100644 --- a/gnugo.spec +++ b/gnugo.spec @@ -1,7 +1,7 @@ # -# spec file for package gnugo (Version 3.8) +# spec file for package gnugo # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,72 +15,69 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: gnugo -BuildRequires: emacs-x11 fdupes ncurses-devel xemacs -Url: http://www.gnu.org/software/gnugo/gnugo.html +Version: 3.9.1+git20130613.84a32e9 +Release: 0 +Summary: Chinese Board Game "Go" License: GPL-3.0+ Group: Amusements/Games/Board/Other -Summary: Chinese Game "Go" -Version: 3.9.1 -Release: 0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: gnugo-%{version}.tar.bz2 +Url: http://www.gnu.org/software/gnugo/gnugo.html +Source: %{name}-%{version}.tar.xz Source1: suse-start-gnugo.el Source2: xemacs-auto-autoloads.el -Patch0: xemacs.patch +Patch: xemacs.patch Patch1: mouse-2-dont-insert-junk.patch -PreReq: %install_info_prereq +BuildRequires: emacs-x11 +BuildRequires: fdupes +BuildRequires: ncurses-devel +BuildRequires: xemacs +BuildRequires: xz +Requires(pre): %{install_info_prereq} +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Asian board game. /usr/share/doc/packages/gnugo - - - -Authors: --------- - Man L. Li +Chinese ancient board game. %prep %setup -q -%patch0 -p 1 -%patch1 -p 1 +%patch -p1 +%patch1 -p1 %build -%configure -make +%configure --prefix=%{_prefix} +make %{?_smp_mflags} pushd interface/xpms emacs -batch --no-site-file \ -l ../make-xpms-file.el -f make-xpms-file gnugo-xpms.el *.xpm popd %install -%makeinstall -rm -f $RPM_BUILD_ROOT/usr/share/info/dir* +make DESTDIR=%{buildroot} install %{?_smp_mflags} +rm -f %{buildroot}%{_infodir}/dir* # GNU Emacs: -mkdir -p $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/gnugo +mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/gnugo for i in $(find . -name "*.el") do emacs -no-site-file -q -batch -f batch-byte-compile $i install -m 644 ${i} ${i}c \ - $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/gnugo + %{buildroot}%{_datadir}/emacs/site-lisp/gnugo done -install -m 644 $RPM_SOURCE_DIR/suse-start-gnugo.el \ - $RPM_BUILD_ROOT/usr/share/emacs/site-lisp +install -m 644 %{SOURCE1} \ + %{buildroot}%{_datadir}/emacs/site-lisp # XEmacs: find . -name "*.elc" | xargs rm -mkdir -p $RPM_BUILD_ROOT/usr/share/xemacs/site-packages/lisp/gnugo +mkdir -p %{buildroot}%{_datadir}/xemacs/site-packages/lisp/gnugo for i in $(find . -name "*.el") do xemacs -no-site-file -q -batch -f batch-byte-compile $i install -m 644 ${i} ${i}c \ - $RPM_BUILD_ROOT/usr/share/xemacs/site-packages/lisp/gnugo - install -m 644 $RPM_SOURCE_DIR/xemacs-auto-autoloads.el \ - $RPM_BUILD_ROOT/usr/share/xemacs/site-packages/lisp/gnugo/auto-autoloads.el + %{buildroot}%{_datadir}/xemacs/site-packages/lisp/gnugo done -%fdupes $RPM_BUILD_ROOT/usr/share +install -m 644 %{SOURCE2} \ + %{buildroot}%{_datadir}/xemacs/site-packages/lisp/gnugo/auto-autoloads.el + +%fdupes %{buildroot}%{_prefix}/share %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz @@ -90,10 +87,10 @@ done %files %defattr(-,root,root) -%doc COPYING AUTHORS THANKS ChangeLog TODO README NEWS -%{_bindir}/* -/%_infodir/* -/%_mandir/man?/* +%doc COPYING AUTHORS THANKS ChangeLog TODO README NEWS +%{_bindir}/%{name} +%{_infodir}/gnugo.info*.gz +%{_mandir}/man6/gnugo.6.gz %dir %{_datadir}/emacs/site-lisp/gnugo/ %{_datadir}/emacs/site-lisp/gnugo/* %{_datadir}/emacs/site-lisp/suse-start-gnugo.el