compiling from a source rpm

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

compiling from a source rpm

Postby lloyd » Dec 11th, '19, 17:55

I downloaded the source code for dvdauthor, as I think it might have a bug (which I probably can't fix anyway) I want to try recompiling it myself (mostly for the experience) How do I do it and where do I start? Thank you.
lloyd
 
Posts: 148
Joined: Feb 4th, '14, 20:27

Re: compiling from a source rpm

Postby isadora » Dec 11th, '19, 19:15

Relevant information can be found at:
https://wiki.mageia.org/en/Packagers_RPM_tutorial
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: compiling from a source rpm

Postby doktor5000 » Dec 11th, '19, 20:11

Your best bet is to download the latest src.rpm, then install that as regular user, which would then end up in your ~/rpmbuild folder as described in https://wiki.mageia.org/en/Packagers_RP ... ce_package
Then adjust the .spec file to your tarball for the source code you downloaded via the Source0 stanza.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron