Update ChangeLog to reflect closing tickets #3054 & #4210.
[maxima.git] / README.rpms
blob54f775614cd742578480169c8915dc31e7ee3eb2
1 Installing rpms
2 ===============
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.
15 Building rpms
16 =============
18 You can build rpm files from an unpacked tarball or Git checkout.
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.
25     
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) Build rpms.
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>.