It's for sale directly from Apple - http://www.apple.com/au/shop/product/MC573Z/A/mac-os-x-106-s...
That's a quite old version of OSX (2009), and is meant for people needing to upgrade from OSX 10.5, as v10.5 wasn't upgradable over a network connection.
I thought the only way to legally purchase OS X was to buy it preinstalled on a mac.