4 There are three Maxima binary rpms:
5 maxima, maxima-exec-cmucl, and maxima-xmaxima.
7 The maxima and maxima-exec-cmucl rpms must be installed together.
9 maxima-exec rpms for other Lisp versions can also be installed,
10 although you'll probably have to build them yourself.
12 The maxima-xmaxima rpm is optional. Xmaxima is a Maxima GUI.
18 You can build rpm files from an unpacked tarball or cvs sandbox.
20 (0) Go to the Maxima directory.
22 $ cd sandbox/maxima # or whatever is your top-level maxima directory
24 (1) Set the version number.
26 Open ./configure.ac and change the AC_INIT line.
27 (This is the only way I know to change the version number.)
29 Optionally -- open ./maxima.spec.in and increment the `Release' number.
30 (This number is appended to the version number.)
32 (2) Select Lisp version.
34 Open ./maxima.spec.in.
36 Change all `%define enable_<whatever>' to `0'
37 except for the selected Lisp; make that `1'.
39 Change all `%define <whatever>_flags' to `--disable-<whatever>'
40 except for the selected Lisp; make that `--enable-<whatever>'.
42 (3) Generate the rpm spec file.
46 (4) Generate a source tarball.
50 May need to invoke superuser privileges here (if /usr/src/local not writeable).
52 $ mv maxima-<release number>.tar.gz /usr/src/local/SOURCES
56 The maxima.spec file builds three binary rpms:
57 maxima, maxima-xmaxima, and maxima-exec-<whatever>.
59 May need to invoke superuser privileges here (if /usr/src/local not writeable).
61 $ rpmbuild -ba ./maxima.spec # build source rpm and three binary rpms
63 $ rpmbuild -bb ./maxima.spec # build three binary rpms