Re: How to write RPM spec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux