reworked version of spec file