Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:hp:education
gnuchess
gnuchess.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnuchess.spec of Package gnuchess
# # spec file for package gnuchess # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: gnuchess Summary: GNU chess program Url: http://www.gnu.org/software/chess/chess.html License: GPL Group: Amusements/Games/Board/Chess Provides: chess_backend Provides: gchess Version: 5.07 Release: 13 Vendor: openSUSE-Education BuildRequires: readline-devel BuildRequires: flex Source: %{name}-%{version}.tar.bz2 # WARNING: Don't forget to re-generate book.dat manually before submit! # Simply remove the source and build, updated book will be generated. Source1: book_1.01.pgn.bz2 Source2: book.dat.bz2 Source3: genbook.sh Source4: gnuchess.6 Patch0: gnuchess-nonstatic.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build NoSource: 2 %description A worthy chess opponent. Runs in text mode. You can find an X11 interface in the xboard package. Authors: -------- Hans Eric Sandstrom <hes@log-sv.se> Stuart Cracraft <cracraft@rice-chex.ai.mit.edu> Mike McGann <mwm@hslrswi.hasler.ascom.ch> Philippe Schnoebelen <phs@lifia.imag.fr> Tim Mann <mann@src.dec.com> %prep %setup %patch0 %build %configure sed '/\/usr\/lib\/games\/gnuchess\/book\.dat/d;s:/usr/share/games:%{_datadir}:' <src/book.h >src/book.h~ mv src/book.h~ src/book.h make %{?jobs:-j %jobs} %install if [ -f %{SOURCE2} ] ; then bzcat %{SOURCE2} >book.dat else sh %{SOURCE3} %{SOURCE1} fi rm -rf doc/CVS %makeinstall mkdir -p $RPM_BUILD_ROOT%{_mandir}/man6 cp %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/man6 mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnuchess cp book.dat $RPM_BUILD_ROOT%{_datadir}/gnuchess %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_prefix}/bin/* %{_mandir}/man*/* %{_datadir}/gnuchess %doc AUTHORS COPYING ChangeLog NEWS README TODO doc %changelog
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