parse and print file.spec