mkdir p should be mkdir -p in the manual rpm build system guide.
..this is now fixed; thanks for second set of eyes!
Also, there's a lot of emphasis on task-packaging-kde, but KDE is a fairly bloated build environment. I build in LXDE in order to get the kind of lean system needed. People ought to be encouraged to build on a dedicated lean machine (probably an old computer or a virtual machine) rather than in their main install. I don't think that's emphasised enough.
..I think the bloat issue is a common misconception; if you look at the download specs for the LXDE-Mini and KDE-mini releases I think you will see that they are not that much different in size:
KDE-minime: Size: 445 MB
LXDE Mini: Size: 410 MB
..however, It is still probably a good idea to have more info on setup of different build environments. I plan on revising that section eventually, as pkgutils needs to be updated to use the mkrepo that I posted in another thread; this will also be a good opportunity to
set up a SINGLE spec/srpm to build all of the pkgutils / task-packaging packages and do so with a more consistent structure (..currently I think it is set up with a task-packaging-kde and pkgutils-thunar packages).
IIRC, the naming / organization of these is inconsistent across DE... this makes writing clear documentation more difficult. What I would like to see is something like the following (I'm not at a PCLOS machine now, so I'm not exactly sure as to what the current setup is.. I'm going from memory

):
task-packaging-kde4: metapackage with .desktop service menu entries for KDE4; also req's bottom two packages
task-packaging-thunar/gtk (?): similar to kde version; not sure if one package can serve gnome, lxde, xfce service menus
<unknown name>: metapackage containing min. required rpm-build libs, spec-helper, gcc, automake, etc..,
pkgutils: contains only pkgutils script; mkrepo will install / update <unknown> package above.
..by removing the service menu entries from pkgutils and moving them all to appropriate task-packaging-<desktop environment> packages, pushing updates to pkgutils scripts becomes easier, and documentation for all DE's also becomes easier.
If anyone else wants to jump on this, this is fine; otherwise, I will probably get to it sometime in the next week or so.