Package definitions for SDL2 This spec file should be suitable for building SDL2 on CentOS 6. Get SDL2-2.0.0.tar.gz from http://www.libsdl.org/download-2.0.php and save to ~/rpmbuild/SOURCES/ run rpmbuild -ba SDL2.spec