I have an iMac i7 that's got a collection of files, settings, etc. that's the culmination of being transferred from past machines (originally an iMac G4, then a PowerMac G5).

I finally decided to start from scratch, erasing the harddrive and doing a clean install of OS X Lion. Everything was backed up to a Time Machine backup on an external drive, but I didn't want to just bring it all back over, re-introducing all that crap back into the clean install.

I want to selectively move some stuff back, and I know how to bring apps back selectively (as long as they were a drag-to-Applications type of install), but what do I need to do to bring my iTunes and iPhoto libraries back completely?