After a fair bit of work hacking out a script and some RPM .spec files I have come up with a new system for packaging nVidia modules. The new system consists of an NVIDIA_kernel-VER-REL.i386.rpm that contains the NVIDIA_kernel-VER-REL.tar.gz source file, an RPM .spec for the module and a script, buildnv.sh, that automates building the driver for a given kernel.
It works as follows: an end user installs the NVIDIA_kernel package which will satisfy the dependency NVIDIA_GLX requires NVIDIA_kernel. All of the files are installed into /usr/src/NVIDIA_kernel. From that directory simply run ./buildnv.sh and it will build you an RPM package containing the module for your specific kernel. The package will be named something like kernel-2.4.2-2-NVIDIA-0.9-769.i686.rpm or kernel-w4l-2.2.18-0_biscuit_6-NVIDIA-0.9-769.i686.rpm.
In order for this to work you must of course have kernel source installed for the target kernel (duh). At the moment you also must have the kernel RPM itself installed. Some time in the future I will add support for building against a not installed RPM.
Note well: Red Hat has a somewhat messy setup for their kernel source. You must have a valid and appropriate /boot/kernel.h* setup. Red Hat's initscripts create these files when you boot the appropriate kernel. If you are getting errors when modprobing the created driver (which the postinstall script does, so you'll see it right after install) most likely you do not have the proper kernel.h for the kernel you are building against. These errors occur because of kernel symbol versioning. I believe what happens is that it uses the symbols for the default kernel (386 uniprocessor).
You can download these package from the Sourceforge Download Page. If you have a stock RH7.1 i686 kernel you can use the kernel-2.4.2-2-NVIDIA package. If you have the latest RH7.0 i686 kernel you can use the kernel-2.2.17-14-NVIDIA package. If you do not see a package for your kernel and wish to have one automatically built get the NVIDIA_kernel package. It's also necessary to have the NVIDIA_kernel package to satisfy the NVIDIA_GLX dependency on NVIDIA_kernel. Or you can --nodeps it.
NOTE: Your browser either does not support frames, or is configured to display unframed content. To navigate the site you should visit the navigation page.