[CentOS] How to write RPM spec

Wed Feb 18 14:19:29 UTC 2015
Jonathan Billings <billings at negate.org>

On Wed, Feb 18, 2015 at 09:08:52AM -0500, James B. Byrne wrote:
> If you have set up an RPM build server then you should have installed
> the rpmbuild and rpmdevtools packages.  If you have installed the
> latter then you can use vi (vim/gvim) to automatically create an empty
> spec template file simply by opening any new file name ending in
> '.spec'.  It will look like this:

Rather than relying on vim to do this, you can also use
'rpmdev-newspec' to create a new spec file, which has options to
automatically set up packages for Perl, Python, PHP (etc.) modules,
system libraries or a really minimal simple package.  Read the man
page for 'rpmdev-newspec'.

-- 
Jonathan Billings <billings at negate.org>