Fire crews have spent several hours battling a fire that tore through fires in Havant, causing thousands of pounds worth of damage.