Re: RPM Build Guidance

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



On 09/04/2013 12:03 AM, Dave Johansen wrote:
> On Tue, Sep 3, 2013 at 7:56 PM, Mark LaPierre <marklapier@xxxxxxx> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hey All,
>>
>> Is there someone here on the list that has experience building RPM
>> install files?  I've never done it before.  I'm looking for someone
>> who is willing to do a little hand holding.
>>
>> I just built Musescore from source.  I hope to build an install RPM
>> from the resulting files.
>
> I just went through the process of learning how to package .rpms
> myself, and the short version is that you need to write a "spec file"
> that goes in the source rpm along with the source tarball. The spec
> file is basically the list of instructions that define what's
> required, how to build it, and how to package it into a rpm.
>
> As far as getting things setup to build from a .spec file, this is the
> best source that I found:
> http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
>
> There's an overview/walk through of a spec files can be found at:
> http://www.rpm.org/max-rpm/ch-rpm-inside.html
>
> Those two sources with a little googling, inspection of existing spec
> files, and a few mailing list posts got me up to speed pretty quickly.
>
> Dave
>
>

Also, the Fedora project has some great docs on packaging:

https://fedoraproject.org/wiki/How_to_create_an_RPM_package
https://fedoraproject.org/wiki/Packaging:Guidelines
https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/

-- 
_____________________
Phil Gardner
PGP Key ID 0xFECC890C
OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538
_______________________________________________
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