For a hard 5 hour ride (10k' of climbing) I'll have two bottles of HEED, some gel from a flask, two or three clif bars, and a bagel with cream cheese. That's after a good sized breakfast, and there'll be a recovery drink, another bagel and lunch afterwards.
Bring an extra bar just in case. The weight will slow you down less than running low on fuel will.