bashdb: bash debugger

project

https://sourceforge.net/projects/bashdb/?source=typ_redirect

no rpm for bash 4.1
=>build from source:

https://sourceforge.net/p/bashdb/code/ci/bash-4.2/tree/INSTALL

build rpm:
If make config works for your program or you have a shell script which copies your two files to the appropriate place you can use checkinstall. Just go to the directory where your makefile is in and call it with the parameter -R (for RPM) and optionally with the installation script.