There is a tool we use at work (rpmbuild, I believe) that's not available via homebrew and only through macports. It's a nightmare, because if you install macports, it interferes with brew (or at least, brew will complain a lot). I've taken to running a VM in lieu of macports.