-----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.
- -- _ °v° /(_)\ ^ ^ Mark LaPierre Registered Linux user No #267004 https://linuxcounter.net/ ****
Greetings,
On Wed, Sep 4, 2013 at 8:26 AM, Mark LaPierre marklapier@aol.com 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.
The best you can get from a veteran (not me): http://www.owlriver.com/tips/non-root/
Regards,
Rajagopal
On Tue, Sep 3, 2013 at 7:56 PM, Mark LaPierre marklapier@aol.com 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
On 09/04/2013 12:03 AM, Dave Johansen wrote:
On Tue, Sep 3, 2013 at 7:56 PM, Mark LaPierre marklapier@aol.com 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...
I think you should learn how to package rpms, it's a really useful skill.
That being said, you should also learn how to steal. Musescore is already packaged for Fedora under the name mscore. You can probably steal their srpm. Install the src rpm and run rpmbuild -ba on the spec. It should be a good starting point. Should be easy if you already got it compiled and running. The easiest theiving is using the fedora package from your version of centos was derived from ( http://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux#Relationship_to_free_a... ).
Best, Patrick
On Tue, Sep 3, 2013 at 10:56 PM, Mark LaPierre marklapier@aol.com 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.
_
°v° /(_)\ ^ ^ Mark LaPierre Registered Linux user No #267004 https://linuxcounter.net/
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJSJqFfAAoJEOKvcl2cb48HMJAH+QFuAWEuFRPMivW8C3yxgfCH 8T4QGlLIiE6TNVvlwXKCKhuFMn6dN8NW9/OOOI4XTMpLB3x4pZLuYCoip4Znygb0 tQpBCmOD71XH1AvP7qc8HTByCnd0VvCqXahFYGmYDXTwG3gqvne5qb+amRRyC5wF uQP2iRdLRArehXNZGAm0kmDhv+UwEorsBwJo1Vq1qc6GCfQ07eWtuHJW+qDkkZG6 7OUr7N/p4AVoROG21sMf8XM2J0ldufGqieSgctcgeK2XSKxHaIbmQjQl6u8Gh5FT jUNsY4tGeTxPHyHshBtxh8HK+PQGpduKptmsHaBt+BRxfaPoO9jF3t8bYyhTD88= =kFq4 -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos