Thermoelectric and thermospintronic transport in Dirac material-based nanostructures