Packaging question

This forum is dedicated to packaging and translating :

On those activities rely the making of Mageia Linux Distribution.

Post all questions and information about packaging and translating : feedbacks, discussion about guidelines, packaging practices...

Packaging question

Postby roadrunner » Jun 5th, '11, 11:38

I've been reading this tutorial, as I need to build a package for my own personal use. Do the instructions in the tutorial apply to Mageia or would I need to make some changes for building on Mageia.

.\\artin
- Mageia6 - 64-bit - Plasma 5.8.7 -
- AMD A6-6400K APU -
- 8Gb RAM - nVidia 8500GT GPU -
User avatar
roadrunner
 
Posts: 71
Joined: Jun 1st, '11, 16:00
Location: United Kingdom

Re: Packaging question

Postby dubigrasu » Jun 5th, '11, 12:18

If you plan to build some rpm for your personal use (as you say) then the best solution is to use checkinstall.
Much much easier.
You only need to build the package (make/cmake whatever) and instead of the final make install just use checkinstall.
Only few questions to answer (name/version,etc) and you have your own rpm package.
User avatar
dubigrasu
 
Posts: 258
Joined: Apr 27th, '11, 22:34

Re: Packaging question

Postby roadrunner » Jun 5th, '11, 13:46

Thanks, I'll try that.

EDIT:
Woah - it's not in the repos.

.\\artin
- Mageia6 - 64-bit - Plasma 5.8.7 -
- AMD A6-6400K APU -
- 8Gb RAM - nVidia 8500GT GPU -
User avatar
roadrunner
 
Posts: 71
Joined: Jun 1st, '11, 16:00
Location: United Kingdom

Re: Packaging question

Postby roadrunner » Jun 8th, '11, 11:48

I was going to do a package request for checkinstall but someone's beaten me to it :)

However, I'd still like to know if the Mandrake instructions are valid for setting up a Mageia build system.

.\\artin
- Mageia6 - 64-bit - Plasma 5.8.7 -
- AMD A6-6400K APU -
- 8Gb RAM - nVidia 8500GT GPU -
User avatar
roadrunner
 
Posts: 71
Joined: Jun 1st, '11, 16:00
Location: United Kingdom

Re: Packaging question

Postby obgr_seneca » Jun 9th, '11, 00:09

The main parts are identical, but you can have a look here: http://mageia.org/wiki/doku.php?id=rpm_start
Linux - free choice for free people
User avatar
obgr_seneca
 
Posts: 156
Joined: Mar 16th, '11, 17:35
Location: Southwest of Germany

Re: Packaging question

Postby roadrunner » Jun 9th, '11, 14:46

Thank you very much indeed for that, it's exactly what I was looking for :)

.\\artin
- Mageia6 - 64-bit - Plasma 5.8.7 -
- AMD A6-6400K APU -
- 8Gb RAM - nVidia 8500GT GPU -
User avatar
roadrunner
 
Posts: 71
Joined: Jun 1st, '11, 16:00
Location: United Kingdom


Return to Packaging and translating for Mageia

Who is online

Users browsing this forum: No registered users and 1 guest

cron