An RPM spec file to build and install the is HAProxy TCP/HTTP reverse proxy.
To Build:
sudo yum -y install rpmdevtools && rpmdev-setuptree
sudo yum -y install pcre-devel gcc make openssl-devel
wget https://raw.github.com/nmilford/rpm-haproxy/master/haproxy.spec -O ~/rpmbuild/SPECS/haproxy.spec
wget http://www.haproxy.org/download/1.6/src/haproxy-1.6.9.tar.gz -O ~/rpmbuild/SOURCES/haproxy-1.6.9.tar.gz
rpmbuild -bb ~/rpmbuild/SPECS/haproxy.spec --define "release 1"