Rather than follow these instructions, open a terminal and enter mkrepo.
This is intended as a way for you to test the RPMs that you build. It is not a replacement for your regular repo.
Repository How To
Open a terminal and enter these commands. *Warning! Do this as user, not as root!
mkdir -p apt/pclinuxos/2009/base
Keep the terminal open.
Open your file manager and navigate to your ~/src/rpm/RPMS/i586 folder. Right-click on your test rpm file and select Copy. Now go to the ~/src/apt/pclinuxos/2007/RPMS.testing folder, right-click and select Paste.
Go back to the terminal window and type the following:
This is from the pkgutils commands. The longer command is shown below -
genbasedir --flat --bz2only --progress /home/username/src/apt/pclinuxos/2009 testing
Next, open Synaptic and go to Settings > Repositories. Click on New. Enter this information:
Be sure to replace username with your name.
Now click OK. Click Reload. Your repository will be loaded into Synaptic' list along with your regular repo.