Before you start be sure your working enviroment is setup.
As the script resides in the rpm/SPECS subdirectory of your home, first you need to change your current directory to that of the script:
$ cd $ cd rpm/SPECS
Now you can invoke ./adapter
(remember that the dot and slash at the beginning are crucial) to see the list of possible parameters:
$ ./adapter
The general syntax is as follows:
$ ./adapter [options] package.spec
adatper will display you choices, accept or not, or confirm each chunk which you can also say yes or no. to quit from choices menu, input captial Q