[asterisk-users] Building an Asterisk 1.4 RPM

2007-11-20 Thread Douglas Garstang
I'm a little confused. I'd like to build an RPM for Asterisk 1.4.
Is it better to modify and use the spec file under redhat/asterisk.spec and run 
a 'make rpm', OR is it better to build a custom spec file from scratch and use 
'rpmbuid -ba' specfile?

How do people normally do it?

The problem I see with a custom spec file is that since the source is all 
contained within a tar.gz file, there's no way to interactively run a 'make 
menuselect' first and customise or remove what you don't need. For example, if 
I don't do this, the ogg
 vorbis module is installed by default, and then when I go to install my rpm, 
there's complaints all round if the ogg vorbis libs aren't already installed.

Doug.












  

Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs ___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Building an Asterisk 1.4 RPM

2007-11-20 Thread Jonn R Taylor
http://www.voip-info.org/tiki-index.php?page=Asterisk%20RPM



Try this link. There is a lot of info and source rpms that you can rebuild.



Jonn



  _

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Garstang
Sent: Tuesday, November 20, 2007 6:34 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Building an Asterisk 1.4 RPM



I'm a little confused. I'd like to build an RPM for Asterisk 1.4.

Is it better to modify and use the spec file under redhat/asterisk.spec and run 
a 'make rpm', OR is it better to build a custom spec file from scratch and use 
'rpmbuid -ba' specfile?

How do people normally do it?

The problem I see with a custom spec file is that since the source is all 
contained within a tar.gz file, there's no way to interactively run a 'make 
menuselect' first and customise or remove what you don't need. For example, if 
I don't do this, the ogg vorbis module is installed by default, and then when I 
go to install my rpm, there's complaints all round if the ogg vorbis libs 
aren't already installed.

Doug.







  _

Never miss a thing. Make Yahoo 
http://us.rd.yahoo.com/evt=51438/*http:/www.yahoo.com/r/hs  your homepage.



___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Building an Asterisk 1.4 RPM.

2007-11-16 Thread Douglas Garstang
I'm a little confused. I'd like to build an RPM for Asterisk 1.4.
Is it better to modify and use the spec file under redhat/asterisk.spec and run 
a 'make rpm', OR is it better to build a custom spec file from scratch and use 
'rpmbuid -ba' specfile?

How do people normally do it?

The problem I see with a custom spec file is that since the source is all 
contained within a tar.gz file, there's no way to interactively run a 'make 
menuselect' first and customise or remove what you don't need. For example, if 
I don't do this, the ogg vorbis module is installed by default, and then when I 
go to install my rpm, there's complaints all round if the ogg vorbis libs 
aren't already installed.

Doug.







  

Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs ___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users