pan-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Pan-devel] Making RPM's


From: Alain Maisonneuve
Subject: RE: [Pan-devel] Making RPM's
Date: Wed, 9 Oct 2002 16:27:05 -0400

rpm doesn't seem to recognize "-ta"... 

-----Original Message-----
From: address@hidden
[mailto:address@hidden Behalf Of John
LeMay
Sent: Wednesday, October 09, 2002 3:52 PM
To: address@hidden
Subject: Re: [Pan-devel] Making RPM's


On Wed, 9 Oct 2002, Colin Leroy wrote:

> On Wed, 9 Oct 2002 13:58:29 -0400 "Alain Maisonneuve"
> <address@hidden> wrote:
>
> Hi,
>
> > Could someone please outline what the steps are in creating a Pan RPM.
> > I would like to make a Pan RPM for Redhat 8.0..
>
> Get the source,
> uncompress it in /usr/src/redhat/SOURCES,
> cd /usr/src/redhat/SOURCES/pan; ./configure, then run `rpm -ba pan.spec`.
> Your rpms are in
> /usr/src/redhat/RPMS/[arch]/pan-[ver].[arch].rpm
> /usr/src/redhat/SRPMS/[arch]/pan-[ver].src.rpm
>

Actually, you can simplify this even more.

Get the source and save it to /usr/src/redhat/SOURCES
cd /usr/src/redhat/SOURCES
rpm -ta pan-0.13.0.92.tar.bz2

Using "ta" tells rpm to look in the archive for the spec file.

I've never done a configure before building an rpm.

One good tip if you want to build for multiple arch's (i386, i586, i686)
you can use a simple loop:

for a in i386,i586,i686
do
rpm -ta --target $a pan-0.13.0.92.tar.bz2
done

This will run through the process three times and you get three binary
rpms.

--
John LeMay
Senior Enterprise Consultant
NJMC | http://www.njmc.com | Phone 732-785-2525
Specializing in Microsoft and Unix based solutions



_______________________________________________
Pan-devel mailing list
address@hidden
http://mail.freesoftware.fsf.org/mailman/listinfo/pan-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]