Non-equilibrium thermodynamics of spin-caloritronic effects