SHA256
1
0
forked from pool/gnugo
Stephan Kulow 2015-08-27 06:55:53 +00:00 committed by Git OBS Bridge
parent ac11fae19a
commit 37f11dcb44
6 changed files with 72 additions and 42 deletions

17
_service Normal file
View File

@ -0,0 +1,17 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">http://git.savannah.gnu.org/r/gnugo.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="versionformat">3.9.1+git%cd.%h</param>
<param name="revision">master</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">gnugo-*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled">
<param name="basename">gnugo</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">http://git.savannah.gnu.org/r/gnugo.git</param>
<param name="changesrevision">84a32e9cee2a70c0ec6ef58c1be279fed84a9a53</param></service></servicedata>

View File

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

View File

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

View File

@ -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

View File

@ -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 <manli@cs.uh.edu>
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