I have built software on unix/Linuix many times, but now I want to move two packages that I have built on one machine to another (both CentOS4.2), and the time seems ripe to discover how to use rpm. The packages are subversion-1.3.0 and swig-1.3.28. How do I turn the the results of the build process into rpms? As I am a digest subscriber, the favour of a direct copy of any reply to the list is appreciated. Regards, Jim -- *** e-mail is not a secure channel *** mailto:byrnejb.<token>@harte-lyne.ca James B. Byrne Harte & Lyne Limited vox: +1 905 561 1241 9 Brockley Drive fax: +1 905 561 0757 Hamilton, Ontario <token> = hal Canada L8E 3C3
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Mar 22, 2006 at 03:14:45PM -0500, James B. Byrne wrote:> I have built software on unix/Linuix many times, but now I want to > move two packages that I have built on one machine to another (both > CentOS4.2), and the time seems ripe to discover how to use rpm. > The packages are subversion-1.3.0 and swig-1.3.28. How do I turn > the the results of the build process into rpms? > > As I am a digest subscriber, the favour of a direct copy of any > reply to the list is appreciated.James, you are opening a whole can of worms here. RPM package building is not to the faint of heart. At least if you plan to do it right. I would suggest you start at www.rpm.org. There are tutorials there. After you''ve got a feeling on how it works, you should get a few SRPMS from the CentOS repository, and see if you can understand them (the specfiles). It will also give you a feel on the particularities of rpm packages for CentOS (trust me, it will change at lot from on distro to another). If you are in a hurry, you can always try to get the srpm for an older version of the software you want to build, and start from there. Best regards, and good luck - -- Rodrigo Barbosa <rodrigob@suespammers.org> "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEIfSVpdyWzQ5b5ckRAgFGAKCGvmWqiEeqmSJ5Vy4CtoepZE5G1QCguHa/ iTrQmPpO66bao+ZtZvFb+5o=bjoh -----END PGP SIGNATURE-----
Rodrigo Barbosa wrote:> On Wed, Mar 22, 2006 at 03:14:45PM -0500, James B. Byrne wrote: > >> I have built software on unix/Linuix many times, but now I want to > >> move two packages that I have built on one machine to another (both > >> CentOS4.2), and the time seems ripe to discover how to use rpm. > >> The packages are subversion-1.3.0 and swig-1.3.28. How do I turn > >> the the results of the build process into rpms? > >>> James, > you are opening a whole can of worms here. RPM package building > is not to the faint of heart. At least if you plan to do it right. >To be sure, but it doesn''t hurt to one''s feet wet either. Chkinstall is a cheap and easy first step for creating rpm''s out of tarball packages.> I would suggest you start at www.rpm.org. There are tutorials > there. After you''ve got a feeling on how it works, you should get > a few SRPMS from the CentOS repository, and see if you can understand > them (the specfiles). It will also give you a feel on the particularities > of rpm packages for CentOS (trust me, it will change at lot from on > distro to another). >The last time I looked www.rpm.org it appeared not to have been updated in awhile. Additionally, there is a rpm builder''s list at RedHat''s site that was quite active and might yield some results on a search of the archives
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Mar 22, 2006 at 05:23:46PM -0800, Keith Morse wrote:> > I would suggest you start at www.rpm.org. There are tutorials > > there. After you''ve got a feeling on how it works, you should get > > a few SRPMS from the CentOS repository, and see if you can understand > > them (the specfiles). It will also give you a feel on the particularities > > of rpm packages for CentOS (trust me, it will change at lot from on > > distro to another). > > > The last time I looked www.rpm.org it appeared not to have been updated > in awhile. Additionally, there is a rpm builder''s list at RedHat''s > site that was quite active and might yield some results on a search of > the archivesUnless you are willing to read the source, www.rpm.org is one of the best resources. Sad, but true. And if you are talking about rpm-devel[1] list, that is a common misconception. That is not a package builders list, but a list for the people who are coding rpm itself (main developers, contributors etc). You can get some help there regarding package building, because, if see, people there know how rpm works. But that is usually frowned uppon. [1] - rpm-list@list.redhat.com, rpm-list@redhat.com - -- Rodrigo Barbosa <rodrigob@suespammers.org> "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEIgETpdyWzQ5b5ckRArWRAJ45pFu8CgdzD02hQNdnWuH6LjZjUACfUjAF CHzbjb061wpG6A8bkfe3iyQ=mcVN -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Mar 22, 2006 at 10:59:52PM -0300, Rodrigo Barbosa wrote:> On Wed, Mar 22, 2006 at 05:23:46PM -0800, Keith Morse wrote: > > > I would suggest you start at www.rpm.org. There are tutorials > > > there. After you''ve got a feeling on how it works, you should get > > > a few SRPMS from the CentOS repository, and see if you can understand > > > them (the specfiles). It will also give you a feel on the particularities > > > of rpm packages for CentOS (trust me, it will change at lot from on > > > distro to another). > > > > > The last time I looked www.rpm.org it appeared not to have been updated > > in awhile. Additionally, there is a rpm builder''s list at RedHat''s > > site that was quite active and might yield some results on a search of > > the archives > > Unless you are willing to read the source, www.rpm.org is one of the > best resources. Sad, but true. > > And if you are talking about rpm-devel[1] list, that is a common misconception. > That is not a package builders list, but a list for the people who are > coding rpm itself (main developers, contributors etc). You can get some > help there regarding package building, because, if see, people there > know how rpm works. But that is usually frowned uppon. > > [1] - rpm-list@list.redhat.com, rpm-list@redhat.comJust expanding a little further on the rpm-list issue. That is what the list was supposed to be. Unfortunately, since around the time JBJ stopped being project maintainer, there is very little talk about developing rpm on the list. And most threads are indeed related to package building and such. - -- Rodrigo Barbosa <rodrigob@suespammers.org> "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEIgQmpdyWzQ5b5ckRArQsAKCmNyL7FGxbUgMeQpbeOfEF+ky5uACeKPl9 olby3V6JC//xOcLDM9/cGIg=b6M+ -----END PGP SIGNATURE-----
Rodrigo Barbosa wrote:>-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >On Wed, Mar 22, 2006 at 03:14:45PM -0500, James B. Byrne wrote: > > >>I have built software on unix/Linuix many times, but now I want to >>move two packages that I have built on one machine to another (both >>CentOS4.2), and the time seems ripe to discover how to use rpm. >>The packages are subversion-1.3.0 and swig-1.3.28. How do I turn >>the the results of the build process into rpms? >> >>As I am a digest subscriber, the favour of a direct copy of any >>reply to the list is appreciated. >> >> > >James, > you are opening a whole can of worms here. RPM package building >is not to the faint of heart. At least if you plan to do it right. > > I would suggest you start at www.rpm.org. There are tutorials >there. After you''ve got a feeling on how it works, you should get >a few SRPMS from the CentOS repository, and see if you can understand >them (the specfiles). It will also give you a feel on the particularities >of rpm packages for CentOS (trust me, it will change at lot from on >distro to another). > > If you are in a hurry, you can always try to get the srpm >for an older version of the software you want to build, and start >from there. > >Best regards, and good luck > > >Also, the following links contain two articles from Red Hat Magazine that might be helpful (They certainly helped me!): Better Living through RPM part 1: http://www.redhat.com/magazine/001nov04/features/betterliving/ Better Living through RPM part 2: http://www.redhat.com/magazine/002dec04/features/betterliving-part2/>- -- >Rodrigo Barbosa <rodrigob@suespammers.org> >"Quid quid Latine dictum sit, altum viditur" >"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns) > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.1 (GNU/Linux) > >iD8DBQFEIfSVpdyWzQ5b5ckRAgFGAKCGvmWqiEeqmSJ5Vy4CtoepZE5G1QCguHa/ >iTrQmPpO66bao+ZtZvFb+5o>=bjoh >-----END PGP SIGNATURE----- >_______________________________________________ >CentOS mailing list >CentOS@centos.org >http://lists.centos.org/mailman/listinfo/centos > > >