[Freeswitch-users] help on creating an rpm

Michal Bielicki michal.bielicki at seventhsignal.de
Mon May 2 18:28:21 MSD 2011


You seem to not be very experienced with RPM. You need to change the stuff in your sourcetree and than create the file freeswitch-1.0.7.tar.bz2 in SOURCES, containing all the source with all your changes.
rpm does not automagicall download anything, the source files have to be there.

Am 02.05.2011 um 15:57 schrieb Dave Horton:

> Can anyone provide some help on how I can create my own rpm of freeswitch?  What I want to do is package up freeswitch in an rpm, but with edited conf files that are suited to my customers.  I've seen that there is an rpm spec file (freeswitch.spec) in the base directory, so I took a shot at running that but didn't get very far, and I didn't see any relevant articles on the wiki.
> 
> What I've done so far:
> 
> - created the standard rpm build directory tree (BUILD  RPMS  SOURCES  SPECS  SRPMS)
> - copied freeswitch.spec into SPECs
> - ran rpmbuild
> 
> I get this:
> 
> [build at centos64-1 freeswitch-stock]$ rpmbuild -bb -v SPECS/freeswitch.spec 
> error: File /usr/src/redhat/SOURCES/freeswitch-1.0.7.tar.bz2: No such file or directory
> 
> I was surprised at that error, since the Source directives in the spec file indicate that rpmbuild should grab the source via http urls.  (Eventually, I'm going to need to change this, since I'll it to use a source tarball that I create, with my edited conf files).
> 
> Given that someone did a great job of putting a spec file together, are there any docs on how to use it?
> 
> Dave
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

Michal Bielicki
Geschäftsführer / CEO

Seventh Signal Ltd. & Co. KG
Weigandufer 45, Büro 115, D-12059 Berlin
Voice: +49 30 60988730

Amtsgericht Charlottenburg HRA 44413 B
Ust.-ID: DE266981999
Geschäftsführer: Michal Bielicki
Persönlich Haftende Gesellschafterin:
Seventh Signal Ltd, 69 Great Hampton St. Birmingham, 
B18 6EW, GB, Company Nr.: 06889439
WWW.: http://www.seventhsignal.de




More information about the FreeSWITCH-users mailing list