Alright i was looking to build this icon theme i found. I got to the point of buiding the basic spec file so far. With the source is a install.sh it need prompts to install certain files depending on which distribution you have. How do you incorporate answering these prompts into the spec file under the %prep section? i will attach my spec file.
rpmbuild -ba faenza-icon-theme.spec
so when it starts its asking this at the prompt
+ cd /home/tajidin/rpmbuild/BUILD
+ rm -rf faenza-icon-theme-0.5.2
+ /usr/bin/unzip -qq /home/tajidin/rpmbuild/SOURCES/Faenza_Icons_by_tiheum.zip
replace Faenza.tar.gz? [y]es, [n]o, [A]ll, [N]one, [r]ename: