Set 632 to win, Australia were dismissed for 322 on the fourth day, giving South Africa a 1-0 win in the series.