Add the build and dist directories and the .spec file to .gitignore.