Skip to content

Commit b03e35b

Browse files
committed
*** empty log message ***
1 parent 7ce51ad commit b03e35b

File tree

2 files changed

+72
-25
lines changed

2 files changed

+72
-25
lines changed

INSTALL

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
2-
Foundation, Inc.
1+
Installation Instructions
2+
*************************
33

4-
This file is free documentation; the Free Software Foundation gives
4+
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004 Free
5+
Software Foundation, Inc.
6+
7+
This file is free documentation; the Free Software Foundation gives
58
unlimited permission to copy, distribute and modify it.
69

710
Basic Installation
811
==================
912

10-
These are generic installation instructions.
13+
These are generic installation instructions.
1114

1215
The `configure' shell script attempts to guess correct values for
1316
various system-dependent variables used during compilation. It uses
@@ -67,9 +70,9 @@ The simplest way to compile this package is:
6770
Compilers and Options
6871
=====================
6972

70-
Some systems require unusual options for compilation or linking that
71-
the `configure' script does not know about. Run `./configure --help'
72-
for details on some of the pertinent environment variables.
73+
Some systems require unusual options for compilation or linking that the
74+
`configure' script does not know about. Run `./configure --help' for
75+
details on some of the pertinent environment variables.
7376

7477
You can give `configure' initial values for configuration parameters
7578
by setting variables in the command line or in the environment. Here
@@ -82,7 +85,7 @@ is an example:
8285
Compiling For Multiple Architectures
8386
====================================
8487

85-
You can compile the package for more than one kind of computer at the
88+
You can compile the package for more than one kind of computer at the
8689
same time, by placing the object files for each architecture in their
8790
own directory. To do this, you must use a version of `make' that
8891
supports the `VPATH' variable, such as GNU `make'. `cd' to the
@@ -99,19 +102,19 @@ for another architecture.
99102
Installation Names
100103
==================
101104

102-
By default, `make install' will install the package's files in
105+
By default, `make install' will install the package's files in
103106
`/usr/local/bin', `/usr/local/man', etc. You can specify an
104107
installation prefix other than `/usr/local' by giving `configure' the
105-
option `--prefix=PATH'.
108+
option `--prefix=PREFIX'.
106109

107110
You can specify separate installation prefixes for
108111
architecture-specific files and architecture-independent files. If you
109-
give `configure' the option `--exec-prefix=PATH', the package will use
110-
PATH as the prefix for installing programs and libraries.
112+
give `configure' the option `--exec-prefix=PREFIX', the package will
113+
use PREFIX as the prefix for installing programs and libraries.
111114
Documentation and other data files will still use the regular prefix.
112115

113116
In addition, if you use an unusual directory layout you can give
114-
options like `--bindir=PATH' to specify different values for particular
117+
options like `--bindir=DIR' to specify different values for particular
115118
kinds of files. Run `configure --help' for a list of the directories
116119
you can set and what kinds of files go in them.
117120

@@ -122,7 +125,7 @@ option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
122125
Optional Features
123126
=================
124127

125-
Some packages pay attention to `--enable-FEATURE' options to
128+
Some packages pay attention to `--enable-FEATURE' options to
126129
`configure', where FEATURE indicates an optional part of the package.
127130
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
128131
is something like `gnu-as' or `x' (for the X Window System). The
@@ -137,11 +140,11 @@ you can use the `configure' options `--x-includes=DIR' and
137140
Specifying the System Type
138141
==========================
139142

140-
There may be some features `configure' cannot figure out
141-
automatically, but needs to determine by the type of machine the package
142-
will run on. Usually, assuming the package is built to be run on the
143-
_same_ architectures, `configure' can figure that out, but if it prints
144-
a message saying it cannot guess the machine type, give it the
143+
There may be some features `configure' cannot figure out automatically,
144+
but needs to determine by the type of machine the package will run on.
145+
Usually, assuming the package is built to be run on the _same_
146+
architectures, `configure' can figure that out, but if it prints a
147+
message saying it cannot guess the machine type, give it the
145148
`--build=TYPE' option. TYPE can either be a short name for the system
146149
type, such as `sun4', or a canonical name which has the form:
147150

@@ -167,9 +170,9 @@ eventually be run) with `--host=TYPE'.
167170
Sharing Defaults
168171
================
169172

170-
If you want to set default values for `configure' scripts to share,
171-
you can create a site shell script called `config.site' that gives
172-
default values for variables like `CC', `cache_file', and `prefix'.
173+
If you want to set default values for `configure' scripts to share, you
174+
can create a site shell script called `config.site' that gives default
175+
values for variables like `CC', `cache_file', and `prefix'.
173176
`configure' looks for `PREFIX/share/config.site' if it exists, then
174177
`PREFIX/etc/config.site' if it exists. Or, you can set the
175178
`CONFIG_SITE' environment variable to the location of the site script.
@@ -178,7 +181,7 @@ A warning: not all `configure' scripts look for a site script.
178181
Defining Variables
179182
==================
180183

181-
Variables not defined in a site shell script can be set in the
184+
Variables not defined in a site shell script can be set in the
182185
environment passed to `configure'. However, some packages may run
183186
configure again during the build, and the customized values of these
184187
variables may be lost. In order to avoid this problem, you should set
@@ -192,8 +195,7 @@ overridden in the site shell script).
192195
`configure' Invocation
193196
======================
194197

195-
`configure' recognizes the following options to control how it
196-
operates.
198+
`configure' recognizes the following options to control how it operates.
197199

198200
`--help'
199201
`-h'

cheops.spec

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Summary: A chess program with configurable AI
2+
Name: cheops
3+
Version: 1.1
4+
Release: 1
5+
License: GPL
6+
Group: Amusements/Games/Board/Chess
7+
URL: http://www.nothingisreal.com/cheops/
8+
Source0: http://www.nothingisreal.com/cheops/%{name}-%{version}.tar.bz2
9+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
10+
Prefix: %{_prefix}
11+
12+
%description
13+
CHEOPS (CHEss OPponent Simulator) is a fully-functional chess program
14+
capable of human-vs-human, human-vs-computer, and computer-vs-computer
15+
play. It uses a 64-square linear array board representation. The game
16+
tree search is alpha-beta, and the static evaluation function
17+
considers material, mobility, and motif features.
18+
19+
%prep
20+
%setup -q
21+
22+
%build
23+
./configure --prefix=%{_prefix}
24+
make
25+
26+
%install
27+
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
28+
make DESTDIR=$RPM_BUILD_ROOT install-strip
29+
30+
%clean
31+
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
32+
33+
34+
%files
35+
%defattr(-,root,root,-)
36+
%{_prefix}/bin/cheops
37+
%doc ChangeLog AUTHORS COPYING INSTALL NEWS README THANKS doc/cheops.pdf doc/cheops.dvi
38+
%doc %{_prefix}/man/man6/cheops.6.gz
39+
40+
41+
42+
%changelog
43+
* Fri Dec 4 2004 Tristan Miller <psychonaut@nothingisreal.com> -
44+
- Initial build.
45+

0 commit comments

Comments
 (0)