Python script to generate RPM spec file for npm projects