If you want to build KWord from source code, you should:
Ensure your computer has all the required software installed and in working condition (excluding KOffice of course). You can find the system requirements by following this link: System Requirements.
Download the KOffice source file (***insert filenames (srpm and tar) here***) into a temporary directory.
If the filename ends in .src.rpm (Redhat Package Management file), the source code for KOffice can be installed with:
$ rpm -U filename
If the filename ends in .src.tar.gz or .src.tgz (a tarball file),
the source code for KOffice can be installed with:
$ tar -xzvf filename
The source code for KOffice should now be installed on your system.
STUFF