In an rpm spec file, I see the following lines:
%build
./configure
make
Can someone explain to me what each of the lines do?
%build
= start of the build section. The list below:
./configure
make
are just the commands that you want to be executed to build your application. If you don't understand those steps, you need to get some more basic knowledge before trying to use spec files I am afraid. You can start reading here: https://robots.thoughtbot.com/the-magic-behind-configure-make-make-install.