Be honest. (not so much about the other guy) Say something like, “We have had some special times, but my feelings have changed. I need to move on with my life. I hope very much that you can do the same and be happy.”
I agree with M & M no reason to dump him/her and hurt his.her feelings. A little kindness goes a long way. No reason you can’t be friends w/o the romance.