[CentOS] How to write RPM spec

Tue Feb 17 18:29:43 UTC 2015
Jonathan Billings <billings at negate.org>

On Tue, Feb 17, 2015 at 10:43:58AM -0600, Frank Cox wrote:
>
> On Wed, 18 Feb 2015 05:36:48 +1300
> Jegadeesh Kumar wrote:
> 
> > I setup the RPM build server and read some doc to write the spec files. but
> > i did get it clearly. So can you guys please help me to write a new RPM
> > spec.
> 
> The easiest way to create a spec file is to look at an existing spec
> file for something similar to what you're trying to write.  Some
> spec files are very simple, and some are so elaborate they're almost
> impossible to understand. 
> 
> A good place to start is here:
> 
> http://www.rpm.org/max-rpm/

Lots of RPM spec files can be found here:

https://git.centos.org/ (for CentOS packages)

and

http://pkgs.fedoraproject.org/cgit/ (for Fedora and EPEL packages)


-- 
Jonathan Billings <billings at negate.org>