Real Madrid and Barcelona will no longer monopolise the television money in Spain after a new deal was announced on Thursday.