Program to produce spec files
Paul Howarth
paul at city-fan.org
Tue Jun 13 12:24:58 UTC 2006
Paul Smith wrote:
> On 6/13/06, Paul Howarth <paul at city-fan.org> wrote:
>> > Thanks again, Paul. Let us try now fedora-newrpmspec. How should I use
>> > it to get the spec file?
>>
>> fedora-newrpmspec packagename
>
> You mean
>
> fedora-newrpmspec videotrans-1.5.1.tar.bz2
>
> or only
>
> fedora-newrpmspec videotrans-1.5.1
I mean:
fedora-newrpmspec videotrans
This will generate videotrans.spec, which will contain *no*
videotrans-specific information other than the package name. You need to
fill that in yourself. You really need to read some of the rpm-building
guides, such as:
http://freshrpms.net/docs/fight/
http://rpm.org/max-rpm-snapshot/
http://www.gurulabs.com/GURULABS-RPM-LAB/GURULABS-RPM-GUIDE-v1.0.PDF
And be sure to build your packages as a regular user rather than as root:
http://www.city-fan.org/tips/CreateRPMBuildEnvironment
Paul.
More information about the fedora-list
mailing list