Because of Linux's flexible mount-concept, fixed installation locations are not posing a problem. Therefore the configuration, compilation and installation can be preconfigured (depending on architecture and distribution) to the extent of being 100% automatized!
The SPEC file controls the build and installation process. To create an upgrade or a new releases one can start with the last SPEC file, to see what was necessary the last time.
If you want to compile rpm packages as normal user, you'll have to setup your own rpm sandbox. You can do this by executing the following commands (bash):
You'll find the mimas.spec SPEC file to work on in the directory $HOME/rpms/SPECS. However I recommend using the SPEC file, which comes with the CVS repository. Copy this SPEC file to $HOME/rpms/SPECS and don't forget to put the updated version into the CVS repository later.
Make sure, that your software (in $HOME/mimas) is running! You don't want your name on a release, which will fail to work after being distributed. Also assert, that you've retrieved important bugfixes from your colleagues (see tla/gnu-arch repository for mimas).
In your the SPEC-file $HOME/rpms/SPECS/mimas.spec update the Release entry. By convention this is your abreviated name followed by a release number (indicating, how many releases already have been made under this version).
F.e. if I put jw5 for Release, rpm later should generate packages with the names mimas*-jw5.*.rpm.
See Create distributable how to make a distributable source-tarball from your local build in $HOME/mimas. Unzip the sources and rename the directory with a unique name:
$ cd $HOME
$ tar xzf $HOME/mimas/mimas-1.0.tar.gz
$ mv mimas-1.0 mimas-1.0-jw5