As nouns,
roofing material is a hyponym of
building material; that is, roofing material is a
word with a more specific, narrower meaning than
building material:
building material: material used for constructing buildings
roofing material: building material used in constructing roofs