title: How to Build an RPM from Source in One Line without Spec Files etc?
body: <p>I've been reading about building RPMs, and the process is quite complex. Is there any program/software that works like this:</p>
  
  <ol>
  <li>Download tar.gz file. Extract to directory</li>
  <li>cd into directory</li>
  <li>Run </li>
  <li>RPM file is output into the directory</li>
  </ol>
  
  <p>Does any such program exist? It seems as if it <em>should</em>. After all, when I run make, make install etc, I don't need to specify spec files, provide locations for where the software has to be installed. So why should I have to do all that for creating RPMs?</p>
  
  <p>I've tried using checkinstall, but I keep getting errors like "Directory not found: /root/rpmbuild/BUILDROOT/hello-2.10-1.x86_64/usr"</p>
  
  <p>So is there an easier way?</p>