automatic version update by autodist [release 6.1.1-1mamba;Tue Nov 26 2013]
This commit is contained in:
parent
8702e9ca21
commit
78f690a902
@ -1,2 +1,5 @@
|
||||
# gnuchess
|
||||
|
||||
GNU Chess lets most modern computers play a full game of chess.
|
||||
It has a plain terminal interface but supports visual interfaces such as X-Windows "xboard".
|
||||
|
||||
|
BIN
book_1.01.pgn.gz
Normal file
BIN
book_1.01.pgn.gz
Normal file
Binary file not shown.
12
gnuchess-5.07-input_thread.patch
Normal file
12
gnuchess-5.07-input_thread.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: src/input.c
|
||||
--- src/input.c.orig 2003-07-01 19:06:43 +0200
|
||||
+++ src/input.c 2005-10-14 11:46:35 +0200
|
||||
@@ -92,7 +92,7 @@
|
||||
fgets(inputstr, MAXSTR, stdin);
|
||||
}
|
||||
|
||||
-static pthread_t input_thread;
|
||||
+pthread_t input_thread;
|
||||
|
||||
/* Mutex and condition variable for thread communication */
|
||||
|
95
gnuchess.spec
Normal file
95
gnuchess.spec
Normal file
@ -0,0 +1,95 @@
|
||||
%define book_version 1.01
|
||||
Name: gnuchess
|
||||
Version: 6.1.1
|
||||
Release: 1mamba
|
||||
Summary: GNU Chess lets most modern computers play a full game of chess
|
||||
Group: Applications/Games
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.gnu.org/software/chess/
|
||||
Source: http://ftp.gnu.org/pub/gnu/chess/%{name}-%{version}.tar.gz
|
||||
Source1: http://ftp.gnu.org/pub/gnu/chess/book_%{book_version}.pgn.gz
|
||||
Patch0: %{name}-5.07-input_thread.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libncurses-devel
|
||||
BuildRequires: libreadline-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires(post): %{__install_info}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||
|
||||
%description
|
||||
GNU Chess lets most modern computers play a full game of chess.
|
||||
It has a plain terminal interface but supports visual interfaces such as X-Windows "xboard".
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch0
|
||||
gunzip -c %{SOURCE1} > book.pgn
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make
|
||||
|
||||
# compile book
|
||||
./src/gnuchess xboard << EOF
|
||||
book add book.pgn
|
||||
quit
|
||||
_EOF
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
install -D book.pgn %{buildroot}%{_datadir}/games/gnuchess/book.pgn
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
%install_info %{name}.info
|
||||
|
||||
%preun
|
||||
%uninstall_info %{name}.info
|
||||
exit 0
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/gnuchess
|
||||
%{_bindir}/gnuchessu
|
||||
%{_bindir}/gnuchessx
|
||||
%{_datadir}/gnuchess/smallbook.bin
|
||||
%{_datadir}/gnuchess/gnuchess.ini
|
||||
%{_datadir}/games/gnuchess/book.pgn
|
||||
%{_infodir}/gnuchess.info*
|
||||
%doc AUTHORS COPYING
|
||||
# ChangeLog INSTALL NEWS README TODO
|
||||
|
||||
%changelog
|
||||
* Tue Nov 26 2013 Automatic Build System <autodist@mambasoft.it> 6.1.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Nov 12 2013 Automatic Build System <autodist@mambasoft.it> 6.1.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Oct 21 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.3-2mamba
|
||||
- fixed the opening book generation
|
||||
|
||||
* Thu Mar 14 2013 Automatic Build System <autodist@mambasoft.it> 6.0.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jun 13 2012 Automatic Build System <autodist@mambasoft.it> 6.0.2-1mamba
|
||||
- update to 6.0.2
|
||||
|
||||
* Wed Jun 15 2011 Automatic Build System <autodist@mambasoft.it> 6.0.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Wed Apr 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 5.07-2mamba
|
||||
- specfile updates
|
||||
- added opening book in /usr/share/gnuchess
|
||||
|
||||
* Thu Nov 25 2004 Davide Madrisan <davide.madrisan@qilinux.it> 5.07-1qilnx
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user