The easiest way would be to buy a wall plug supply and regulate its output to 12V (to have a clean supply). If you need more power than one of these can supply, a transformer with a bridge rectifier and a large cap can provide a fairly good DC Supply - good enough for motors and relays.