The icon is located in the sources folder. If I can't sue those commands to build RPM, than what can I use?
You have pgkutils installed?
You have in your home directory this hidden files
rpmmarcros
rpmrc
?
Then you need only this command
rpmbuild -ba repair-database.specThe icon comes from your source archive, you must install it, too
mkdir -p %{buildroot}%{_datadir}/icons
install -m 644 dbrepair.png %{buildroot}%{_datadir}/icons/dbrepair.pnggood luck
EDIT:
%{_sharedir}/icons/dbrepair.png this is wrong.
Use
%{_datadir}/icons/dbrepair.png
or
%{_iconsdir}/dbrepair.png