Making matlab RPMs ------------------- This document describes how to make MATLAB RPMS out of the installation media and .nosrc.rpm files provided by Duke. Packaging Matlab is tricky because it has a proprietary X-only installer that requires a valid license file in order to work. Therefore, to create "source" tarballs you will need to actually run the installer by hand and install things into a directory called matlab{R-version}-{version}. I.e, if you are trying to package matlab R14, service pack 1, run the installer and install just "MATLAB", "MATLAB Kernel", and "MATLAB Toolbox" items from the "choose components" menu (the items needed for each toolbox will be listed in the .spec file). The name of the installation directory will need to be "matlabR14-7.0.1". Once the installation completes, use the following command to prepare the "source" tarball: tar czvf matlabR14-7.0.1.tar.gz matlabR14-7.0.1 Then copy matlabR14-7.0.1.tar.gz into your SOURCES directory. After that you should be able to run: rpmbuild --rebuild matlabR14-7.0.1.nosrc.rpm You will need jpackage.org java packages. See http://jpackage.org/ For any questions, please contact linux at duke edu. Initially packaged by: Konstantin Ryabitsev with special thanks to Sean O'Connell for his work on R13.