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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux