basic spex file generation