1Installing rpms
2===============
3
4There are three Maxima binary rpms:
5maxima, maxima-exec-cmucl, and maxima-xmaxima.
6
7The maxima and maxima-exec-cmucl rpms must be installed together.
8
9maxima-exec rpms for other Lisp versions can also be installed,
10although you'll probably have to build them yourself.
11
12The maxima-xmaxima rpm is optional. Xmaxima is a Maxima GUI.
13
14
15Building rpms
16=============
17
18You can build rpm files from an unpacked tarball or Git checkout.
19
20(0) Go to the Maxima directory.
21
22    $ cd sandbox/maxima  # or whatever is your top-level maxima directory
23
24(1) Set the version number.
25
26    Open ./configure.ac and change the AC_INIT line.
27    (This is the only way I know to change the version number.)
28
29    Optionally -- open ./maxima.spec.in and increment the `Release' number.
30    (This number is appended to the version number.)
31
32(2) Select Lisp version.
33
34    Open ./maxima.spec.in.
35
36    Change all `%define enable_<whatever>' to `0'
37    except for the selected Lisp; make that `1'.
38
39    Change all `%define <whatever>_flags' to `--disable-<whatever>'
40    except for the selected Lisp; make that `--enable-<whatever>'.
41
42(3) Build rpms.
43
44    $ make rpm
45
46    The maxima.spec file that is generated during this process builds
47    four binary rpms:
48    maxima, maxima-emacs, maxima-xmaxima, and maxima-exec-<whatever>.
49