Try
oldskool,
install only pkgutils, when mkrepo end with an error, start it from terminal
mkrepo, and set your path, and macros.
After that download a srpm from here
http://ftp.nluug.nl/ibiblio/distributions/pclinuxos/pclinuxos/apt/pclinuxos/2010/SRPMS.main/For a simple package to learn use this
http://ftp.nluug.nl/ibiblio/distributions/pclinuxos/pclinuxos/apt/pclinuxos/2010/SRPMS.main/Zip_Player-0.4-3pclos2010.src.rpmgo to your download folder and open a terminal (F4) and type
rpm -i Zip_Player-0.4-3pclos2010.src.rpmNow go to your Spec files folder, should created under /home/YOU/src/rpm/specs
Open the spec file Zip_Player.spec with your editor, best is
medit, or
gedit.
Edit the release from 3 to 4
%define release %mkrel 3 and add in Changelog what you have changed
%changelog
* Thu Jul 29 2010 leiche <meisssw01 at aol.com> 0.4-3pclos2010
- fix output dialog under zip_player scriptmaybe
%changelog
* Mon Mar 26 2012 YOU <YourMail at whatever.com> 0.4-4YOU2012
- rebuild for new branchSave it, and open terminal (F4) and type
rpmbuild -ba Zip_Player.specIf all required devs packages available it will created, when not install it with synaptic, or apt-get...
After that you can use rpm_installer to install your created packages...
Good luck, and ask by issues...