Guide on RPM building released
We have released a section of our courseware under a Creative Commons license that has very comprehensive coverage of building RPMs. It has treatment of the whole spectrum of issues including making proper patches, the freedesktop.org menu specification, and ancillary files like logrotate.d files, cron.*/ files, SysV init files along with chkconfig, etc. One unique thing about the guide is that it is not just a reference as it includes a very detailed (48 page) lab exercise that walks a would be packager through several real world scenarios including: * Setting up a build environment * Re-building an existing src.rpm * Updating a src.rpm with newer software release (and handling merged upstream patches) * Creating a spec file from scratch to package an application * Extending a spec file to break a single application into multiple logical packages * Setting up GnuPG and signing your packages The lab exercise has been validated and tested to "just work as written" on the following distributions: SUSE Linux Professional 9.2 SUSE Linux Enterprise Server 9 Fedora Core 3 Red Hat Enterprise Linux 4 It will likely work, possibly with small modifications, on other RPM based distributions as well. The guide can be found under the "Goodies" section of our website here: http://www.gurulabs.com/goodies/guru+guides.php I'm excited to make this release and hope it is useful addition to the available RPM documentation and helps increase the amount of quality packagers and packages. Dax Kelson Guru Labs
On Wednesday 13 April 2005 3:59 pm, Dax Kelson wrote:
We have released a section of our courseware under a Creative Commons license that has very comprehensive coverage of building RPMs.
Thanks! I just took a glance at the document and this is exactly what I've been looking for a long time. Many many thanks!
On Wednesday 13 April 2005 14:59, Dax Kelson wrote:
We have released a section of our courseware under a Creative Commons license that has very comprehensive coverage of building RPMs.
It has treatment of the whole spectrum of issues including making proper patches, the freedesktop.org menu specification, and ancillary files like logrotate.d files, cron.*/ files, SysV init files along with chkconfig, etc.
One unique thing about the guide is that it is not just a reference as it includes a very detailed (48 page) lab exercise that walks a would be packager through several real world scenarios including:
<snip>
The guide can be found under the "Goodies" section of our website here:
http://www.gurulabs.com/goodies/guru+guides.php
I'm excited to make this release and hope it is useful addition to the available RPM documentation and helps increase the amount of quality packagers and packages.
Dax Kelson Guru Labs
Thank you Dax!
On Wednesday 13 April 2005 12:59 pm, Dax Kelson wrote:
We have released a section of our courseware under a Creative Commons license that has very comprehensive coverage of building RPMs. [snip]
The guide can be found under the "Goodies" section of our website here:
http://www.gurulabs.com/goodies/guru+guides.php
I'm excited to make this release and hope it is useful addition to the available RPM documentation and helps increase the amount of quality packagers and packages.
Dax Kelson Guru Labs
This is a fantastic resource! Thank you very much for sharing it! Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.8-24.14-default x86_64
On Thursday 14 April 2005 05:59, Dax Kelson wrote:
We have released a section of our courseware under a Creative Commons license that has very comprehensive coverage of building RPMs.
It has treatment of the whole spectrum of issues including making proper patches, the freedesktop.org menu specification, and ancillary files like logrotate.d files, cron.*/ files, SysV init files along with chkconfig, etc.
One unique thing about the guide is that it is not just a reference as it includes a very detailed (48 page) lab exercise that walks a would be packager through several real world scenarios including:
* Setting up a build environment * Re-building an existing src.rpm * Updating a src.rpm with newer software release (and handling merged upstream patches) * Creating a spec file from scratch to package an application * Extending a spec file to break a single application into multiple logical packages * Setting up GnuPG and signing your packages
The lab exercise has been validated and tested to "just work as written" on the following distributions:
SUSE Linux Professional 9.2 SUSE Linux Enterprise Server 9 Fedora Core 3 Red Hat Enterprise Linux 4
It will likely work, possibly with small modifications, on other RPM based distributions as well.
The guide can be found under the "Goodies" section of our website here:
http://www.gurulabs.com/goodies/guru+guides.php
I'm excited to make this release and hope it is useful addition to the available RPM documentation and helps increase the amount of quality packagers and packages.
Dax Kelson Guru Labs
Good. But I cannot read it. About half of it is garbled. Does this mean I have to 'upgrade' my system again? Or is there a 'not-so-uptodate' pdf version? Cheers, Colin
On Thu, 2005-04-14 at 19:51 +1000, Colin Carter wrote:
Good. But I cannot read it. About half of it is garbled. Does this mean I have to 'upgrade' my system again? Or is there a 'not-so-uptodate' pdf version? Cheers, Colin
I tried the following Linux PDF readers and they all displayed it properly: gpdf v2.8.2 xpdf v3.00 Adobe Acrobat Reader v5.10 Adobe Acrobat Reader v7.0 (was released earlier this week) Dax Kelson Guru Labs
On Thu, 2005-04-14 at 11:42, Dax Kelson wrote:
On Thu, 2005-04-14 at 19:51 +1000, Colin Carter wrote:
Good. But I cannot read it. About half of it is garbled. Does this mean I have to 'upgrade' my system again? Or is there a 'not-so-uptodate' pdf version? Cheers, Colin
I tried the following Linux PDF readers and they all displayed it properly:
gpdf v2.8.2 xpdf v3.00 Adobe Acrobat Reader v5.10 Adobe Acrobat Reader v7.0 (was released earlier this week)
Dax Kelson Guru Labs
Dax, about v7.0. when did that actually get released? I've had it on my system for a couple few weeks at least.
On Thu, 2005-04-14 at 12:23 -0400, Mike McMullin wrote:
Dax, about v7.0. when did that actually get released? I've had it on my system for a couple few weeks at least.
v7.0.0-1 was released a few weeks ago and was available if you went directly to the Adobe's ftp server. v7.0.0-2 was released Monday or Tuesday this week and is now advertised on the Adobe website. Dax Kelson Guru Labs
On Thursday 14 April 2005 10:42, Dax Kelson wrote:
On Thu, 2005-04-14 at 19:51 +1000, Colin Carter wrote:
Good. But I cannot read it. About half of it is garbled. Does this mean I have to 'upgrade' my system again? Or is there a 'not-so-uptodate' pdf version? Cheers, Colin
I tried the following Linux PDF readers and they all displayed it properly:
gpdf v2.8.2 xpdf v3.00 Adobe Acrobat Reader v5.10 Adobe Acrobat Reader v7.0 (was released earlier this week)
Dax Kelson Guru Labs
kpdf v0.3 works fine with it also.
On Thu, 2005-04-14 at 12:29, Dax Kelson wrote:
On Thu, 2005-04-14 at 12:23 -0400, Mike McMullin wrote:
Dax, about v7.0. when did that actually get released? I've had it on my system for a couple few weeks at least.
v7.0.0-1 was released a few weeks ago and was available if you went directly to the Adobe's ftp server.
Checking my download directory for Adobe, and this is the one that I have.
v7.0.0-2 was released Monday or Tuesday this week and is now advertised on the Adobe website.
I wonder what the difference between the two is. Mike p.s. about the topic? Thanks for doing the How-To. I want to have a good read on this later this week when I have time. It's something I've been wanting to learn about.
Op woensdag 13 april 2005 23:31, schreef Jorge Fábregas:
On Wednesday 13 April 2005 3:59 pm, Dax Kelson wrote:
We have released a section of our courseware under a Creative Commons license that has very comprehensive coverage of building RPMs.
Thanks! I just took a glance at the document and this is exactly what I've been looking for a long time. Many many thanks!
Hopefully some new rpm repositories will now pop up at: http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/ -- Richard Bos Without a home the journey is endless
Thanks Dax, John, Mike... On Friday 15 April 2005 02:52, Mike McMullin wrote:
On Thu, 2005-04-14 at 12:29, Dax Kelson wrote:
On Thu, 2005-04-14 at 12:23 -0400, Mike McMullin wrote:
Dax, about v7.0. when did that actually get released? I've had it on my system for a couple few weeks at least.
v7.0.0-1 was released a few weeks ago and was available if you went directly to the Adobe's ftp server.
Checking my download directory for Adobe, and this is the one that I have.
v7.0.0-2 was released Monday or Tuesday this week and is now advertised on the Adobe website.
I wonder what the difference between the two is.
Mike
I have SuSE 9.1 (only a few months old) and it came with Acrobat 5.0 It cannot read this document. Yet another upgrade! I know that it is 'free', but a lot of upgrades upset other things (I see the trouble and problems encountered by reading these mailing lists) and it is so much a reminder of that M$ system which I am trying to get away from. Sorry to 'divert' a little here, but I really don't think users should have to monitor software development just to be able to use their systems. I have forty (yes, 40) years of technical software development, but that experience just makes me more aware of the whole attitude that software development is for the developers and not for the users. Acrobat, like M$, only develop their software so that they can sell more (i.e. force more upgrades). Acrobat 5.0 displays crazy hieroglyphics : why can't the code just skip those control sequences it cannot understand? Sure, the format might be weird but the text would be readable? I guess that 'planning for the future' is a bit much to ask of most software developers! Anyway, thanks for the feed-back. I'll set off on the upgrade path and hope that this new Acrobat doesn't cause me too much trouble. Regards, Colin
Colin, On Thursday 14 April 2005 18:53, Colin Carter wrote:
Thanks Dax, John, Mike...
...
I have SuSE 9.1 (only a few months old) and it came with Acrobat 5.0 It cannot read this document.
Yet another upgrade!
In this case, it's well worth the effort. Version 7 is so vastly superior to version 5 that there really is no comparison. And now that Adobe has released it officially and you can use the regular front-door download page (instead of an FTP server), it's plenty easy.
...
Regards, Colin
Randall Schulz
Randall, On Friday 15 April 2005 12:02, Randall R Schulz wrote:
Colin,
On Thursday 14 April 2005 18:53, Colin Carter wrote:
Thanks Dax, John, Mike...
...
I have SuSE 9.1 (only a few months old) and it came with Acrobat 5.0 It cannot read this document.
Yet another upgrade!
In this case, it's well worth the effort. Version 7 is so vastly superior to version 5 that there really is no comparison.
And now that Adobe has released it officially and you can use the regular front-door download page (instead of an FTP server), it's plenty easy.
...
Regards, Colin
Randall Schulz Thanks for your feed-back. I downloaded AdobeReader_enu-7.0.0-1.i386.rpm but then realised that it may not work for SuSE 9.1 under 64 bit O.S. Any ideas?
Regards, Colin
Colin, On Thursday 14 April 2005 19:16, Colin Carter wrote:
Randall,
...
In this case, it's well worth the effort. Version 7 is so vastly superior to version 5 that there really is no comparison.
And now that Adobe has released it officially and you can use the regular front-door download page (instead of an FTP server), it's plenty easy.
...
Regards, Colin
Randall Schulz
Thanks for your feed-back. I downloaded AdobeReader_enu-7.0.0-1.i386.rpm but then realised that it may not work for SuSE 9.1 under 64 bit O.S. Any ideas?
The stand-alone Adobe Reader will work fine under a 64-bit system, since it emulates a 32 bit environment as needed. If you're running 64-bit browser, then I think the 32-bit plug-in supplied with the reader package won't work and you will not be able to view PDF files within the browser. To my knowledge, there's no 64-bit plug-in from Adobe, but I'm not 100% sure about that.
Regards, Colin
Randall Schulz
On Friday 15 April 2005 04:35, Randall R Schulz wrote:
The stand-alone Adobe Reader will work fine under a 64-bit system, since it emulates a 32 bit environment as needed.
The 32 bit acroread works nicely on my amd64 (no emulation though, the 32 bit is native on those systems), but if you have an itanium I'm not so sure. Those things aren't natively 32 bit so you have to run a 32 bit emulator, but I don't think that's automatic
Anders, On Thursday 14 April 2005 19:41, Anders Johansson wrote:
On Friday 15 April 2005 04:35, Randall R Schulz wrote:
The stand-alone Adobe Reader will work fine under a 64-bit system, since it emulates a 32 bit environment as needed.
The 32 bit acroread works nicely on my amd64 (no emulation though, the 32 bit is native on those systems), but if you have an itanium I'm not so sure. Those things aren't natively 32 bit so you have to run a 32 bit emulator, but I don't think that's automatic
By "emulate" in this context, I meant that the CPU itself supplies 32-bit ISA, not that its instructions need to be emulated by software as, say, that old x86-under-PowerPC emulator used to (I can no longer recall the name of that product--it ran under MacOS). Randall Schulz
Randall, On Friday 15 April 2005 12:35, Randall R Schulz wrote:
Colin,
On Thursday 14 April 2005 19:16, Colin Carter wrote:
Randall,
...
In this case, it's well worth the effort. Version 7 is so vastly superior to version 5 that there really is no comparison.
And now that Adobe has released it officially and you can use the regular front-door download page (instead of an FTP server), it's plenty easy.
...
Regards, Colin
Randall Schulz
Thanks for your feed-back. I downloaded AdobeReader_enu-7.0.0-1.i386.rpm but then realised that it may not work for SuSE 9.1 under 64 bit O.S. Any ideas?
The stand-alone Adobe Reader will work fine under a 64-bit system, since it emulates a 32 bit environment as needed. If you're running 64-bit browser, then I think the 32-bit plug-in supplied with the reader package won't work and you will not be able to view PDF files within the browser. To my knowledge, there's no 64-bit plug-in from Adobe, but I'm not 100% sure about that. That I can manage: I will just have to open the reader from the menu. A drag, but (yet another) consequence of 'upgrading'.
Regards, Colin
Randall Schulz However, just as I predicted, things always go awry with upgrades. I download with Konqueror and, right at the end, Konqueror invokes Yast which asks me if I want to install, so I click 'install'. Yast opens up with nothing in the window. That is, I think Yast has gone walk-about. No worries, I can install the rpm. Not on your Nellie: the rpm file has been deleted by Yast. Three times I tried it and 38MB is not quick to download. Any ideas on how to down load the rpm without Yast grabbing and disposing of it?
Now you understand why I hate this round-about and wanted to get away from M$? Thanks for any sympathy and ideas. Regards, Colin
On Friday 15 April 2005 04:56, Colin Carter wrote:
The stand-alone Adobe Reader will work fine under a 64-bit system, since it emulates a 32 bit environment as needed. If you're running 64-bit browser, then I think the 32-bit plug-in supplied with the reader package won't work and you will not be able to view PDF files within the browser. To my knowledge, there's no 64-bit plug-in from Adobe, but I'm not 100% sure about that.
That I can manage: I will just have to open the reader from the menu. A drag, but (yet another) consequence of 'upgrading'.
You won't have to if you use firefox, since the firefox in the x86_64 distro is actually 32 bit, so it can handle all the 32 bit plugins
However, just as I predicted, things always go awry with upgrades. I download with Konqueror and, right at the end, Konqueror invokes Yast which asks me if I want to install, so I click 'install'. Yast opens up with nothing in the window. That is, I think Yast has gone walk-about. No worries, I can install the rpm. Not on your Nellie: the rpm file has been deleted by Yast. Three times I tried it and 38MB is not quick to download. Any ideas on how to down load the rpm without Yast grabbing and disposing of it?
Delete the file /opt/kde3/share/services/krpmview.desktop (or uninstall kdebase3-SuSE, but then you'll lose other things as well)
Now you understand why I hate this round-about and wanted to get away from M$?
The big difference isn't what's in the defaults. It's how easy it is to get away from them
On Friday 15 April 2005 04:56, Colin Carter wrote:
The stand-alone Adobe Reader will work fine under a 64-bit system, since it emulates a 32 bit environment as needed. If you're running 64-bit browser, then I think the 32-bit plug-in supplied with the reader package won't work and you will not be able to view PDF files within the browser. To my knowledge, there's no 64-bit plug-in from Adobe, but I'm not 100% sure about that.
That I can manage: I will just have to open the reader from the menu. A drag, but (yet another) consequence of 'upgrading'.
You won't have to if you use firefox, since the firefox in the x86_64 distro is actually 32 bit, so it can handle all the 32 bit plugins
However, just as I predicted, things always go awry with upgrades. I download with Konqueror and, right at the end, Konqueror invokes Yast which asks me if I want to install, so I click 'install'. Yast opens up with nothing in the window. That is, I think Yast has gone walk-about. No worries, I can install the rpm. Not on your Nellie: the rpm file has been deleted by Yast. Three times I tried it and 38MB is not quick to download. Any ideas on how to down load the rpm without Yast grabbing and disposing of it?
Delete the file /opt/kde3/share/services/krpmview.desktop (or uninstall kdebase3-SuSE, but then you'll lose other things as well) I deleted this file and am now trying another download - will get back to you.
Now you understand why I hate this round-about and wanted to get away from M$?
The big difference isn't what's in the defaults. It's how easy it is to get away from them Anders, I understand what you are saying, but only Linux gurus know what to do. The rest of us, eg linguistics, accountants, scientists, aeronautical engineers, biochemists, .... Don't know! Anyway, I really do appreciate this advice, and I am grateful that there are
Thanks Anders, On Friday 15 April 2005 13:12, Anders Johansson wrote: people like you around to save the rest of us. Regards, Colin
Nope! On Friday 15 April 2005 13:12, Anders Johansson wrote:
On Friday 15 April 2005 04:56, Colin Carter wrote:
The stand-alone Adobe Reader will work fine under a 64-bit system, since it emulates a 32 bit environment as needed. If you're running 64-bit browser, then I think the 32-bit plug-in supplied with the reader package won't work and you will not be able to view PDF files within the browser. To my knowledge, there's no 64-bit plug-in from Adobe, but I'm not 100% sure about that.
That I can manage: I will just have to open the reader from the menu. A drag, but (yet another) consequence of 'upgrading'.
You won't have to if you use firefox, since the firefox in the x86_64 distro is actually 32 bit, so it can handle all the 32 bit plugins
However, just as I predicted, things always go awry with upgrades. I download with Konqueror and, right at the end, Konqueror invokes Yast which asks me if I want to install, so I click 'install'. Yast opens up with nothing in the window. That is, I think Yast has gone walk-about. No worries, I can install the rpm. Not on your Nellie: the rpm file has been deleted by Yast. Three times I tried it and 38MB is not quick to download. Any ideas on how to down load the rpm without Yast grabbing and disposing of it?
Delete the file /opt/kde3/share/services/krpmview.desktop (or uninstall kdebase3-SuSE, but then you'll lose other things as well)
Nope. Sorry, but it didn't help: during the download the directory showed the file with the extension ...rpm.part until the last second and then the download window vanished and so did the file. (As you implied, Yast did not start.)
Now you understand why I hate this round-about and wanted to get away from M$?
The big difference isn't what's in the defaults. It's how easy it is to get away from them
All I want to do is read a document! Regards, Colin
On Friday 15 April 2005 05:41, Colin Carter wrote:
Nope. Sorry, but it didn't help: during the download the directory showed the file with the extension ...rpm.part until the last second and then the download window vanished and so did the file. (As you implied, Yast did not start.)
Wait a minute, so yast didn't start, you got the 'what do you want to do' dialog, and you clicked 'save as...', is that right? And then after the download the file just disappeared? After a file gets downloaded, it gets renamed so it drops the .part. Are you sure you don't just have to refresh the file browser?
Colin Carter wrote:
That I can manage: I will just have to open the reader from the menu. A drag, but (yet another) consequence of 'upgrading'.
You can set up the helper to open pdfs in the regular program instead of inside the browser, even if the browser is 64 bit and the reader is 32 bit. The plugin just will only work with a 32 bit browser. Nope. Sorry, but it didn't help: during the download the directory showed the file with the extension ...rpm.part until the last second and then the download window vanished and so did the file. (As you implied, Yast did not start.)
Right click and choose "save target as" -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
Hi, thanks for such a prompt reply. On Friday 15 April 2005 13:49, Anders Johansson wrote:
On Friday 15 April 2005 05:41, Colin Carter wrote:
Nope. Sorry, but it didn't help: during the download the directory showed the file with the extension ...rpm.part until the last second and then the download window vanished and so did the file. (As you implied, Yast did not start.)
Wait a minute, so yast didn't start, you got the 'what do you want to do' dialog, and you clicked 'save as...', is that right? And then after the download the file just disappeared? No I didn't get 'what do you want to do'. The file simply vanished from the open window. I did hit F5 before I touched anything else.
After a file gets downloaded, it gets renamed so it drops the .part. Are you sure you don't just have to refresh the file browser?
This is what I expected. In fact, I may have imagined it, but I think that I saw a brief flash of a refresh of the file name without the .part just prior to the vanishing. But I can't be sure of this. Against my desire I feel I could wind up my old laptop and download the .rpm with XP. Such a drag! Thanks for trying to help. I think I need to fix my Yast. Can I just use rpm uninstall Yast and then install it again with rpm? Regards, Colin
On Fri, Apr 15, 2005 at 04:41:48AM +0200, Anders Johansson wrote:
On Friday 15 April 2005 04:35, Randall R Schulz wrote:
The stand-alone Adobe Reader will work fine under a 64-bit system, since it emulates a 32 bit environment as needed.
The 32 bit acroread works nicely on my amd64 (no emulation though, the 32 bit is native on those systems), but if you have an itanium I'm not so sure. Those things aren't natively 32 bit so you have to run a 32 bit emulator, but I don't think that's automatic
ia64 has a ia32emul emulator, which is a bit different setup than the stuff used on amd64. The compat libraries are also at a different place. Ciao, Marcus
Hi Randall, Joe, Anders, Thanks for your advice, but I am in trouble... On Friday 15 April 2005 14:07, Joe Morris (NTM) wrote:
Colin Carter wrote:
That I can manage: I will just have to open the reader from the menu. A drag, but (yet another) consequence of 'upgrading'.
You can set up the helper to open pdfs in the regular program instead of inside the browser, even if the browser is 64 bit and the reader is 32 bit. The plugin just will only work with a 32 bit browser.
Nope. Sorry, but it didn't help: during the download the directory showed the file with the extension ...rpm.part until the last second and then the download window vanished and so did the file. (As you implied, Yast did not start.)
Right click and choose "save target as" -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871 I put part (only part) of the ftp address into Konqueror and then by small steps managed to get a fix on the rpm and do a Save as..." onto my PC.
Then I installed the rpm. My version 5.0 was as Acrobat, whereas version 7 is Adobe. Now neither work. They each seem to suspend my system for one second and then release it; but no other activity at all. Anybody any idea where the log file is? Regards, Colin
On Fri, 2005-04-15 at 12:56 +1000, Colin Carter wrote:
Randall,
However, just as I predicted, things always go awry with upgrades. I download with Konqueror and, right at the end, Konqueror invokes Yast which asks me if I want to install, so I click 'install'. Yast opens up with nothing in the window. That is, I think Yast has gone walk-about. No worries, I can install the rpm. Not on your Nellie: the rpm file has been deleted by Yast. Three times I tried it and 38MB is not quick to download. Any ideas on how to down load the rpm without Yast grabbing and disposing of it?
Right click on the link and use "Save link as" to download the rpm. Then you can install it from the command line. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
participants (12)
-
Anders Johansson
-
Colin Carter
-
Dax Kelson
-
Joe Morris (NTM)
-
John B
-
Jorge Fábregas
-
Ken Schneider
-
Marcus Meissner
-
Mike McMullin
-
Randall R Schulz
-
Richard Bos
-
Scott Leighton