Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jpetermp
crafty
crafty.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crafty.spec of Package crafty
# # spec file for package crafty (Version 20.1) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org # # norootforbuild Name: crafty BuildRequires: gcc-c++ unzip License: Contact author, Other License(s), see package Group: Amusements/Games/Board/Chess Provides: chess_backend Autoreqprov: on Summary: A Chess Program Version: 23.0 Release: 1 Source: ftp://ftp.cis.uab.edu/pub/hyatt/source/crafty-23.0.zip Source1: crafty-misc.tar.bz2 Source2: bitmaps.tar.gz Patch: %{name}-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A strong playing chess program. It uses opening books and endgame databases. The graphical interface (xcrafty) requires the xboard package. Authors: -------- Bob Hyatt <hyatt@cis.uab.edu> %prep %setup %setup -T -D -a 1 -a 2 mkdir .crafty touch .craftyrc .crafty/book.bin .crafty/books.bin chmod 755 bitmaps chmod 644 bitmaps/* rm bitmaps/gifs.tar %patch -p1 %build export SUSE_ASNEEDED=0 make CFLAGS="$RPM_OPT_FLAGS" linux-suse sh make_books # use large opening book mv large_book.bin book.bin %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/usr/bin install -m 755 crafty $RPM_BUILD_ROOT/usr/bin install -m 755 xcrafty $RPM_BUILD_ROOT/usr/bin install -m 755 speak $RPM_BUILD_ROOT/usr/bin/crafty-speak install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man6 install -m 644 crafty.6 $RPM_BUILD_ROOT%{_mandir}/man6 ln -s crafty.6.gz $RPM_BUILD_ROOT%{_mandir}/man6/xcrafty.6.gz install -d -m 755 $RPM_BUILD_ROOT/usr/share/crafty/tb install -d -m 755 $RPM_BUILD_ROOT/usr/share/crafty/bitmaps install -d -m 755 $RPM_BUILD_ROOT/usr/share/crafty/sound install -m 644 book.bin books.bin crafty.hlp $RPM_BUILD_ROOT/usr/share/crafty install -m 644 tb/k[bnpqr]k.nb[bw].emd $RPM_BUILD_ROOT/usr/share/crafty/tb install -m 644 bitmaps/* $RPM_BUILD_ROOT/usr/share/crafty/bitmaps %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc doc/crafty.doc %doc doc/crafty.faq %doc doc/read.me %doc doc/tournament.howto %doc README.SuSE /usr/bin/crafty /usr/bin/xcrafty /usr/bin/crafty-speak %{_mandir}/man6/crafty.6.gz %{_mandir}/man6/xcrafty.6.gz /usr/share/crafty %changelog -n crafty * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Jan 13 2006 - snwint@suse.de - update to 20.1 - use larger opening book * Thu Sep 08 2005 - snwint@suse.de - man page file permission fix (#114849) * Fri Jul 15 2005 - snwint@suse.de - update to version 19.19 * Mon Sep 20 2004 - snwint@suse.de - fixed annotate bitmap path (found by Matthew Gatto) - install crafty.hlp - fixed some compile warnings * Fri Sep 03 2004 - snwint@suse.de - new version * Tue Apr 27 2004 - ro@suse.de - use RPM_OPT_FLAGS - added -fno-strict-aliasing * Thu Apr 01 2004 - snwint@suse.de - removed some strcpy()'s to avoid some security risk (#36274) * Mon Mar 08 2004 - snwint@suse.de - new version * Wed Jul 23 2003 - coolo@suse.de - use BuildRoot * Sat Feb 15 2003 - snwint@suse.de - new version * Tue Feb 04 2003 - sbrabec@suse.cz - Provide chess_backend. * Wed Sep 11 2002 - snwint@suse.de - compile on ppc64 * Mon Aug 12 2002 - snwint@suse.de - upgraded to new version * Fri Jul 12 2002 - snwint@suse.de - make it build on ppc64 * Tue May 28 2002 - snwint@suse.de - make it build on more archs * Thu Mar 14 2002 - snwint@suse.de - fixed typo to make it build on non-ia32 archs * Mon Feb 11 2002 - snwint@suse.de - updated to v18.13 - build without SMP support, the EGTB code doesn't like it * Wed Jul 18 2001 - snwint@suse.de - use SMP on all architectures * Tue Jul 17 2001 - snwint@suse.de - link with g++ - work around stdarg problem on ppc & s390 * Mon Jul 16 2001 - snwint@suse.de - upgraded to new version * Mon Jun 04 2001 - kukuk@suse.de - Fix to compile on more non-x86 architectures * Sat Dec 09 2000 - nashif@suse.de - sorted * Wed Jun 21 2000 - schwab@suse.de - Fix makefile for ia64. * Tue Mar 21 2000 - ro@suse.de - fixed to compile on alpha * Sun Mar 05 2000 - snwint@suse.de - updated intel version; axp, ppc etc will need Makefile fixes * Mon Sep 13 1999 - bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Wed Aug 25 1999 - uli@suse.de - fixed for PPC * Tue Jun 22 1999 - uli@suse.de - fixed for AXP * Thu Jun 10 1999 - snwint@suse.de - wrote a man page * Wed Jun 09 1999 - snwint@suse.de - created the package - moved crafty's config/log/rc files to ~/.crafty/ and ~/.craftyrc - tablebases are active by default
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor