Scaling object to specific dimensions in Blender

With the object selected, press the N button. Enter the values in the dimensions area.