rpmspec: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/rpmspec - from package: rpm

You may install the required package with command apt-get install {package}
Error in other languages:
rpmspec: bevel nie gevind nie
rpmspec: comandă negăsită
rpmspec: comando não encontrado
rpmspec: commande introuvable
rpmspec: command not found
rpmspec: käsku ei ole
rpmspec: không tìm thấy lệnh
rpmspec: komanda nerasta
rpmspec: Kommando nicht gefunden.
rpmspec: kommandot finns inte
rpmspec: komut yok
rpmspec: nie znaleziono polecenia
rpmspec: níor aimsíodh an t-ordú
rpmspec: no se encontró la orden
rpmspec: no s'ha trobat l'ordre
rpmspec: opdracht niet gevonden
rpmspec: parancs nem található
rpmspec: perintah tidak ditemukan
rpmspec: príkaz nenájdený
rpmspec: příkaz nenalezen
rpmspec: команда не найдена
rpmspec: командата не е открита
rpmspec: 命令找不到
rpmspec: コマンドが見つかりません