This is the exact error you get when trying to use a grey Restore DVD from one type of computer on another which is against the EULA: the restore DVD is only licensed for the machine it shipped with.
10.5 requires a 867MHz or higher processor.
EDIT: I'm guessing the OP has just downloaded to 10.5.2 installer from the Apple site? Doesn't work like that I'm afraid...