Proper texture mapping with standart primitives

So, here is my problem:

i am making program that will help make ingame textures.
And i want to use Unity’s build-in primitives, to create model (actually its just tons of cubes\spheres, and it can decrease size of web player).
There are maps for these cubes, that looks like this:
alt text

Obliviously, if i just assign texture to cube it will not give me good result.
So, my question is: how can i change mapping of build-in primitives?

(i already check forums and manuals, may be im askin google not right way. please, show me right place to dig lol)

You could create a new mesh during runtime and use standard primitive as a reference for copying positions, normals and create desired uv’s yourself.

Creating new mesh