Latin faber 'smith' < *dab-r-o- (traditional *dhabh-) derives from an onomatopoeic root *tap- ~ *dab- mimicking the hitting of metal1. In Romance languages, the Latin word has descendants in Italian fabbro, Occitan faure, Old French fevre2. Possibly also Basque harotz 'smith' reflects Italic *fabros.
The derivative fabrica 'workshop, forge' (but also 'art, trade') is the source of Spanish fragua 'forge': *frábica (metathesis) > frauga (syncope and lenition) > fragua. The Latin word is also the source of Catalan farga and French forge, the latter exported as a Wanderwort to several languages, including English.
______________________
1 The IE etymology concoted by Pokorný, based on a resemblance to Armenian darbin, is a pile of rubbish.
2 Hence orfèvre 'silversmith, goldsmith', a compound with or 'gold'.
2 Hence orfèvre 'silversmith, goldsmith', a compound with or 'gold'.