Re: What's the best way to learn RPM packaging?
On 08/13/2015 06:53 AM, Joseph Areeda wrote: Hi, I'm finding myself in the situation where it would be nice to be able to package our apps or backport newer versions of some apps to work with modules on SL6. I've found lots of things on the web that are either too single minded or incomprehensible. If you remember how you learned to create RPMs, I'd appreciate some advice on how to get going. Good books, tutorials or websites. The reference documentation is NOT a good place to start, necessary, but not a good cover to cover read, at least not yet. Hi Joe, I do not know if the following falls in the no good category but I used it a lot to learn how to build my own packages : http://www.rpm.org/max-rpm/ JM -- Jean-michel BARBET| Tel: +33 (0)2 51 85 84 86 Laboratoire SUBATECH Nantes France| Fax: +33 (0)2 51 85 84 79 CNRS-IN2P3/Ecole des Mines/Universite | E-Mail: bar...@subatech.in2p3.fr
Re: What's the best way to learn RPM packaging?
On Thu, 2015-08-13 at 08:21 +0200, Jean-Michel Barbet wrote: On 08/13/2015 06:53 AM, Joseph Areeda wrote: Hi, I'm finding myself in the situation where it would be nice to be able to package our apps or backport newer versions of some apps to work with modules on SL6. I've found lots of things on the web that are either too single minded or incomprehensible. If you remember how you learned to create RPMs, I'd appreciate some advice on how to get going. Good books, tutorials or websites. The reference documentation is NOT a good place to start, necessary, but not a good cover to cover read, at least not yet. Hi Joe, I do not know if the following falls in the no good category but I used it a lot to learn how to build my own packages : http://www.rpm.org/max-rpm/ JM Hi, A decent reference is: https://fedoraproject.org/wiki/How_to_create_an_RPM_package Regards Phil -- Twitter: @philwyett Jappix (xmpp chat): philwy...@jappix.com signature.asc Description: This is a digitally signed message part
Re: What's the best way to learn RPM packaging?
On Wed, 2015-08-12 at 21:53 -0700, Joseph Areeda wrote: Hi, I'm finding myself in the situation where it would be nice to be able to package our apps or backport newer versions of some apps to work with modules on SL6. I've found lots of things on the web that are either too single minded or incomprehensible. If you remember how you learned to create RPMs, I'd appreciate some advice on how to get going. Good books, tutorials or websites. The reference documentation is NOT a good place to start, necessary, but not a good cover to cover read, at least not yet. We have people in the collaboration that can do it but they are so overwhelmed only critical things get done. It would be nice if I could do things that are important to me. Thanks, Joe I found this useful when I started learning quite a few years ago: https://www.gurulabs.com/downloads/GURULABS-RPM-LAB/GURULABS-RPM-GUIDE-v1.0.PDF And as someone else mentioned, the information on the Fedora project page is also extremely useful. -- Mark Whidby System Administrator/Operations IT Services
Re: What's the best way to learn RPM packaging?
On 13 August 2015 at 01:35, Phil Wyett philwyett.vende...@gmail.com wrote: Hi Joe, I do not know if the following falls in the no good category but I used it a lot to learn how to build my own packages : http://www.rpm.org/max-rpm/ JM Hi, A decent reference is: https://fedoraproject.org/wiki/How_to_create_an_RPM_package Regards Phil -- Twitter: @philwyett Jappix (xmpp chat): philwy...@jappix.com Two other tools which are useful: 1) Look through existing RPMs that match what you are doing. If you have a bunch of perl or python or ruby looking at existing packages can help you figure out why the guidelines and what you are trying aren't working [because packaging is like cooking and sometimes you need a LOT MORE SALT.. or none at all.] 2) Worse comes to worse.. there is easy-rpm. This is the I give up and I need something by the end of the day. solution. It is not pretty, won't win friends, and will probably not work 2 times the same way in a row.. but if you need it and it migth give you an idea on how to do it. https://www.npmjs.com/package/grunt-easy-rpm -- Stephen J Smoogen.
RE: What's the best way to learn RPM packaging?
To all: Thank you for the links to grunt and the gurulabs presentation - I have not come across those before. Here's another toolset that I have just started exploring: https://github.com/marquiz/git-buildpackage-rpm/ http://marquiz.github.io/git-buildpackage-rpm/gbp-rpm.html The idea is to build rpms from within your own git repo - a very handy thing indeed. Besides constructing custom rpms for third-party packages, or re-packaging others' srpms, I would like ultimately make it easy enough for developers to create rpms as a normal part of their build cycle for their own software. Of course, one needs to implement the local yum repo thing previously mentioned. Tim -Original Message- From: owner-scientific-linux-us...@listserv.fnal.gov [mailto:owner-scientific-linux-us...@listserv.fnal.gov] On Behalf Of Stephen John Smoogen Sent: August 13, 2015 08:05 To: owner-scientific-linux-us...@listserv.fnal.gov Cc: scientific-linux-users@fnal.gov Subject: Re: What's the best way to learn RPM packaging? On 13 August 2015 at 01:35, Phil Wyett philwyett.vende...@gmail.com wrote: Hi Joe, I do not know if the following falls in the no good category but I used it a lot to learn how to build my own packages : http://www.rpm.org/max-rpm/ JM Hi, A decent reference is: https://fedoraproject.org/wiki/How_to_create_an_RPM_package Regards Phil -- Twitter: @philwyett Jappix (xmpp chat): philwy...@jappix.com Two other tools which are useful: 1) Look through existing RPMs that match what you are doing. If you have a bunch of perl or python or ruby looking at existing packages can help you figure out why the guidelines and what you are trying aren't working [because packaging is like cooking and sometimes you need a LOT MORE SALT.. or none at all.] 2) Worse comes to worse.. there is easy-rpm. This is the I give up and I need something by the end of the day. solution. It is not pretty, won't win friends, and will probably not work 2 times the same way in a row.. but if you need it and it migth give you an idea on how to do it. https://www.npmjs.com/package/grunt-easy-rpm -- Stephen J Smoogen.