How do you make a herobrine spawner on minecraft for the PC?

You can't. Herobrine is NOT, nor was he EVER, in Minecraft. Any evidence you've seen of him is fake.