"Building, thing made," from Middle French fabrique, from Latin fabrica "workshop," also "an art, trade; a skilful production, structure, fabric," from faber "artisan who works in hard materials," from PIE *dhabh- "to fit together." Sense in English evolved via "manufactured material" (1753) to "textile" (1791).
Source: http://www.etymonline.com/index.php?term=fabric (derived, 23-3-2016)
P
T