For Fedora 21 (Fedora 23 or newer, substitute <code>dnf</code> for <code>yum</code>):
sudo yum install tomcat gcc cairo-devel libjpeg-devel libpng-devel uuid-devel freerdp-devel pango-devel libssh2-devel libtelnet-devel libvncserver-devel pulseaudio-libs-devel openssl-devel libvorbis-devel libwebp-devel wget
Some packages may be already included in your Amahi install. If this is so Fedora / Amahi will skip that package.