Check out https://wiki.icinga.org/display/howtos/Build+Icinga+RPMs for some fairly detailed instructions. Given icinga is a fork of nagios it should mostly apply (I built from their provided spec and tarball only recently) ... or you might just want to switch to this from nagios ;-)