Yes the same buttons can be used by the trackball and joystick. No need to have extra ones. Usually, they are player 1 buttons. Same goes for the spinner.
However, on my panel I have 2 extra ones for the trackball that act as left mouse and right mouse buttons. I doubled them up next to my 4 way joystick. Since they were really left and right mouse buttons, in MAME, I set them to be button 1 and 2 in addition to the normal button 1 and 2. They work perfectly in MAME, and in Windows, the act as mouse buttons.
As for the spinner, you can use the player 1 buttons. Games usually only use 2 buttons at the most for spinner games. Tempest is a good example. Fire button and Super Zapper. So you should be all set.
~ DeLuSioNaL