Depends on what you want to see. But I think 5 nights would be just enough. Prague 1 is good choice (but generally, thanks to public transport, everything is quite close in Prague).
IMO June is the best month for staying in Prague. Not too hot and everybody excited about nice weather, enjoying picnics and dining and drinking outside...
Believe me, you will love it