Re: spec file for rpms

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

 



On Mon, 2008-09-22 at 11:50 -0600, Phil Meyer wrote:
> David Hláèik wrote:
> > Hi guys,
> >
> > i am new at this.
> >
> > I want to make a rpm from a program source. It does not contain rpm 
> > spec file by default so i need to create one.
> >
> > Is there any way to make creation of spec files easier? some tools etc 
> > ... ?
> >
> > Thanks in advance!
> >
> > David
> 
> Both vim and emacs will create a basic spec for you by simply editing a 
> non existant spec file.
> 
> $ vim new.spec
> 
> will create a basic spec file if new.spec does not exist in the current 
> directory.
> 
> However, creating good spec files is a bit of a black art, I am afraid 
> to say.
> 
> You will need to install:
> 
> rpmdevtools
> 
> and run:
> 
> /usr/bin/rpmdev-setuptree
> 
> That creates your rpmbuild directory tree.
> 
>  From there, you will find the field is broad, and the sky is the limit. :)

And you can use 'rpmdev-newspec' to create a skeleton specfile, making
things even easier.  Run 'rpmdev-newspec --help' to see some available
options and other guidance.

-- 
Paul W. Frields
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://paul.frields.org/   -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux