[asterisk-users] Creating Asterisk Binary Package

Brendan Martens brendan.martens at crosscomm.net
Tue Oct 7 08:05:55 CDT 2008


> Jim Boykin wrote:
>> I know about those packages. Questions is how do we use those  
>> packages
>> to build our own RPM. We use asterisk SVN trunk.
>>
> asterisk usually comes with asterisk.spec and make target "rpm". With
> some slight  modifications on the spec file you can pretty much build
> whatever you need into the package.
>

You can try checkinstall. It makes a package (it supports a few kinds,  
rpm being one of them) out of the software you compiled. Basically  
instead of finishing with "make install" you just do "checkinstall"  
and it will make a package and then use your packaging system to  
install it. I use this often for Debian and it works very well there.  
You're distribution very likely has checkinstall available in it's  
main repository. If not the website is here for more info: http://www.asic-linux.com.mx/~izto/checkinstall/

Brendan



More information about the asterisk-users mailing list