Yes, I agree with Oadi, the most difficult aspect will be obtaining a high-quality DNA extraction from spores, as it can sometimes be difficult even starting with fungal hyphae. The extraction protocol will probably need to include a mechanical disruption such as bead-beating in order to adequately break open the fungal cell walls.
It depends on the species of fungus. I had it work with a weft of mycelium and spores of Fusarium spp., but not with any other spp. As with pure DNA, melanin (polyphenols) and polysaccharides produce in culture will inhibit PCR. Temporary DNA preps from colonies can help in dilute inhibitors and increase DNA release. Pre-lysing the mycelia or spores using microwaves (http://www.fgsc.net/fgn43/ferreir.html) or bead-beating in excess volume (e.g. 10 ul fungus to 1 ml volume) of TE or water, can help increase DNA release and PCR success.