[CentOS] packaging local builds

Rodrigo Barbosa rodrigob at suespammers.org
Thu Mar 23 01:06:29 UTC 2006


-----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 at 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-----



More information about the CentOS mailing list