A specification is the definition of a project: a statement of the problem, not the solution. The work on the specification can seen as the first stage of Quality Assurance since you are looking for and countering problems in the very foundation of the project - from this perspective the creation of the specification clearly merits a large investment of time.