Magic‎ > ‎Spells (Paizo)‎ > ‎F‎ > ‎

Fabricate

School transmutation; Level sorcerer/wizard 5; Domain artifice 5

CASTING

Casting Time see text
Components V, S, M (the original material, which costs the same amount as the raw materials required to craft the item to be created)

EFFECT

Range close (25 ft. + 5 ft./2 levels)
Target up to 10 cu. ft./level; see text
Duration instantaneous
Saving Throw none; Spell Resistance no

By the way...
The materials created by this spell can be used to repair a ship.

Source Skull & Shackles Player's Guide