How should I compute the clear span of a purlin in a roofing system?
You’re thinking of the “tributary area” on a beam. 

Just take half the distance to the next support and that is your “load” (live and dead load) on the beam. They don’t have to be uniformly spaced.