Extract spec file
Cleanup