fixed php dependency in psmcore.spec file
and added requires gd