RPM packaging a directory of files

Hi, I wonder if anyone can point me in the right direction

I have a requirement to distribute a set of admin scripts that currently sit in an SVN repo by packaging them up in an RPM so that they can me unpacked to the correct location by simply installing the package .. e.g. 'yum install admin-scripts'

I just needed some advice on how i would achieve this within the spec file

Im not quite sure what I would use as the source0: ?

normally i would point to a tar.gz of source code, but in this case, I need to first checkout the contents of a repository to a temp dir somewhere, then point to that dir as the source (and all of its subdirectoies)

So I guess I have 2 questions -

1) does the %prep section run before the source0: line is evaluated (in other words can i run a script in %prep to extract the dir tree from SVN that will ultimately be used by source0:

2) can I use a 'directory' as a source0: ? so that it knows to pack up everything under that location ?

I hope all that made sense

Any guidance would be greatly appreciated