2
0

freeswitch.spec 105 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756
  1. ######################################################################################################################
  2. #
  3. # spec file for package freeswitch
  4. #
  5. # includes module(s): freeswitch-devel freeswitch-codec-passthru-amr freeswitch-codec-passthru-amrwb freeswitch-codec-passthru-g729
  6. # freeswitch-codec-passthru-g7231 freeswitch-lua freeswitch-mariadb freeswitch-pgsql freeswitch-perl freeswitch-python freeswitch-v8 freeswitch-signalwire
  7. # freeswitch-lan-de freeswitch-lang-en freeswitch-lang-fr freeswitch-lang-hu freeswitch-lang-ru
  8. # and others
  9. #
  10. # Initial Version Copyright (C) 2007 Peter Nixon and Michal Bielicki, All Rights Reserved.
  11. #
  12. # This file is part of:
  13. # FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
  14. # Copyright (C) 2005-2015, Anthony Minessale II <anthm@freeswitch.org>
  15. #
  16. # This file and all modifications and additions to the pristine package are under the same license as the package itself.
  17. #
  18. # Contributor(s): Mike Jerris
  19. # Brian West
  20. # Anthony Minessale II <anthm@freeswitch.org>
  21. # Raul Fragoso
  22. # Rupa Shomaker
  23. # Marc Olivier Chouinard
  24. # Raymond Chandler
  25. # Ken Rice <krice@freeswitch.org>
  26. # Chris Rienzo <crienzo@grasshopper.com>
  27. #
  28. # Maintainer(s): SignalWire, Inc <support@signalwire.com>
  29. #
  30. ######################################################################################################################
  31. # Module build settings
  32. %define build_sng_isdn 0
  33. %define build_sng_ss7 0
  34. %define build_sng_tc 0
  35. %define build_py26_esl 0
  36. %define build_timerfd 0
  37. %define build_mod_esl 0
  38. %define build_mod_rayo 1
  39. %define build_mod_ssml 1
  40. %define build_mod_shout 1
  41. %define build_mod_opusfile 0
  42. %define build_mod_v8 0
  43. %{?with_sang_tc:%define build_sng_tc 1 }
  44. %{?with_sang_isdn:%define build_sng_isdn 1 }
  45. %{?with_sang_ss7:%define build_sng_ss7 1 }
  46. %{?with_py26_esl:%define build_py26_esl 1 }
  47. %{?with_timerfd:%define build_timerfd 1 }
  48. %{?with_mod_esl:%define build_mod_esl 1 }
  49. %{?with_mod_shout:%define build_mod_shout 1 }
  50. %{?with_mod_opusfile:%define build_mod_opusfile 1 }
  51. %{?with_mod_v8:%define build_mod_v8 1 }
  52. %define nonparsedversion 1.7.0
  53. %define version %(echo '%{nonparsedversion}' | sed 's/-//g')
  54. %define release 1
  55. ######################################################################################################################
  56. #
  57. # disable rpath checking
  58. #%define __arch_install_post /usr/lib/rpm/check-buildroot
  59. #%define _prefix /usr
  60. #%define prefix %{_prefix}
  61. #%define sysconfdir /etc/freeswitch
  62. #%define _sysconfdir %{sysconfdir}
  63. #%define logfiledir /var/log/freeswitch
  64. #%define _logfiledir %{logfiledir}
  65. #%define runtimedir /var/run/freeswitch
  66. #%define _runtimedir %{runtimedir}
  67. ######################################################################################################################
  68. # Layout of packages FHS (Redhat/SUSE), FS (Standard FreeSWITCH layout using /usr/local), OPT (/opt based layout)
  69. %define packagelayout FHS
  70. %define PREFIX %{_prefix}
  71. %define EXECPREFIX %{_exec_prefix}
  72. %define BINDIR %{_bindir}
  73. %define SBINDIR %{_sbindir}
  74. %define LIBEXECDIR %{_libexecdir}/%name
  75. %define SYSCONFDIR %{_sysconfdir}/%name
  76. %define SHARESTATEDIR %{_sharedstatedir}/%name
  77. %define LOCALSTATEDIR %{_localstatedir}/lib/%name
  78. %define LIBDIR %{_libdir}
  79. %define INCLUDEDIR %{_includedir}
  80. %define _datarootdir %{_prefix}/share
  81. %define DATAROOTDIR %{_datarootdir}
  82. %define DATADIR %{_datadir}
  83. %define INFODIR %{_infodir}
  84. %define LOCALEDIR %{_datarootdir}/locale
  85. %define MANDIR %{_mandir}
  86. %define DOCDIR %{_defaultdocdir}/%name
  87. %define HTMLDIR %{_defaultdocdir}/%name/html
  88. %define DVIDIR %{_defaultdocdir}/%name/dvi
  89. %define PDFDIR %{_defaultdocdir}/%name/pdf
  90. %define PSDIR %{_defaultdocdir}/%name/ps
  91. %define LOGFILEDIR /var/log/%name
  92. %define MODINSTDIR %{_libdir}/%name/mod
  93. %define RUNDIR %{_localstatedir}/run/%name
  94. %define DBDIR %{LOCALSTATEDIR}/db
  95. %define HTDOCSDIR %{_datarootdir}/%name/htdocs
  96. %define SOUNDSDIR %{_datarootdir}/%name/sounds
  97. %define GRAMMARDIR %{_datarootdir}/%name/grammar
  98. %define SCRIPTDIR %{_datarootdir}/%name/scripts
  99. %define RECORDINGSDIR %{LOCALSTATEDIR}/recordings
  100. %define PKGCONFIGDIR %{_datarootdir}/%name/pkgconfig
  101. %define HOMEDIR %{LOCALSTATEDIR}
  102. Name: freeswitch
  103. Summary: FreeSWITCH open source telephony platform
  104. License: MPL1.1
  105. Group: Productivity/Telephony/Servers
  106. Version: %{version}
  107. Release: %{release}%{?dist}
  108. URL: http://www.freeswitch.org/
  109. Packager: Ken Rice
  110. Vendor: http://www.freeswitch.org/
  111. ######################################################################################################################
  112. #
  113. # Source files and where to get them
  114. #
  115. ######################################################################################################################
  116. Source0: http://files.freeswitch.org/%{name}-%{nonparsedversion}.tar.bz2
  117. Source1: http://files.freeswitch.org/downloads/libs/v8-3.24.14.tar.bz2
  118. Source2: http://files.freeswitch.org/downloads/libs/mongo-c-driver-1.1.0.tar.gz
  119. Source3: http://files.freeswitch.org/downloads/libs/pocketsphinx-0.8.tar.gz
  120. Source4: http://files.freeswitch.org/downloads/libs/sphinxbase-0.8.tar.gz
  121. Source5: http://files.freeswitch.org/downloads/libs/communicator_semi_6000_20080321.tar.gz
  122. Source6: http://files.freeswitch.org/downloads/libs/libmemcached-0.32.tar.gz
  123. Prefix: %{prefix}
  124. ######################################################################################################################
  125. #
  126. # Build Dependencies
  127. #
  128. ######################################################################################################################
  129. %if 0%{?suse_version} > 100
  130. #BuildRequires: openldap2-devel
  131. BuildRequires: lzo-devel
  132. %else
  133. #BuildRequires: openldap-devel
  134. %endif
  135. BuildRequires: autoconf
  136. BuildRequires: automake
  137. BuildRequires: bzip2
  138. BuildRequires: curl-devel
  139. BuildRequires: gcc-c++
  140. BuildRequires: gnutls-devel
  141. BuildRequires: libtool >= 1.5.17
  142. BuildRequires: ncurses-devel
  143. BuildRequires: openssl-devel >= 1.0.1e
  144. BuildRequires: sofia-sip-devel >= 1.12.12
  145. BuildRequires: spandsp3-devel >= 3.0
  146. BuildRequires: pcre-devel
  147. BuildRequires: speex-devel
  148. BuildRequires: sqlite-devel
  149. BuildRequires: libtiff-devel
  150. BuildRequires: libedit-devel
  151. BuildRequires: yasm
  152. BuildRequires: pkgconfig
  153. %if 0%{?rhel} < 6 && 0%{?fedora} <= 6
  154. BuildRequires: termcap
  155. %endif
  156. BuildRequires: unixODBC-devel
  157. BuildRequires: gdbm-devel
  158. %if 0%{?suse_version} > 100
  159. BuildRequires: db-devel
  160. %else
  161. BuildRequires: db4-devel
  162. %endif
  163. BuildRequires: libogg-devel
  164. BuildRequires: libvorbis-devel
  165. BuildRequires: libjpeg-devel
  166. #BuildRequires: mono-devel
  167. BuildRequires: which
  168. BuildRequires: zlib-devel
  169. BuildRequires: e2fsprogs-devel
  170. BuildRequires: libtheora-devel
  171. BuildRequires: libxml2-devel
  172. BuildRequires: libsndfile-devel
  173. BuildRequires: libyuv-devel >= 0.0.1280
  174. Requires: libogg
  175. Requires: libvorbis
  176. Requires: curl
  177. Requires: ncurses
  178. Requires: pcre
  179. Requires: speex
  180. Requires: sqlite
  181. Requires: libtiff
  182. Requires: libedit
  183. Requires: openssl >= 1.0.1e
  184. Requires: unixODBC
  185. Requires: libjpeg
  186. #Requires: openldap
  187. Requires: db4
  188. Requires: gdbm
  189. Requires: zlib
  190. Requires: libtiff
  191. Requires: libtheora
  192. Requires: libxml2
  193. Requires: libsndfile
  194. %if %{?suse_version:1}0
  195. %if 0%{?suse_version} > 910
  196. #BuildRequires: autogen
  197. %endif
  198. %endif
  199. %if 0%{?suse_version} > 800
  200. #PreReq: /usr/sbin/useradd /usr/sbin/groupadd
  201. PreReq: %insserv_prereq %fillup_prereq
  202. %endif
  203. ######################################################################################################################
  204. #
  205. # Where the packages are going to be built
  206. #
  207. ######################################################################################################################
  208. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  209. %description
  210. FreeSWITCH is an open source telephony platform designed to facilitate the creation of voice
  211. and chat driven products scaling from a soft-phone up to a soft-switch. It can be used as a
  212. simple switching engine, a media gateway or a media server to host IVR applications using
  213. simple scripts or XML to control the callflow.
  214. We support various communication technologies such as SIP, H.323 and GoogleTalk making
  215. it easy to interface with other open source PBX systems such as sipX, OpenPBX, Bayonne, YATE or Asterisk.
  216. We also support both wide and narrow band codecs making it an ideal solution to bridge legacy
  217. devices to the future. The voice channels and the conference bridge module all can operate
  218. at 8, 16 or 32 kilohertz and can bridge channels of different rates.
  219. FreeSWITCH runs on several operating systems including Windows, Max OS X, Linux, BSD and Solaris
  220. on both 32 and 64 bit platforms.
  221. Our developers are heavily involved in open source and have donated code and other resources to
  222. other telephony projects including sipXecs, OpenSER, Asterisk, CodeWeaver and OpenPBX.
  223. ######################################################################################################################
  224. #
  225. # Sub Package definitions. Description and Runtime Requirements go here
  226. # What goes into which package is in the files section after the whole build enchilada
  227. #
  228. ######################################################################################################################
  229. %package devel
  230. Summary: Development package for FreeSWITCH open source telephony platform
  231. Group: System/Libraries
  232. Requires: %{name} = %{version}-%{release}
  233. %description devel
  234. FreeSWITCH development files
  235. ######################################################################################################################
  236. # FreeSWITCH Application Modules
  237. ######################################################################################################################
  238. %package application-abstraction
  239. Summary: FreeSWITCH mod_abstraction
  240. Group: System/Libraries
  241. Requires: %{name} = %{version}-%{release}
  242. %description application-abstraction
  243. Provide an abstraction to FreeSWITCH API calls
  244. %package application-avmd
  245. Summary: FreeSWITCH voicemail detector
  246. Group: System/Libraries
  247. Requires: %{name} = %{version}-%{release}
  248. %description application-avmd
  249. Provide an voicemail beep detector for FreeSWITCH
  250. %package application-blacklist
  251. Summary: FreeSWITCH blacklist module
  252. Group: System/Libraries
  253. Requires: %{name} = %{version}-%{release}
  254. %description application-blacklist
  255. Provide black/white listing of various fields used for routing calls in
  256. FreeSWITCH
  257. %package application-callcenter
  258. Summary: FreeSWITCH mod_callcenter Call Queuing Application
  259. Group: System/Libraries
  260. Requires: %{name} = %{version}-%{release}
  261. %description application-callcenter
  262. Provide Automated Call Distribution capabilities for FreeSWITCH
  263. %package application-cidlookup
  264. Summary: FreeSWITCH mod_cidlookup
  265. Group: System/Libraries
  266. Requires: %{name} = %{version}-%{release}
  267. %description application-cidlookup
  268. Provide FreeSWITCH access to third party CallerID Name Databases via HTTP
  269. %package application-conference
  270. Summary: FreeSWITCH mod_conference
  271. Group: System/Libraries
  272. Requires: %{name} = %{version}-%{release}
  273. %description application-conference
  274. Provide FreeSWITCH Conference Bridge Services.
  275. %package application-curl
  276. Summary: FreeSWITCH mod_curl
  277. Group: System/Libraries
  278. Requires: %{name} = %{version}-%{release}
  279. %description application-curl
  280. Provide FreeSWITCH dialplan access to CURL
  281. %package application-db
  282. Summary: FreeSWITCH mod_db
  283. Group: System/Libraries
  284. Requires: %{name} = %{version}-%{release}
  285. %description application-db
  286. mod_db implements an API and dialplan interface to a database backend for
  287. FreeSWITCH. The database can either be in sqlite or ODBC. It also provides
  288. support for group dialing and provides database backed limit interface.
  289. %package application-directory
  290. Summary: FreeSWITCH mod_directory
  291. Group: System/Libraries
  292. Requires: %{name} = %{version}-%{release}
  293. %description application-directory
  294. Provides FreeSWITCH mod_directory, a dial by name directory application.
  295. %package application-distributor
  296. Summary: FreeSWITCH mod_distributor
  297. Group: System/Libraries
  298. Requires: %{name} = %{version}-%{release}
  299. %description application-distributor
  300. Provides FreeSWITCH mod_distributor, a simple round-robbin style distribution
  301. to call gateways.
  302. %package application-easyroute
  303. Summary: FreeSWITCH mod_easyroute
  304. Group: System/Libraries
  305. Requires: %{name} = %{version}-%{release}
  306. %description application-easyroute
  307. Provides FreeSWITCH mod_easyroute, a simple, easy to use DB Backed DID routing
  308. Engine. Uses ODBC to connect to the DB of your choice.
  309. %package application-enum
  310. Summary: FreeSWITCH mod_enum
  311. Group: System/Libraries
  312. Requires: %{name} = %{version}-%{release}
  313. BuildRequires: ldns-devel
  314. %description application-enum
  315. Provides FreeSWITCH mod_enum, a ENUM dialplan, with API and Dialplan extensions
  316. supporting ENUM lookups.
  317. %package application-esf
  318. Summary: FreeSWITCH mod_esf
  319. Group: System/Libraries
  320. Requires: %{name} = %{version}-%{release}
  321. %description application-esf
  322. Provides FreeSWITCH mod_esf, Extra Sip Functionality such as Multicast Support
  323. %if %{build_mod_esl}
  324. %package application-esl
  325. Summary: FreeSWITCH mod_esl
  326. Group: System/Libraries
  327. Requires: %{name} = %{version}-%{release}
  328. %description application-esl
  329. Provides FreeSWITCH mod_esl, add api commands for remote ESL commands
  330. %endif
  331. %package application-expr
  332. Summary: FreeSWITCH mod_expr
  333. Group: System/Libraries
  334. Requires: %{name} = %{version}-%{release}
  335. %description application-expr
  336. Provides FreeSWITCH mod_expr, implements Brian Allen Vanderburg's ExprEval
  337. expression evaluation library for FreeSWITCH.
  338. %package application-fifo
  339. Summary: FreeSWITCH mod_fifo
  340. Group: System/Libraries
  341. Requires: %{name} = %{version}-%{release}
  342. %description application-fifo
  343. Provides FreeSWITCH mod_fifo, a parking-like app which allows you to make
  344. custom call queues
  345. %package application-fsk
  346. Summary: FreeSWITCH mod_fsk
  347. Group: System/Libraries
  348. Requires: %{name} = %{version}-%{release}
  349. %description application-fsk
  350. Provides FreeSWITCH mod_fsk, a module to send and receive information via
  351. Frequency-shift keying
  352. %package application-fsv
  353. Summary: FreeSWITCH mod_fsv
  354. Group: System/Libraries
  355. Requires: %{name} = %{version}-%{release}
  356. %description application-fsv
  357. Provides FreeSWITCH mod_fsk, implements functions to record and play back video
  358. %package application-hash
  359. Summary: FreeSWITCH mod_hash
  360. Group: System/Libraries
  361. Requires: %{name} = %{version}-%{release}
  362. %description application-hash
  363. Provides FreeSWITCH mod_hash, implements an API and application interface for
  364. manipulating a hash table. It also provides a limit backend.
  365. %package application-httapi
  366. Summary: FreeSWITCH mod_httapi
  367. Group: System/Libraries
  368. Requires: %{name} = %{version}-%{release}
  369. %description application-httapi
  370. Provides FreeSWITCH mod_httapi, provides an HTTP based Telephony API using a
  371. standard FreeSWITCH application interface as well as a cached http file format
  372. interface
  373. %package application-http-cache
  374. Summary: FreeSWITCH mod_http_cache
  375. Group: System/Libraries
  376. Requires: %{name} = %{version}-%{release}
  377. %description application-http-cache
  378. Provides FreeSWITCH mod_http_cache, allows one to make a HTTP GET request to
  379. cache a document. The primary use case is to download and cache audio files
  380. from a web server.
  381. %package application-lcr
  382. Summary: FreeSWITCH mod_lcr
  383. Group: System/Libraries
  384. Requires: %{name} = %{version}-%{release}
  385. %description application-lcr
  386. Provides FreeSWITCH mod_lcr, provide basic Least Cost Routing Services
  387. %package application-limit
  388. Summary: FreeSWITCH mod_limit
  389. Group: System/Libraries
  390. Requires: %{name} = %{version}-%{release}
  391. %description application-limit
  392. Provides FreeSWITCH mod_limit, provide application to limit both concurrent and call per time period
  393. %package application-memcache
  394. Summary: FreeSWITCH mod_memcache
  395. Group: System/Libraries
  396. Requires: %{name} = %{version}-%{release}
  397. BuildRequires: libmemcached-devel
  398. %description application-memcache
  399. Provides FreeSWITCH mod_memcache, implements an API interface to memcached which
  400. is a "high-performance, distributed memory object caching system, generic in
  401. nature, but intended for use in speeding up dynamic web applications by
  402. alleviating database load."
  403. %package application-mongo
  404. Summary: FreeSWITCH mod_mongo
  405. Group: System/Libraries
  406. Requires: %{name} = %{version}-%{release}
  407. BuildRequires: mongo-c-driver-devel
  408. %description application-mongo
  409. Provides FreeSWITCH mod_mongo, which implements an API interface to mongodb.
  410. %package application-nibblebill
  411. Summary: FreeSWITCH mod_nibblebill
  412. Group: System/Libraries
  413. Requires: %{name} = %{version}-%{release}
  414. %description application-nibblebill
  415. Provides FreeSWITCH mod_nibblebill, provides a credit/debit module for
  416. FreeSWITCH to allow real-time debiting of credit or cash from a database
  417. while calls are in progress.
  418. %package application-rad_auth
  419. Summary: FreeSWITCH mod_rad_auth
  420. Group: System/Libraries
  421. Requires: %{name} = %{version}-%{release}
  422. %description application-rad_auth
  423. Provides FreeSWITCH mod_rad_auth, authetication via RADIUS protocol from FreeSWITCH dialplan
  424. %package application-redis
  425. Summary: FreeSWITCH mod_redis
  426. Group: System/Libraries
  427. Requires: %{name} = %{version}-%{release}
  428. %description application-redis
  429. Provides FreeSWITCH mod_redis, access to the redis key value pair db system from
  430. FreeSWITCH
  431. %package application-rss
  432. Summary: FreeSWITCH mod_rss
  433. Group: System/Libraries
  434. Requires: %{name} = %{version}-%{release}
  435. %description application-rss
  436. Provides FreeSWITCH mod_rss, edisrse and read an XML based RSS feed, then read
  437. the entries aloud via a TTS engine
  438. %package application-signalwire
  439. Summary: FreeSWITCH mod_signalwire
  440. Group: System/Libraries
  441. Requires: %{name} = %{version}-%{release}
  442. BuildRequires: libks signalwire-client-c
  443. %description application-signalwire
  444. Provides FreeSWITCH mod_signalwire
  445. %package application-sms
  446. Summary: FreeSWITCH mod_sms
  447. Group: System/Libraries
  448. Requires: %{name} = %{version}-%{release}
  449. %description application-sms
  450. Provides FreeSWITCH mod_sms, provide a way to route messages in freeswitch,
  451. potentially allowing one to build a powerful chatting system like in XMPP using
  452. using SIP SIMPLE on SIP clients
  453. %package application-snapshot
  454. Summary: FreeSWITCH mod_snapshot
  455. Group: System/Libraries
  456. Requires: %{name} = %{version}-%{release}
  457. %description application-snapshot
  458. Provides FreeSWITCH mod_snapshot, allows recording a sliding window of audio
  459. and taking snapshots to disk.
  460. %package application-snom
  461. Summary: FreeSWITCH mod_snom
  462. Group: System/Libraries
  463. Requires: %{name} = %{version}-%{release}
  464. %description application-snom
  465. Provides FreeSWITCH mod_snom, an application for controlling the functionality
  466. and appearance of the programmable softkeys on Snom phones
  467. %package application-soundtouch
  468. Summary: FreeSWITCH mod_soundtouch
  469. Group: System/Libraries
  470. Requires: %{name} = %{version}-%{release}
  471. BuildRequires: soundtouch-devel >= 1.7.1
  472. %description application-soundtouch
  473. Provides FreeSWITCH mod_soundtouch, uses the soundtouch library, which can do
  474. pitch shifting and other audio effects, so you can pipe the audio of a call
  475. (or any other channel audio) through this module and achieve those effects. You
  476. can specifically adjust pitch, rate, and tempo.
  477. %package application-spy
  478. Summary: FreeSWITCH mod_spy
  479. Group: System/Libraries
  480. Requires: %{name} = %{version}-%{release}
  481. %description application-spy
  482. Provides FreeSWITCH mod_spy, implements userspy application which provides
  483. persistent eavesdrop on all channels bridged to a certain user
  484. %package application-stress
  485. Summary: FreeSWITCH mod_stress
  486. Group: System/Libraries
  487. Requires: %{name} = %{version}-%{release}
  488. %description application-stress
  489. Provides FreeSWITCH mod_stress. mod_stress attempts to detect stress in a
  490. person's voice and generates FreeSWITCH events based on that data.
  491. %package application-translate
  492. Summary: FreeSWITCH mod_translate
  493. Group: System/Libraries
  494. Requires: %{name} = %{version}-%{release}
  495. %description application-translate
  496. Provide an number translation to FreeSWITCH API calls
  497. %package application-valet_parking
  498. Summary: FreeSWITCH mod_valet_parking
  499. Group: System/Libraries
  500. Requires: %{name} = %{version}-%{release}
  501. %description application-valet_parking
  502. Provides FreeSWITCH mod_valet_parking. Provides 'Call Parking' in the switch
  503. as opposed to on the phone and allows for a number of options to handle call
  504. retrieval
  505. %package application-video_filter
  506. Summary: FreeSWITCH video filter bugs
  507. Group: System/Libraries
  508. Requires: %{name} = %{version}-%{release}
  509. %description application-video_filter
  510. Provide a chromakey video filter media bug
  511. %package application-voicemail
  512. Summary: FreeSWITCH mod_voicemail
  513. Group: System/Libraries
  514. Requires: %{name} = %{version}-%{release}
  515. %description application-voicemail
  516. Provides FreeSWITCH mod_voicemail. Implements Voicemail Application
  517. %package application-voicemail-ivr
  518. Summary: FreeSWITCH mod_voicemail_ivr
  519. Group: System/Libraries
  520. Requires: %{name} = %{version}-%{release}
  521. %description application-voicemail-ivr
  522. Provides FreeSWITCH mod_voicemail_ivr. Provides a custimizable audio navigation
  523. system for backend voicemail systems
  524. ######################################################################################################################
  525. # FreeSWITCH ASR TTS Modules
  526. ######################################################################################################################
  527. %package asrtts-flite
  528. Summary: FreeSWITCH mod_flite
  529. Group: System/Libraries
  530. Requires: %{name} = %{version}-%{release}
  531. Requires: flite >= 2.0.0
  532. BuildRequires: flite-devel >= 2.0.0
  533. %description asrtts-flite
  534. Provides FreeSWITCH mod_flite, a interface to the flite text to speech engine
  535. %package asrtts-pocketsphinx
  536. Summary: FreeSWITCH mod_pocketsphinx
  537. Group: System/Libraries
  538. Requires: %{name} = %{version}-%{release}
  539. BuildRequires: bison
  540. %description asrtts-pocketsphinx
  541. Provides FreeSWITCH mod_pocketsphinx, a interface to the OpenSource
  542. Pocketsphinx speech recognition engine
  543. %package asrtts-tts-commandline
  544. Summary: FreeSWITCH mod_tts_commandline
  545. Group: System/Libraries
  546. Requires: %{name} = %{version}-%{release}
  547. %description asrtts-tts-commandline
  548. Provides FreeSWITCH mod_tts_commandline, Run a command line and play the
  549. output file.
  550. %package asrtts-unimrcp
  551. Summary: FreeSWITCH mod_unimrcp
  552. Group: System/Libraries
  553. Requires: %{name} = %{version}-%{release}
  554. %description asrtts-unimrcp
  555. Provides FreeSWITCH mod_unimrcp, allows communication with Media Resource
  556. Control Protocol (MRCP) servers
  557. ######################################################################################################################
  558. # FreeSWITCH Codec Modules
  559. ######################################################################################################################
  560. %package codec-passthru-amr
  561. Summary: Pass-through AMR Codec support for FreeSWITCH open source telephony platform
  562. Group: System/Libraries
  563. Requires: %{name} = %{version}-%{release}
  564. Conflicts: codec-amr
  565. %description codec-passthru-amr
  566. Pass-through AMR Codec support for FreeSWITCH open source telephony platform
  567. %package codec-passthru-amrwb
  568. Summary: Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony platform
  569. Group: System/Libraries
  570. Requires: %{name} = %{version}-%{release}
  571. Conflicts: codec-amrwb
  572. %description codec-passthru-amrwb
  573. Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony platform
  574. %package codec-bv
  575. Summary: BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform
  576. Group: System/Libraries
  577. Requires: %{name} = %{version}-%{release}
  578. BuildRequires: broadvoice-devel
  579. %description codec-bv
  580. BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform
  581. %package codec-codec2
  582. Summary: Codec2 Narrow Band Codec support for FreeSWITCH open source telephony platform
  583. Group: System/Libraries
  584. Requires: %{name} = %{version}-%{release}
  585. BuildRequires: codec2-devel
  586. %description codec-codec2
  587. CODEC2 narrow band codec support for FreeSWITCH open source telephony platform.
  588. CODEC2 was created by the developers of Speex.
  589. %package codec-passthru-g723_1
  590. Summary: Pass-through g723.1 Codec support for FreeSWITCH open source telephony platform
  591. Group: System/Libraries
  592. Requires: %{name} = %{version}-%{release}
  593. Conflicts: codec-g723_1
  594. %description codec-passthru-g723_1
  595. Pass-through g723.1 Codec support for FreeSWITCH open source telephony platform
  596. %package codec-passthru-g729
  597. Summary: Pass-through g729 Codec support for FreeSWITCH open source telephony platform
  598. Group: System/Libraries
  599. Requires: %{name} = %{version}-%{release}
  600. Conflicts: codec-com-g729
  601. %description codec-passthru-g729
  602. Pass-through g729 Codec support for FreeSWITCH open source telephony platform
  603. %package codec-h26x
  604. Summary: H.263/H.264 Video Codec support for FreeSWITCH open source telephony platform
  605. Group: System/Libraries
  606. Requires: %{name} = %{version}-%{release}
  607. %description codec-h26x
  608. H.263/H.264 Video Codec support for FreeSWITCH open source telephony platform
  609. %package codec-ilbc
  610. Summary: iLCB Codec support for FreeSWITCH open source telephony platform
  611. Group: System/Libraries
  612. Requires: %{name} = %{version}-%{release}
  613. Requires: ilbc2
  614. BuildRequires: ilbc2-devel
  615. %description codec-ilbc
  616. iLBC Codec support for FreeSWITCH open source telephony platform
  617. %package codec-isac
  618. Summary: iSAC Codec support for FreeSWITCH open source telephony platform
  619. Group: System/Libraries
  620. Requires: %{name} = %{version}-%{release}
  621. %description codec-isac
  622. iSAC Codec support for FreeSWITCH open source telephony platform
  623. %package codec-vpx
  624. Summary: vp8 Codec support for FreeSWITCH open source telephony platform
  625. Group: System/Libraries
  626. Requires: %{name} = %{version}-%{release}
  627. %description codec-vpx
  628. iSAC Codec support for FreeSWITCH open source telephony platform
  629. %package codec-mp4v
  630. Summary: MP4V Video Codec support for FreeSWITCH open source telephony platform
  631. Group: System/Libraries
  632. Requires: %{name} = %{version}-%{release}
  633. %description codec-mp4v
  634. MP4V Video Codec support for FreeSWITCH open source telephony platform
  635. %package codec-opus
  636. Summary: Opus Codec support for FreeSWITCH open source telephony platform
  637. Group: System/Libraries
  638. Requires: %{name} = %{version}-%{release}
  639. Requires: opus >= 1.1
  640. BuildRequires: opus-devel >= 1.1
  641. %description codec-opus
  642. OPUS Codec support for FreeSWITCH open source telephony platform
  643. %if %{build_sng_tc}
  644. %package sangoma-codec
  645. Summary: Sangoma D100 and D500 Codec Card Support
  646. Group: System/Libraries
  647. Requires: %{name} = %{version}-%{release}
  648. Requires: sng-tc-linux
  649. BuildRequires: sng-tc-linux
  650. %description sangoma-codec
  651. Sangoma D100 and D500 Codec Card Support
  652. %endif
  653. %package codec-silk
  654. Summary: Silk Codec support for FreeSWITCH open source telephony platform
  655. Group: System/Libraries
  656. Requires: %{name} = %{version}-%{release}
  657. BuildRequires: libsilk-devel
  658. %description codec-silk
  659. Silk Codec (from Skype) support for FreeSWITCH open source telephony platform
  660. %package codec-siren
  661. Summary: Siren Codec support for FreeSWITCH open source telephony platform
  662. Group: System/Libraries
  663. Requires: %{name} = %{version}-%{release}
  664. BuildRequires: g722_1-devel
  665. %description codec-siren
  666. Siren Codec support for FreeSWITCH open source telephony platform. Using
  667. mod_siren in a commercial product will require you to acquire a patent license
  668. directly from Polycom(R) for your company.
  669. see http://www.polycom.com/usa/en/company/about_us/technology/siren_g7221/siren_g7221.html
  670. and http://www.polycom.com/usa/en/company/about_us/technology/siren14_g7221c/siren14_g7221c.html
  671. At the time of this packaging, Polycom does not charge for licensing.
  672. %package codec-theora
  673. Summary: Theora Video Codec support for FreeSWITCH open source telephony platform
  674. Group: System/Libraries
  675. Requires: %{name} = %{version}-%{release}
  676. %description codec-theora
  677. Theora Video Codec support for FreeSWITCH open source telephony platform.
  678. ######################################################################################################################
  679. # FreeSWITCH Database Modules
  680. ######################################################################################################################
  681. %package database-mariadb
  682. Summary: MariaDB native support for FreeSWITCH
  683. Group: System/Libraries
  684. Requires: %{name} = %{version}-%{release}
  685. Requires: mariadb-connector-c
  686. BuildRequires: mariadb-connector-c-devel
  687. %description database-mariadb
  688. MariaDB native support for FreeSWITCH.
  689. %package database-pgsql
  690. Summary: PostgreSQL native support for FreeSWITCH
  691. Group: System/Libraries
  692. Requires: %{name} = %{version}-%{release}
  693. Requires: postgresql-libs
  694. BuildRequires: postgresql-devel
  695. %description database-pgsql
  696. PostgreSQL native support for FreeSWITCH.
  697. ######################################################################################################################
  698. # FreeSWITCH Directory Modules
  699. ######################################################################################################################
  700. #%package directory-ldap
  701. #Summary: LDAP Directory support for FreeSWITCH open source telephony platform
  702. #Group: System/Libraries
  703. #Requires: %{name} = %{version}-%{release}
  704. #%description directory-ldap
  705. #LDAP Directory support for FreeSWITCH open source telephony platform.
  706. ######################################################################################################################
  707. # FreeSWITCH Endpoint Modules
  708. ######################################################################################################################
  709. %package endpoint-dingaling
  710. Summary: Generic XMPP support for FreeSWITCH open source telephony platform
  711. Group: System/Libraries
  712. Requires: %{name} = %{version}-%{release}
  713. %description endpoint-dingaling
  714. XMPP support for FreeSWITCH open source telephony platform. Allows FreeSWITCH
  715. to be used as a client for GoogleTalk or other XMPP Servers.
  716. #%package endpoint-gsmopen
  717. #Summary: Generic GSM enpoint support for FreeSWITCH open source telephony platform
  718. #Group: System/Libraries
  719. #Requires: %{name} = %{version}-%{release}
  720. #
  721. #%description endpoint-gsmopen
  722. #GSMopen is an endpoint (channel driver) that allows an SMS to be sent or
  723. #received from FreeSWITCH as well as incoming and outgoing GSM voice calls.
  724. #SMS is handled via the standard CHAT API in FreeSWITCH.
  725. #%package endpoint-h323
  726. #Summary: H.323 enpoint support for FreeSWITCH open source telephony platform
  727. #Group: System/Libraries
  728. #Requires: %{name} = %{version}-%{release}
  729. #
  730. #%description endpoint-h323
  731. #H.323 enpoint support for FreeSWITCH open source telephony platform
  732. #%package endpoint-khomp
  733. #Summary: khomp endpoint support for FreeSWITCH open source telephony platform
  734. #Group: System/Libraries
  735. #Requires: %{name} = %{version}-%{release}
  736. #
  737. #%description endpoint-khomp
  738. #Khomp hardware endpoint support for FreeSWITCH open source telephony platform.
  739. %package endpoint-portaudio
  740. Summary: PortAudio endpoint support for FreeSWITCH open source telephony platform
  741. Group: System/Libraries
  742. Requires: %{name} = %{version}-%{release}
  743. Requires: alsa-lib
  744. BuildRequires: alsa-lib-devel
  745. BuildRequires: portaudio-devel
  746. %description endpoint-portaudio
  747. PortAudio endpoint support for FreeSWITCH open source telephony platform.
  748. %package endpoint-rtmp
  749. Summary: RTPM Endpoint support for FreeSWITCH open source telephony platform
  750. Group: System/Libraries
  751. Requires: %{name} = %{version}-%{release}
  752. %description endpoint-rtmp
  753. RTMP Endpoint support for FreeSWITCH open source telephony platform. Allows FreeSWITCH
  754. to be used from a RTMP client. See http://wiki.freeswitch.org/wiki/Mod_rtmp#Flex_Client
  755. for the OpenSouce FreeSWITCH backed Client.
  756. %package endpoint-skinny
  757. Summary: Skinny/SCCP endpoint support for FreeSWITCH open source telephony platform
  758. Group: System/Libraries
  759. Requires: %{name} = %{version}-%{release}
  760. %description endpoint-skinny
  761. SCCP/Skinny support for FreeSWITCH open source telephony platform.
  762. %package endpoint-verto
  763. Summary: Verto endpoint support for FreeSWITCH open source telephony platform
  764. Group: System/Libraries
  765. Requires: %{name} = %{version}-%{release}
  766. %description endpoint-verto
  767. Verto protocol support for FreeSWITCH open source telephony platform.
  768. %package endpoint-rtc
  769. Summary: Verto endpoint support for FreeSWITCH open source telephony platform
  770. Group: System/Libraries
  771. Requires: %{name} = %{version}-%{release}
  772. %description endpoint-rtc
  773. Verto protocol support for FreeSWITCH open source telephony platform.
  774. ######################################################################################################################
  775. # FreeSWITCH Event Handler Modules
  776. ######################################################################################################################
  777. %package event-cdr-mongodb
  778. Summary: MongoDB CDR Logger for the FreeSWITCH open source telephony platform
  779. Group: System/Libraries
  780. Requires: %{name} = %{version}-%{release}
  781. BuildRequires: mongo-c-driver-devel
  782. %description event-cdr-mongodb
  783. MongoDB CDR Logger for FreeSWITCH
  784. %package event-cdr-pg-csv
  785. Summary: PostgreSQL CDR Logger for the FreeSWITCH open source telephony platform
  786. Group: System/Libraries
  787. Requires: %{name} = %{version}-%{release}
  788. Requires: postgresql-libs
  789. BuildRequires: postgresql-devel
  790. %description event-cdr-pg-csv
  791. PostgreSQL CDR Logger for FreeSWITCH.
  792. %package event-cdr-sqlite
  793. Summary: SQLite CDR Logger for the FreeSWITCH open source telephony platform
  794. Group: System/Libraries
  795. Requires: %{name} = %{version}-%{release}
  796. %description event-cdr-sqlite
  797. SQLite CDR Logger for FreeSWITCH.
  798. %package event-erlang-event
  799. Summary: Erlang Event Module for the FreeSWITCH open source telephony platform
  800. Group: System/Libraries
  801. Requires: %{name} = %{version}-%{release}
  802. Requires: erlang
  803. BuildRequires: erlang
  804. %description event-erlang-event
  805. Erlang Event Module for FreeSWITCH.
  806. %package event-format-cdr
  807. Summary: JSON and XML Logger for the FreeSWITCH open source telephony platform
  808. Group: System/Libraries
  809. Requires: %{name} = %{version}-%{release}
  810. %description event-format-cdr
  811. JSON and XML Logger for the FreeSWITCH open source telephony platform
  812. %package kazoo
  813. Summary: Kazoo Module for the FreeSWITCH open source telephony platform
  814. Group: System/Libraries
  815. Requires: %{name} = %{version}-%{release}
  816. Requires: erlang
  817. BuildRequires: erlang
  818. %description kazoo
  819. Kazoo Module for FreeSWITCH.
  820. %package event-multicast
  821. Summary: Multicast Event System for the FreeSWITCH open source telephony platform
  822. Group: System/Libraries
  823. Requires: %{name} = %{version}-%{release}
  824. %description event-multicast
  825. Multicast Event System for FreeSWITCH.
  826. #%package event-zmq
  827. #Summary: ZeroMQ Event System for the FreeSWITCH open source telephony platform
  828. #Group: System/Libraries
  829. #Requires: %{name} = %{version}-%{release}
  830. #
  831. #%description event-zmq
  832. #ZeroMQ Event System for FreeSWITCH.
  833. %package event-json-cdr
  834. Summary: JSON CDR Logger for the FreeSWITCH open source telephony platform
  835. Group: System/Libraries
  836. Requires: %{name} = %{version}-%{release}
  837. %description event-json-cdr
  838. JSON CDR Logger for FreeSWITCH.
  839. %package event-radius-cdr
  840. Summary: RADIUS Logger for the FreeSWITCH open source telephony platform
  841. Group: System/Libraries
  842. Requires: %{name} = %{version}-%{release}
  843. %description event-radius-cdr
  844. RADIUS Logger for the FreeSWITCH open source telephony platform
  845. %if %{build_mod_rayo}
  846. %package event-rayo
  847. Summary: Rayo (XMPP 3PCC) server for the FreeSWITCH open source telephony platform
  848. Group: System/Libraries
  849. Requires: %{name} = %{version}-%{release}
  850. %description event-rayo
  851. Rayo 3PCC for FreeSWITCH. http://rayo.org http://xmpp.org/extensions/xep-0327.html
  852. Rayo is an XMPP protocol extension for third-party control of telephone calls.
  853. %endif
  854. %package event-snmp
  855. Summary: SNMP stats reporter for the FreeSWITCH open source telephony platform
  856. Group: System/Libraries
  857. Requires: %{name} = %{version}-%{release}
  858. Requires: net-snmp
  859. BuildRequires: net-snmp-devel
  860. %description event-snmp
  861. SNMP stats reporter for the FreeSWITCH open source telephony platform
  862. ######################################################################################################################
  863. # FreeSWITCH Logger Modules
  864. ######################################################################################################################
  865. %package logger-graylog2
  866. Summary: GELF logger for Graylog2 and Logstash
  867. Group: System/Libraries
  868. Requires: %{name} = %{version}-%{release}
  869. %description logger-graylog2
  870. GELF logger for Graylog2 and Logstash
  871. ######################################################################################################################
  872. # FreeSWITCH Media Format Modules
  873. ######################################################################################################################
  874. %package format-local-stream
  875. Summary: Local File Streamer for the FreeSWITCH open source telephony platform
  876. Group: System/Libraries
  877. Requires: %{name} = %{version}-%{release}
  878. %description format-local-stream
  879. Local File Streamer for FreeSWITCH. It streams files from a directory and
  880. multiple channels connected to the same stream will hear the same (looped)
  881. file playback .. similar to a shoutcast stream. Useful for Music-on-hold type
  882. scenarios.
  883. %package format-native-file
  884. Summary: Native Media File support for the FreeSWITCH open source telephony platform
  885. Group: System/Libraries
  886. Requires: %{name} = %{version}-%{release}
  887. %description format-native-file
  888. The native file module is designed to make it easy to play sound files where no
  889. transcoding is necessary. The default FreeSWITCH sound files are in wav format.
  890. Generally, these require transcoding when being played to callers. However, if
  891. a native format sound file is available then FreeSWITCH can use it.
  892. %package format-portaudio-stream
  893. Summary: PortAudio Media Steam support for the FreeSWITCH open source telephony platform
  894. Group: System/Libraries
  895. Requires: %{name} = %{version}-%{release}
  896. BuildRequires: portaudio-devel
  897. %description format-portaudio-stream
  898. Portaudio Streaming interface Audio for FreeSWITCH
  899. %package format-shell-stream
  900. Summary: Implements Media Steaming from arbitrary shell commands for the FreeSWITCH open source telephony platform
  901. Group: System/Libraries
  902. Requires: %{name} = %{version}-%{release}
  903. %description format-shell-stream
  904. Mod shell stream is a FreeSWITCH module to allow you to stream audio from an
  905. arbitrary shell command. You could use it to read audio from a database, from
  906. a soundcard, etc.
  907. %if %{build_mod_shout}
  908. %package format-mod-shout
  909. Summary: Implements Media Steaming from arbitrary shell commands for the FreeSWITCH open source telephony platform
  910. Group: System/Libraries
  911. Requires: %{name} = %{version}-%{release}
  912. Requires: libshout >= 2.2.2
  913. Requires: libmpg123 >= 1.20.1
  914. Requires: lame
  915. BuildRequires: libshout-devel >= 2.2.2
  916. BuildRequires: libmpg123-devel >= 1.20.1
  917. BuildRequires: lame-devel
  918. %description format-mod-shout
  919. Mod Shout is a FreeSWITCH module to allow you to stream audio from MP3s or a i
  920. shoutcast stream.
  921. %endif
  922. %if %{build_mod_opusfile}
  923. %package format-mod-opusfile
  924. Summary: Plays Opus encoded files
  925. Group: System/Libraries
  926. Requires: %{name} = %{version}-%{release}
  927. Requires: opusfile >= 0.5
  928. BuildRequires: opusfile-devel >= 0.5
  929. %description format-mod-opusfile
  930. Mod Opusfile is a FreeSWITCH module to allow you to play Opus encoded files
  931. %endif
  932. %if %{build_mod_ssml}
  933. %package format-ssml
  934. Summary: Adds Speech Synthesis Markup Language (SSML) parser format for the FreeSWITCH open source telephony platform
  935. Group: System/Libraries
  936. Requires: %{name} = %{version}-%{release}
  937. %description format-ssml
  938. mod_ssml is a FreeSWITCH module that renders SSML into audio. This module requires a text-to-speech module for speech synthesis.
  939. %endif
  940. %package format-tone-stream
  941. Summary: Implements TGML Tone Generation for the FreeSWITCH open source telephony platform
  942. Group: System/Libraries
  943. Requires: %{name} = %{version}-%{release}
  944. %description format-tone-stream
  945. Implements TGML Tone Generation for the FreeSWITCH open source telephony platform
  946. ######################################################################################################################
  947. # FreeSWITCH Programming Language Modules
  948. ######################################################################################################################
  949. %package lua
  950. Summary: Lua support for the FreeSWITCH open source telephony platform
  951. Group: System/Libraries
  952. Requires: %{name} = %{version}-%{release}
  953. BuildRequires: lua-devel
  954. %description lua
  955. %package perl
  956. Summary: Perl support for the FreeSWITCH open source telephony platform
  957. Group: System/Libraries
  958. Requires: %{name} = %{version}-%{release}
  959. Requires: perl
  960. BuildRequires: perl-devel
  961. BuildRequires: perl-ExtUtils-Embed
  962. %description perl
  963. %package python
  964. Summary: Python support for the FreeSWITCH open source telephony platform
  965. Group: System/Libraries
  966. Requires: %{name} = %{version}-%{release}
  967. Requires: python
  968. BuildRequires: python-devel
  969. %description python
  970. %if %{build_mod_v8}
  971. %package v8
  972. Summary: JavaScript support for the FreeSWITCH open source telephony platform, using Google V8 JavaScript engine
  973. Group: System/Libraries
  974. Requires: %{name} = %{version}-%{release}
  975. %description v8
  976. %endif
  977. ######################################################################################################################
  978. # FreeSWITCH Say Modules
  979. ######################################################################################################################
  980. %package lang-en
  981. Summary: Provides english language dependand modules and speech config for the FreeSWITCH Open Source telephone platform.
  982. Group: System/Libraries
  983. Requires: %{name} = %{version}-%{release}
  984. %description lang-en
  985. English language phrases module and directory structure for say module and voicemail
  986. %package lang-ru
  987. Summary: Provides russian language dependand modules and speech config for the FreeSWITCH Open Source telephone platform.
  988. Group: System/Libraries
  989. Requires: %{name} = %{version}-%{release}
  990. %description lang-ru
  991. Russian language phrases module and directory structure for say module and voicemail
  992. %package lang-fr
  993. Summary: Provides french language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
  994. Group: System/Libraries
  995. Requires: %{name} = %{version}-%{release}
  996. %description lang-fr
  997. French language phrases module and directory structure for say module and voicemail
  998. %package lang-de
  999. Summary: Provides german language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
  1000. Group: System/Libraries
  1001. Requires: %{name} = %{version}-%{release}
  1002. %description lang-de
  1003. German language phrases module and directory structure for say module and voicemail
  1004. %package lang-he
  1005. Summary: Provides hebrew language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
  1006. Group: System/Libraries
  1007. Requires: %{name} = %{version}-%{release}
  1008. %description lang-he
  1009. Hebrew language phrases module and directory structure for say module and voicemail
  1010. %package lang-es
  1011. Summary: Provides Spanish language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
  1012. Group: System/Libraries
  1013. Requires: %{name} = %{version}-%{release}
  1014. %description lang-es
  1015. Spanish language phrases module and directory structure for say module and voicemail
  1016. %package lang-pt
  1017. Summary: Provides Portugese language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
  1018. Group: System/Libraries
  1019. Requires: %{name} = %{version}-%{release}
  1020. %description lang-pt
  1021. Portugese language phrases module and directory structure for say module and voicemail
  1022. %package lang-sv
  1023. Summary: Provides Swedish language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
  1024. Group: System/Libraries
  1025. Requires: %{name} = %{version}-%{release}
  1026. %description lang-sv
  1027. Swedish language phrases module and directory structure for say module and voicemail
  1028. ######################################################################################################################
  1029. # FreeSWITCH Timer Modules
  1030. ######################################################################################################################
  1031. %package timer-posix
  1032. Summary: Provides posix timer for the FreeSWITCH Open Source telephone platform.
  1033. Group: System/Libraries
  1034. Requires: %{name} = %{version}-%{release}
  1035. %description timer-posix
  1036. Provides posix timer for the FreeSWITCH Open Source telephone platform.
  1037. %if %{build_timerfd}
  1038. %package timer-timerfd
  1039. Summary: Provides Linux Timerfs based timer for the FreeSWITCH Open Source telephone platform.
  1040. Group: System/Libraries
  1041. Requires: %{name} = %{version}-%{release}
  1042. %description timer-timerfd
  1043. Provides Linux Timerfs based timer for the FreeSWITCH Open Source telephone
  1044. platform.
  1045. %endif
  1046. ######################################################################################################################
  1047. # FreeSWITCH XML INT Modules
  1048. ######################################################################################################################
  1049. %package xml-cdr
  1050. Summary: Provides XML CDR interface for the FreeSWITCH Open Source telephone platform.
  1051. Group: System/Libraries
  1052. Requires: %{name} = %{version}-%{release}
  1053. %description xml-cdr
  1054. Provides XML CDR interface for the FreeSWITCH Open Source telephone platform.
  1055. %package xml-curl
  1056. Summary: Provides XML Curl interface for the FreeSWITCH Open Source telephone platform.
  1057. Group: System/Libraries
  1058. Requires: %{name} = %{version}-%{release}
  1059. %description xml-curl
  1060. Provides XML Curl interface for the FreeSWITCH Open Source telephone platform.
  1061. Pull dynamic XML configs for FreeSWITCH over HTTP.
  1062. %package xml-rpc
  1063. Summary: Provides XML-RPC interface for the FreeSWITCH Open Source telephone platform.
  1064. Group: System/Libraries
  1065. Requires: %{name} = %{version}-%{release}
  1066. %description xml-rpc
  1067. Provides XML-RPC interface for the FreeSWITCH Open Source telephone platform.
  1068. ######################################################################################################################
  1069. # FreeSWITCH ESL language modules
  1070. ######################################################################################################################
  1071. %package -n perl-ESL
  1072. Summary: The Perl ESL module allows for native interaction with FreeSWITCH over the event socket interface.
  1073. Group: System Environment/Libraries
  1074. %description -n perl-ESL
  1075. The Perl ESL module allows for native interaction with FreeSWITCH over the event socket interface.
  1076. %package -n python-ESL
  1077. Summary: The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface.
  1078. Group: System Environment/Libraries
  1079. Requires: python
  1080. BuildRequires: python-devel
  1081. %description -n python-ESL
  1082. The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface.
  1083. ######################################################################################################################
  1084. # FreeSWITCH basic config module
  1085. ######################################################################################################################
  1086. %package config-vanilla
  1087. Summary: Basic vanilla config set for the FreeSWITCH Open Source telephone platform.
  1088. Group: System/Libraries
  1089. Requires: %{name} = %{version}-%{release}
  1090. Requires: freeswitch-application-abstraction
  1091. Requires: freeswitch-application-avmd
  1092. Requires: freeswitch-application-blacklist
  1093. Requires: freeswitch-application-callcenter
  1094. Requires: freeswitch-application-cidlookup
  1095. Requires: freeswitch-application-conference
  1096. Requires: freeswitch-application-curl
  1097. Requires: freeswitch-application-db
  1098. Requires: freeswitch-application-directory
  1099. Requires: freeswitch-application-distributor
  1100. Requires: freeswitch-application-easyroute
  1101. Requires: freeswitch-application-enum
  1102. Requires: freeswitch-application-esf
  1103. Requires: freeswitch-application-expr
  1104. Requires: freeswitch-application-fifo
  1105. Requires: freeswitch-application-fsk
  1106. Requires: freeswitch-application-fsv
  1107. Requires: freeswitch-application-hash
  1108. Requires: freeswitch-application-httapi
  1109. Requires: freeswitch-application-http-cache
  1110. Requires: freeswitch-application-lcr
  1111. Requires: freeswitch-application-limit
  1112. Requires: freeswitch-application-memcache
  1113. Requires: freeswitch-application-nibblebill
  1114. Requires: freeswitch-application-redis
  1115. Requires: freeswitch-application-rss
  1116. Requires: freeswitch-application-signalwire
  1117. Requires: freeswitch-application-sms
  1118. Requires: freeswitch-application-snapshot
  1119. Requires: freeswitch-application-snom
  1120. Requires: freeswitch-application-soundtouch
  1121. Requires: freeswitch-application-spy
  1122. Requires: freeswitch-application-stress
  1123. Requires: freeswitch-application-valet_parking
  1124. Requires: freeswitch-application-video_filter
  1125. Requires: freeswitch-application-voicemail
  1126. Requires: freeswitch-application-voicemail-ivr
  1127. Requires: freeswitch-codec-passthru-amr
  1128. Requires: freeswitch-codec-bv
  1129. Requires: freeswitch-codec-passthru-g723_1
  1130. Requires: freeswitch-codec-passthru-g729
  1131. Requires: freeswitch-codec-h26x
  1132. Requires: freeswitch-codec-ilbc
  1133. Requires: freeswitch-codec-siren
  1134. Requires: freeswitch-database-pgsql
  1135. Requires: freeswitch-format-local-stream
  1136. Requires: freeswitch-format-native-file
  1137. Requires: freeswitch-format-portaudio-stream
  1138. Requires: freeswitch-format-tone-stream
  1139. Requires: freeswitch-lang-en
  1140. %description config-vanilla
  1141. Basic vanilla config set for the FreeSWITCH Open Source telephone platform.
  1142. ######################################################################################################################
  1143. #
  1144. # Unpack and prepare Source archives, copy stuff around etc ..
  1145. #
  1146. ######################################################################################################################
  1147. %prep
  1148. %setup -b0 -q -n %{name}-%{nonparsedversion}
  1149. cp %{SOURCE1} libs/
  1150. cp %{SOURCE2} libs/
  1151. cp %{SOURCE3} libs/
  1152. cp %{SOURCE4} libs/
  1153. cp %{SOURCE5} libs/
  1154. cp %{SOURCE6} libs/
  1155. #Hotfix for redefined %_sysconfdir
  1156. sed -ie 's:confdir="${sysconfdir}/freeswitch":confdir="$sysconfdir":' ./configure.ac
  1157. ######################################################################################################################
  1158. #
  1159. # Start the Build process
  1160. #
  1161. ######################################################################################################################
  1162. %build
  1163. %ifos linux
  1164. %if 0%{?suse_version} > 1000 && 0%{?suse_version} < 1030
  1165. export CFLAGS="$CFLAGS -fstack-protector"
  1166. %endif
  1167. %if 0%{?fedora_version} >= 8
  1168. export QA_RPATHS=$[ 0x0001|0x0002 ]
  1169. %endif
  1170. %endif
  1171. ######################################################################################################################
  1172. #
  1173. # Here the modules that will be build get defined
  1174. #
  1175. ######################################################################################################################
  1176. ######################################################################################################################
  1177. #
  1178. # Application Modules
  1179. #
  1180. ######################################################################################################################
  1181. APPLICATION_MODULES_AC="applications/mod_abstraction applications/mod_avmd applications/mod_blacklist \
  1182. applications/mod_callcenter applications/mod_cidlookup \
  1183. applications/mod_commands applications/mod_conference applications/mod_curl"
  1184. APPLICATION_MODULES_DE="applications/mod_db applications/mod_directory applications/mod_distributor \
  1185. applications/mod_dptools applications/mod_easyroute applications/mod_enum applications/mod_esf \
  1186. applications/mod_expr "
  1187. %if %{build_mod_esl}
  1188. APPLICATION_MODULES_DE+="applications/mod_esl"
  1189. %endif
  1190. APPLICATION_MODULES_FR="applications/mod_fifo applications/mod_fsk applications/mod_fsv applications/mod_hash \
  1191. applications/mod_httapi applications/mod_http_cache applications/mod_lcr applications/mod_limit \
  1192. applications/mod_memcache applications/mod_mongo applications/mod_nibblebill applications/mod_rad_auth \
  1193. applications/mod_redis applications/mod_rss "
  1194. APPLICATION_MODULES_SZ="applications/mod_signalwire applications/mod_sms applications/mod_snapshot applications/mod_snom applications/mod_soundtouch \
  1195. applications/mod_spandsp applications/mod_spy applications/mod_stress \
  1196. applications/mod_valet_parking applications/mod_translate applications/mod_voicemail \
  1197. applications/mod_voicemail_ivr applications/mod_video_filter"
  1198. APPLICATIONS_MODULES="$APPLICATION_MODULES_AC $APPLICATION_MODULES_DE $APPLICATION_MODULES_FR $APPLICATION_MODULES_SZ"
  1199. ######################################################################################################################
  1200. #
  1201. # Automatic Speech Recognition and Text To Speech Modules
  1202. #
  1203. ######################################################################################################################
  1204. ASR_TTS_MODULES="asr_tts/mod_flite asr_tts/mod_pocketsphinx asr_tts/mod_tts_commandline asr_tts/mod_unimrcp"
  1205. ######################################################################################################################
  1206. #
  1207. # Codecs
  1208. #
  1209. ######################################################################################################################
  1210. CODECS_MODULES="codecs/mod_amr codecs/mod_amrwb codecs/mod_bv codecs/mod_codec2 codecs/mod_g723_1 \
  1211. codecs/mod_g729 codecs/mod_h26x codecs/mod_ilbc codecs/mod_isac codecs/mod_mp4v codecs/mod_opus codecs/mod_silk \
  1212. codecs/mod_siren codecs/mod_theora"
  1213. #
  1214. %if %{build_sng_tc}
  1215. CODECS_MODULES+="codecs/mod_sangoma_codec"
  1216. %endif
  1217. ######################################################################################################################
  1218. #
  1219. # Database Modules
  1220. #
  1221. ######################################################################################################################
  1222. DATABASES_MODULES="databases/mod_mariadb databases/mod_pgsql"
  1223. ######################################################################################################################
  1224. #
  1225. # Dialplan Modules
  1226. #
  1227. ######################################################################################################################
  1228. DIALPLANS_MODULES="dialplans/mod_dialplan_directory dialplans/mod_dialplan_xml"
  1229. #DISABLED DIALPLANS dialplans/mod_dialplan_asterisk
  1230. ######################################################################################################################
  1231. #
  1232. # Directory Modules
  1233. #
  1234. ######################################################################################################################
  1235. DIRECTORIES_MODULES=""
  1236. ######################################################################################################################
  1237. #
  1238. # Endpoints
  1239. #
  1240. ######################################################################################################################
  1241. ENDPOINTS_MODULES="endpoints/mod_dingaling \
  1242. endpoints/mod_loopback endpoints/mod_portaudio endpoints/mod_rtmp \
  1243. endpoints/mod_skinny endpoints/mod_verto endpoints/mod_rtc endpoints/mod_sofia"
  1244. ## DISABLED MODULES DUE TO BUILD ISSUES endpoints/mod_gsmopen endpoints/mod_h323 endpoints/mod_khomp
  1245. ######################################################################################################################
  1246. #
  1247. # Event Handlers
  1248. #
  1249. ######################################################################################################################
  1250. EVENT_HANDLERS_MODULES="event_handlers/mod_cdr_csv event_handlers/mod_cdr_pg_csv event_handlers/mod_cdr_sqlite \
  1251. event_handlers/mod_cdr_mongodb event_handlers/mod_format_cdr event_handlers/mod_erlang_event event_handlers/mod_event_multicast \
  1252. event_handlers/mod_event_socket event_handlers/mod_json_cdr event_handlers/mod_kazoo event_handlers/mod_radius_cdr \
  1253. event_handlers/mod_snmp"
  1254. %if %{build_mod_rayo}
  1255. EVENT_HANDLERS_MODULES+=" event_handlers/mod_rayo"
  1256. %endif
  1257. #### BUILD ISSUES NET RESOLVED FOR RELEASE event_handlers/mod_event_zmq
  1258. ######################################################################################################################
  1259. #
  1260. # File and Audio Format Handlers
  1261. #
  1262. ######################################################################################################################
  1263. FORMATS_MODULES="formats/mod_local_stream formats/mod_native_file formats/mod_portaudio_stream \
  1264. formats/mod_shell_stream formats/mod_sndfile formats/mod_tone_stream"
  1265. %if %{build_mod_shout}
  1266. FORMATS_MODULES+=" formats/mod_shout "
  1267. %endif
  1268. %if %{build_mod_ssml}
  1269. FORMATS_MODULES+=" formats/mod_ssml"
  1270. %endif
  1271. %if %{build_mod_opusfile}
  1272. FORMATS_MODULES+=" formats/mod_opusfile"
  1273. %endif
  1274. ######################################################################################################################
  1275. #
  1276. # Embedded Languages
  1277. #
  1278. ######################################################################################################################
  1279. LANGUAGES_MODULES="languages/mod_lua languages/mod_perl languages/mod_python "
  1280. %if %{build_mod_v8}
  1281. LANGUAGES_MODULES+="languages/mod_v8"
  1282. %endif
  1283. ######################################################################################################################
  1284. #
  1285. # Logging Modules
  1286. #
  1287. ######################################################################################################################
  1288. LOGGERS_MODULES="loggers/mod_console loggers/mod_graylog2 loggers/mod_logfile loggers/mod_syslog"
  1289. ######################################################################################################################
  1290. #
  1291. # Phrase engine language modules
  1292. #
  1293. ######################################################################################################################
  1294. SAY_MODULES="say/mod_say_de say/mod_say_en say/mod_say_es say/mod_say_pt say/mod_say_fr say/mod_say_he say/mod_say_ru say/mod_say_sv"
  1295. ######################################################################################################################
  1296. #
  1297. # Timers
  1298. #
  1299. ######################################################################################################################
  1300. TIMERS_MODULES="timers/mod_posix_timer "
  1301. %if %{build_timerfd}
  1302. TIMERS_MODULES+="timers/mod_timerfd"
  1303. %endif
  1304. ######################################################################################################################
  1305. #
  1306. # XML Modules
  1307. #
  1308. ######################################################################################################################
  1309. XML_INT_MODULES="xml_int/mod_xml_cdr xml_int/mod_xml_curl xml_int/mod_xml_rpc"
  1310. ######################################################################################################################
  1311. #
  1312. # Create one environment variable out of all the module defs
  1313. #
  1314. ######################################################################################################################
  1315. MYMODULES="$APPLICATIONS_MODULES $CODECS_MODULES $DATABASES_MODULES $DIALPLANS_MODULES $DIRECTORIES_MODULES \
  1316. $ENDPOINTS_MODULES $ASR_TTS_MODULES $EVENT_HANDLERS_MODULES $FORMATS_MODULES $LANGUAGES_MODULES $LOGGERS_MODULES \
  1317. $SAY_MODULES $TIMERS_MODULES $XML_INT_MODULES"
  1318. ######################################################################################################################
  1319. #
  1320. # Create Modules build list and set variables
  1321. #
  1322. ######################################################################################################################
  1323. export MODULES=$MYMODULES
  1324. test ! -f modules.conf || rm -f modules.conf
  1325. touch modules.conf
  1326. for i in $MODULES; do echo $i >> modules.conf; done
  1327. export VERBOSE=yes
  1328. export DESTDIR=%{buildroot}/
  1329. export PKG_CONFIG_PATH=/usr/bin/pkg-config:$PKG_CONFIG_PATH
  1330. export ACLOCAL_FLAGS="-I /usr/share/aclocal"
  1331. ######################################################################################################################
  1332. #
  1333. # Bootstrap, Configure and Build the whole enchilada
  1334. #
  1335. ######################################################################################################################
  1336. if test -f bootstrap.sh
  1337. then
  1338. ./bootstrap.sh
  1339. else
  1340. ./rebootstrap.sh
  1341. fi
  1342. autoreconf --force --install
  1343. %configure -C \
  1344. --prefix=%{PREFIX} \
  1345. --exec-prefix=%{EXECPREFIX} \
  1346. --bindir=%{BINDIR} \
  1347. --sbindir=%{SBINDIR} \
  1348. --libexecdir=%{LIBEXECDIR} \
  1349. --sharedstatedir=%{SHARESTATEDIR} \
  1350. --localstatedir=%{_localstatedir} \
  1351. --libdir=%{LIBDIR} \
  1352. --includedir=%{INCLUDEDIR} \
  1353. --datadir=%{DATADIR} \
  1354. --infodir=%{INFODIR} \
  1355. --mandir=%{MANDIR} \
  1356. --with-logfiledir=%{LOGFILEDIR} \
  1357. --with-modinstdir=%{MODINSTDIR} \
  1358. --with-rundir=%{RUNDIR} \
  1359. --with-dbdir=%{DBDIR} \
  1360. --with-htdocsdir=%{HTDOCSDIR} \
  1361. --with-soundsdir=%{SOUNDSDIR} \
  1362. --enable-core-odbc-support \
  1363. --enable-core-libedit-support \
  1364. --with-grammardir=%{GRAMMARDIR} \
  1365. --with-scriptdir=%{SCRIPTDIR} \
  1366. --with-recordingsdir=%{RECORDINGSDIR} \
  1367. --with-pkgconfigdir=%{PKGCONFIGDIR} \
  1368. --with-odbc \
  1369. --with-erlang \
  1370. --with-openssl \
  1371. %{?configure_options}
  1372. unset MODULES
  1373. %{__make}
  1374. cd libs/esl
  1375. %{__make} pymod
  1376. %{__make} perlmod
  1377. ######################################################################################################################
  1378. #
  1379. # Install it and create some required dirs and links
  1380. #
  1381. ######################################################################################################################
  1382. %install
  1383. %{__make} DESTDIR=%{buildroot} install
  1384. # Create a log dir
  1385. %{__mkdir} -p %{buildroot}%{prefix}/log
  1386. %{__mkdir} -p %{buildroot}%{logfiledir}
  1387. %{__mkdir} -p %{buildroot}%{runtimedir}
  1388. #install the esl stuff
  1389. cd libs/esl
  1390. %{__make} DESTDIR=%{buildroot} pymod-install
  1391. %{__make} DESTDIR=%{buildroot} perlmod-install
  1392. %if %{build_py26_esl}
  1393. #install esl for python 26
  1394. %{__make} clean
  1395. sed -i s/python\ /python26\ /g python/Makefile
  1396. %{__make} pymod
  1397. %{__mkdir} -p %{buildroot}/usr/lib/python2.6/site-packages
  1398. %{__make} DESTDIR=%{buildroot} pymod-install
  1399. %endif
  1400. cd ../..
  1401. %ifos linux
  1402. # Install init files
  1403. # On SuSE:
  1404. %if 0%{?suse_version} > 100
  1405. %{__install} -D -m 744 build/freeswitch.init.suse %{buildroot}/etc/rc.d/init.d/freeswitch
  1406. %else
  1407. %if "%{?_unitdir}" == ""
  1408. # On RedHat like
  1409. %{__install} -D -m 0755 build/freeswitch.init.redhat %{buildroot}/etc/rc.d/init.d/freeswitch
  1410. %else
  1411. # systemd
  1412. %{__install} -Dpm 0644 build/freeswitch.service %{buildroot}%{_unitdir}/freeswitch.service
  1413. %{__install} -Dpm 0644 build/freeswitch-tmpfiles.conf %{buildroot}%{_tmpfilesdir}/freeswitch.conf
  1414. %endif
  1415. %endif
  1416. # On SuSE make /usr/sbin/rcfreeswitch a link to /etc/rc.d/init.d/freeswitch
  1417. %if 0%{?suse_version} > 100
  1418. %{__mkdir} -p %{buildroot}/usr/sbin
  1419. %{__ln_s} -f /etc/rc.d/init.d/freeswitch %{buildroot}/usr/sbin/rcfreeswitch
  1420. %endif
  1421. # Add the sysconfiguration file
  1422. %{__install} -D -m 744 build/freeswitch.sysconfig %{buildroot}/etc/sysconfig/freeswitch
  1423. # Add monit file
  1424. %{__install} -D -m 644 build/freeswitch.monitrc %{buildroot}/etc/monit.d/freeswitch.monitrc
  1425. %endif
  1426. ######################################################################################################################
  1427. #
  1428. # Remove files that are not wanted if they exist
  1429. #
  1430. ######################################################################################################################
  1431. %if %{build_sng_ss7}
  1432. #do not delete a thing
  1433. %else
  1434. %{__rm} -f %{buildroot}/%{MODINSTDIR}/ftmod_sangoma_ss7*
  1435. %endif
  1436. %if %{build_sng_isdn}
  1437. #do not delete a thing
  1438. %else
  1439. %{__rm} -f %{buildroot}/%{MODINSTDIR}/ftmod_sangoma_isdn*
  1440. %endif
  1441. ######################################################################################################################
  1442. #
  1443. # Add a freeswitch user with group daemon that will own the whole enchilada
  1444. #
  1445. ######################################################################################################################
  1446. %pre
  1447. %ifos linux
  1448. if ! /usr/bin/id freeswitch &>/dev/null; then
  1449. /usr/sbin/useradd -r -g daemon -s /bin/false -c "The FreeSWITCH Open Source Voice Platform" -d %{LOCALSTATEDIR} freeswitch || \
  1450. %logmsg "Unexpected error adding user \"freeswitch\". Aborting installation."
  1451. fi
  1452. %endif
  1453. %post
  1454. %{?run_ldconfig:%run_ldconfig}
  1455. # Make FHS2.0 happy
  1456. # %{__mkdir} -p /etc/opt
  1457. # %{__ln_s} -f %{sysconfdir} /etc%{prefix}
  1458. chown freeswitch:daemon /var/log/freeswitch /var/run/freeswitch
  1459. %if "%{?_unitdir}" == ""
  1460. chkconfig --add freeswitch
  1461. %else
  1462. %tmpfiles_create freeswitch
  1463. /usr/bin/systemctl -q enable freeswitch.service
  1464. %endif
  1465. %preun
  1466. %{?systemd_preun freeswitch.service}
  1467. %postun
  1468. %{?systemd_postun freeswitch.service}
  1469. ######################################################################################################################
  1470. #
  1471. # On uninstallation get rid of the freeswitch user
  1472. #
  1473. ######################################################################################################################
  1474. %{?run_ldconfig:%run_ldconfig}
  1475. if [ $1 -eq 0 ]; then
  1476. userdel freeswitch || %logmsg "User \"freeswitch\" could not be deleted."
  1477. fi
  1478. %clean
  1479. %{__rm} -rf %{buildroot}
  1480. %files
  1481. ######################################################################################################################
  1482. #
  1483. # What to install where ... first set default permissions
  1484. #
  1485. ######################################################################################################################
  1486. %defattr(-,root,root)
  1487. ######################################################################################################################
  1488. #
  1489. # Directories
  1490. #
  1491. ######################################################################################################################
  1492. #
  1493. #################################### Basic Directory Structure #######################################################
  1494. #
  1495. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}
  1496. %dir %attr(0750, freeswitch, daemon) %{LOCALSTATEDIR}
  1497. %dir %attr(0750, freeswitch, daemon) %{LOCALSTATEDIR}/images
  1498. %dir %attr(0750, freeswitch, daemon) %{DBDIR}
  1499. %dir %attr(0755, -, -) %{GRAMMARDIR}
  1500. %dir %attr(0755, -, -) %{HTDOCSDIR}
  1501. %dir %attr(0750, freeswitch, daemon) %{logfiledir}
  1502. %dir %attr(0750, freeswitch, daemon) %{runtimedir}
  1503. %dir %attr(0755, -, -) %{SCRIPTDIR}
  1504. #
  1505. #################################### Config Directory Structure #######################################################
  1506. #
  1507. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs
  1508. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/dialplan
  1509. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/dialplan/default
  1510. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/dialplan/public
  1511. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/dialplan/skinny-patterns
  1512. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/directory
  1513. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/directory/default
  1514. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/jingle_profiles
  1515. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang
  1516. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/mrcp_profiles
  1517. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/sip_profiles
  1518. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/sip_profiles/external
  1519. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/sip_profiles/external-ipv6
  1520. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/skinny_profiles
  1521. #
  1522. #################################### Grammar Directory Structure #####################################################
  1523. #
  1524. %dir %attr(0755, -, -) %{GRAMMARDIR}/model
  1525. %dir %attr(0755, -, -) %{GRAMMARDIR}/model/communicator
  1526. ######################################################################################################################
  1527. #
  1528. # Other Files
  1529. #
  1530. ######################################################################################################################
  1531. %config(noreplace) %attr(0644,-,-) %{HTDOCSDIR}/*
  1532. %ifos linux
  1533. %if "%{?_unitdir}" == ""
  1534. /etc/rc.d/init.d/freeswitch
  1535. %else
  1536. %{_unitdir}/freeswitch.service
  1537. %{_tmpfilesdir}/freeswitch.conf
  1538. %endif
  1539. %config(noreplace) /etc/sysconfig/freeswitch
  1540. %if 0%{?suse_version} > 100
  1541. /usr/sbin/rcfreeswitch
  1542. %endif
  1543. %endif
  1544. %ifos linux
  1545. %dir %attr(0750,-,-) /etc/monit.d
  1546. %config(noreplace) %attr(0644,-,-) /etc/monit.d/freeswitch.monitrc
  1547. %endif
  1548. %{LOCALSTATEDIR}/images/*
  1549. ######################################################################################################################
  1550. #
  1551. # Binaries
  1552. #
  1553. ######################################################################################################################
  1554. %attr(0755,-,-) %{prefix}/bin/*
  1555. %{LIBDIR}/libfreeswitch*.so*
  1556. ######################################################################################################################
  1557. #
  1558. # Modules in Alphabetical Order, please keep them that way..
  1559. #
  1560. ######################################################################################################################
  1561. %{MODINSTDIR}/mod_cdr_csv.so*
  1562. %{MODINSTDIR}/mod_console.so*
  1563. %{MODINSTDIR}/mod_commands.so*
  1564. %{MODINSTDIR}/mod_dialplan_directory.so*
  1565. %{MODINSTDIR}/mod_dialplan_xml.so*
  1566. %{MODINSTDIR}/mod_dptools.so*
  1567. %{MODINSTDIR}/mod_event_socket.so*
  1568. %{MODINSTDIR}/mod_logfile.so*
  1569. %{MODINSTDIR}/mod_loopback.so*
  1570. %{MODINSTDIR}/mod_native_file.so*
  1571. %{MODINSTDIR}/mod_sndfile.so*
  1572. %{MODINSTDIR}/mod_sofia.so*
  1573. %{MODINSTDIR}/mod_spandsp.so*
  1574. %{MODINSTDIR}/mod_syslog.so*
  1575. %{MODINSTDIR}/mod_tone_stream.so*
  1576. %{MODINSTDIR}/mod_xml_rpc.so*
  1577. ######################################################################################################################
  1578. #
  1579. # Package for the developer
  1580. #
  1581. ######################################################################################################################
  1582. %files devel
  1583. %{LIBDIR}/*.a
  1584. %{LIBDIR}/*.la
  1585. %{PKGCONFIGDIR}/*
  1586. %{MODINSTDIR}/*.*a
  1587. %{INCLUDEDIR}/*.h
  1588. %{INCLUDEDIR}/test/*.h
  1589. ######################################################################################################################
  1590. # Vanilla Config Files
  1591. ######################################################################################################################
  1592. %files config-vanilla
  1593. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/*.tpl
  1594. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/*.ttml
  1595. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/*.xml
  1596. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/extensions.conf
  1597. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/mime.types
  1598. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/abstraction.conf.xml
  1599. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/acl.conf.xml
  1600. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/amr.conf.xml
  1601. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/amrwb.conf.xml
  1602. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/alsa.conf.xml
  1603. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/amqp.conf.xml
  1604. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/av.conf.xml
  1605. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/avmd.conf.xml
  1606. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/blacklist.conf.xml
  1607. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/callcenter.conf.xml
  1608. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cdr_csv.conf.xml
  1609. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cdr_mongodb.conf.xml
  1610. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cdr_pg_csv.conf.xml
  1611. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cdr_sqlite.conf.xml
  1612. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cepstral.conf.xml
  1613. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cidlookup.conf.xml
  1614. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/conference.conf.xml
  1615. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/conference_layouts.conf.xml
  1616. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/console.conf.xml
  1617. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/curl.conf.xml
  1618. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/db.conf.xml
  1619. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/dialplan_directory.conf.xml
  1620. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/dingaling.conf.xml
  1621. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/directory.conf.xml
  1622. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/distributor.conf.xml
  1623. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/easyroute.conf.xml
  1624. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/enum.conf.xml
  1625. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/erlang_event.conf.xml
  1626. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/event_multicast.conf.xml
  1627. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/event_socket.conf.xml
  1628. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/fax.conf.xml
  1629. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/fifo.conf.xml
  1630. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/format_cdr.conf.xml
  1631. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/graylog2.conf.xml
  1632. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/hash.conf.xml
  1633. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/hiredis.conf.xml
  1634. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/httapi.conf.xml
  1635. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/http_cache.conf.xml
  1636. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/ivr.conf.xml
  1637. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/java.conf.xml
  1638. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/kazoo.conf.xml
  1639. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/lcr.conf.xml
  1640. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/local_stream.conf.xml
  1641. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/logfile.conf.xml
  1642. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/memcache.conf.xml
  1643. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/modules.conf.xml
  1644. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/mongo.conf.xml
  1645. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/msrp.conf.xml
  1646. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/nibblebill.conf.xml
  1647. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/opal.conf.xml
  1648. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/oreka.conf.xml
  1649. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/osp.conf.xml
  1650. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/pocketsphinx.conf.xml
  1651. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/portaudio.conf.xml
  1652. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/post_load_modules.conf.xml
  1653. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/pre_load_modules.conf.xml
  1654. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/presence_map.conf.xml
  1655. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/redis.conf.xml
  1656. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/rss.conf.xml
  1657. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/rtmp.conf.xml
  1658. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/sangoma_codec.conf.xml
  1659. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/shout.conf.xml
  1660. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/skinny.conf.xml
  1661. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/smpp.conf.xml
  1662. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/sms_flowroute.conf.xml
  1663. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/sndfile.conf.xml
  1664. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/sofia.conf.xml
  1665. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/spandsp.conf.xml
  1666. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/switch.conf.xml
  1667. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/syslog.conf.xml
  1668. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/timezones.conf.xml
  1669. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/translate.conf.xml
  1670. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/tts_commandline.conf.xml
  1671. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/unicall.conf.xml
  1672. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/unimrcp.conf.xml
  1673. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/verto.conf.xml
  1674. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/voicemail.conf.xml
  1675. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/voicemail_ivr.conf.xml
  1676. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/vpx.conf.xml
  1677. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/xml_cdr.conf.xml
  1678. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/xml_curl.conf.xml
  1679. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/xml_rpc.conf.xml
  1680. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/xml_scgi.conf.xml
  1681. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/zeroconf.conf.xml
  1682. ######################################################################################################################
  1683. # Chatplans
  1684. ######################################################################################################################
  1685. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/chatplan/default.xml
  1686. ######################################################################################################################
  1687. # Dialplans
  1688. ######################################################################################################################
  1689. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/dialplan/*.xml
  1690. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/dialplan/default/*.xml
  1691. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/dialplan/public/*.xml
  1692. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/dialplan/skinny-patterns/*.xml
  1693. ######################################################################################################################
  1694. # Fonts
  1695. ######################################################################################################################
  1696. %config(noreplace) %attr(0640, freeswitch, daemon) %{_datadir}/freeswitch/fonts/*.ttf
  1697. %config(noreplace) %attr(0640, freeswitch, daemon) %{_datadir}/freeswitch/fonts/OFL.txt
  1698. %config(noreplace) %attr(0640, freeswitch, daemon) %{_datadir}/freeswitch/fonts/README.fonts
  1699. ######################################################################################################################
  1700. # User Directories
  1701. ######################################################################################################################
  1702. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/directory/*.xml
  1703. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/directory/default/*
  1704. ######################################################################################################################
  1705. # IVR Menues
  1706. ######################################################################################################################
  1707. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/ivr_menus/*.xml
  1708. ######################################################################################################################
  1709. # Sip Profiles
  1710. ######################################################################################################################
  1711. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/sip_profiles/*.xml
  1712. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/sip_profiles/external/*.xml
  1713. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/sip_profiles/external-ipv6/*.xml
  1714. ######################################################################################################################
  1715. # Other Protocol Profiles (skinny, jingle, mrcp)
  1716. ######################################################################################################################
  1717. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/skinny_profiles/*.xml
  1718. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/jingle_profiles/*.xml
  1719. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/mrcp_profiles/*.xml
  1720. ######################################################################################################################
  1721. # Grammar Files
  1722. ######################################################################################################################
  1723. %config(noreplace) %attr(0644, -, -) %{GRAMMARDIR}/default.dic
  1724. %config(noreplace) %attr(0644, -, -) %{GRAMMARDIR}/model/communicator/*
  1725. ### END OF config-vanilla
  1726. ######################################################################################################################
  1727. #
  1728. # Application Packages
  1729. #
  1730. ######################################################################################################################
  1731. %files application-abstraction
  1732. %{MODINSTDIR}/mod_abstraction.so*
  1733. %files application-avmd
  1734. %{MODINSTDIR}/mod_avmd.so*
  1735. %files application-blacklist
  1736. %{MODINSTDIR}/mod_blacklist.so*
  1737. %files application-callcenter
  1738. %{MODINSTDIR}/mod_callcenter.so*
  1739. %files application-cidlookup
  1740. %{MODINSTDIR}/mod_cidlookup.so*
  1741. %files application-conference
  1742. %{MODINSTDIR}/mod_conference.so*
  1743. %files application-curl
  1744. %{MODINSTDIR}/mod_curl.so*
  1745. %files application-db
  1746. %{MODINSTDIR}/mod_db.so*
  1747. %files application-directory
  1748. %{MODINSTDIR}/mod_directory.so*
  1749. %files application-distributor
  1750. %{MODINSTDIR}/mod_distributor.so*
  1751. %files application-easyroute
  1752. %{MODINSTDIR}/mod_easyroute.so*
  1753. %files application-enum
  1754. %{MODINSTDIR}/mod_enum.so*
  1755. %files application-esf
  1756. %{MODINSTDIR}/mod_esf.so*
  1757. %if %{build_mod_esl}
  1758. %files application-esl
  1759. %{MODINSTDIR}/mod_esl.so*
  1760. %endif
  1761. %files application-expr
  1762. %{MODINSTDIR}/mod_expr.so*
  1763. %files application-fifo
  1764. %{MODINSTDIR}/mod_fifo.so*
  1765. %files application-fsk
  1766. %{MODINSTDIR}/mod_fsk.so*
  1767. %files application-fsv
  1768. %{MODINSTDIR}/mod_fsv.so*
  1769. %files application-hash
  1770. %{MODINSTDIR}/mod_hash.so*
  1771. %files application-httapi
  1772. %{MODINSTDIR}/mod_httapi.so*
  1773. %files application-http-cache
  1774. %{MODINSTDIR}/mod_http_cache.so*
  1775. %files application-lcr
  1776. %{MODINSTDIR}/mod_lcr.so*
  1777. %files application-limit
  1778. %{MODINSTDIR}/mod_limit.so*
  1779. %files application-memcache
  1780. %{MODINSTDIR}/mod_memcache.so*
  1781. %files application-mongo
  1782. %{MODINSTDIR}/mod_mongo.so*
  1783. %files application-nibblebill
  1784. %{MODINSTDIR}/mod_nibblebill.so*
  1785. %files application-rad_auth
  1786. %{MODINSTDIR}/mod_rad_auth.so*
  1787. %files application-redis
  1788. %{MODINSTDIR}/mod_redis.so*
  1789. %files application-rss
  1790. %{MODINSTDIR}/mod_rss.so*
  1791. %files application-signalwire
  1792. %{MODINSTDIR}/mod_signalwire.so*
  1793. %files application-sms
  1794. %{MODINSTDIR}/mod_sms.so*
  1795. %files application-snapshot
  1796. %{MODINSTDIR}/mod_snapshot.so*
  1797. %files application-snom
  1798. %{MODINSTDIR}/mod_snom.so*
  1799. %files application-soundtouch
  1800. %{MODINSTDIR}/mod_soundtouch.so*
  1801. %files application-spy
  1802. %{MODINSTDIR}/mod_spy.so*
  1803. %files application-stress
  1804. %{MODINSTDIR}/mod_stress.so*
  1805. %files application-translate
  1806. %{MODINSTDIR}/mod_translate.so*
  1807. %files application-valet_parking
  1808. %{MODINSTDIR}/mod_valet_parking.so*
  1809. %files application-video_filter
  1810. %{MODINSTDIR}/mod_video_filter.so*
  1811. %files application-voicemail
  1812. %{MODINSTDIR}/mod_voicemail.so*
  1813. %files application-voicemail-ivr
  1814. %{MODINSTDIR}/mod_voicemail_ivr.so*
  1815. ######################################################################################################################
  1816. #
  1817. # ASR TTS Packages
  1818. #
  1819. ######################################################################################################################
  1820. %files asrtts-flite
  1821. %{MODINSTDIR}/mod_flite.so*
  1822. %files asrtts-pocketsphinx
  1823. %{MODINSTDIR}/mod_pocketsphinx.so*
  1824. %files asrtts-tts-commandline
  1825. %{MODINSTDIR}/mod_tts_commandline.so*
  1826. %files asrtts-unimrcp
  1827. %{MODINSTDIR}/mod_unimrcp.so*
  1828. ######################################################################################################################
  1829. #
  1830. # CODEC Packages
  1831. #
  1832. ######################################################################################################################
  1833. %files codec-passthru-amr
  1834. %{MODINSTDIR}/mod_amr.so*
  1835. %files codec-passthru-amrwb
  1836. %{MODINSTDIR}/mod_amrwb.so*
  1837. %files codec-bv
  1838. %{MODINSTDIR}/mod_bv.so*
  1839. %files codec-codec2
  1840. %{MODINSTDIR}/mod_codec2.so*
  1841. %files codec-passthru-g723_1
  1842. %{MODINSTDIR}/mod_g723_1.so*
  1843. %files codec-passthru-g729
  1844. %{MODINSTDIR}/mod_g729.so*
  1845. %files codec-h26x
  1846. %{MODINSTDIR}/mod_h26x.so*
  1847. %files codec-ilbc
  1848. %{MODINSTDIR}/mod_ilbc.so*
  1849. %files codec-isac
  1850. %{MODINSTDIR}/mod_isac.so*
  1851. %files codec-mp4v
  1852. %{MODINSTDIR}/mod_mp4v.so*
  1853. %files codec-opus
  1854. %{MODINSTDIR}/mod_opus.so*
  1855. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/opus.conf.xml
  1856. %if %{build_sng_tc}
  1857. %files sangoma-codec
  1858. %{MODINSTDIR}/mod_sangoma_codec.so*
  1859. %endif
  1860. %files codec-silk
  1861. %{MODINSTDIR}/mod_silk.so*
  1862. %files codec-siren
  1863. %{MODINSTDIR}/mod_siren.so*
  1864. %files codec-theora
  1865. %{MODINSTDIR}/mod_theora.so*
  1866. ######################################################################################################################
  1867. #
  1868. # FreeSWITCH Database Modules
  1869. #
  1870. ######################################################################################################################
  1871. %files database-mariadb
  1872. %{MODINSTDIR}/mod_mariadb.so*
  1873. %files database-pgsql
  1874. %{MODINSTDIR}/mod_pgsql.so*
  1875. ######################################################################################################################
  1876. #
  1877. # FreeSWITCH Directory Modules
  1878. #
  1879. ######################################################################################################################
  1880. #%files directory-ldap
  1881. #%{MODINSTDIR}/mod_ldap.so*
  1882. ######################################################################################################################
  1883. #
  1884. # FreeSWITCH endpoint Modules
  1885. #
  1886. ######################################################################################################################
  1887. %files endpoint-dingaling
  1888. %{MODINSTDIR}/mod_dingaling.so*
  1889. #%files endpoint-gsmopen
  1890. #%{MODINSTDIR}/mod_gsmopen.so*
  1891. #%files endpoint-h323
  1892. #%{MODINSTDIR}/mod_h323.so*
  1893. #%files endpoint-khomp
  1894. #%{MODINSTDIR}/mod_khomp.so*
  1895. %files endpoint-portaudio
  1896. %{MODINSTDIR}/mod_portaudio.so*
  1897. %files endpoint-rtmp
  1898. %{MODINSTDIR}/mod_rtmp.so*
  1899. %files endpoint-skinny
  1900. %{MODINSTDIR}/mod_skinny.so*
  1901. %files endpoint-verto
  1902. %{MODINSTDIR}/mod_verto.so*
  1903. %files endpoint-rtc
  1904. %{MODINSTDIR}/mod_rtc.so*
  1905. ######################################################################################################################
  1906. #
  1907. # Event Modules
  1908. #
  1909. ######################################################################################################################
  1910. %files event-cdr-mongodb
  1911. %{MODINSTDIR}/mod_cdr_mongodb.so*
  1912. %files event-cdr-pg-csv
  1913. %{MODINSTDIR}/mod_cdr_pg_csv.so*
  1914. %files event-cdr-sqlite
  1915. %{MODINSTDIR}/mod_cdr_sqlite.so*
  1916. %files event-erlang-event
  1917. %{MODINSTDIR}/mod_erlang_event.so*
  1918. %files event-format-cdr
  1919. %{MODINSTDIR}/mod_format_cdr.so*
  1920. %files event-multicast
  1921. %{MODINSTDIR}/mod_event_multicast.so*
  1922. #%files event-zmq
  1923. #%{MODINSTDIR}/mod_xmq.so*
  1924. %files event-json-cdr
  1925. %{MODINSTDIR}/mod_json_cdr.so*
  1926. %files kazoo
  1927. %{MODINSTDIR}/mod_kazoo.so*
  1928. %files event-radius-cdr
  1929. %{MODINSTDIR}/mod_radius_cdr.so*
  1930. %if %{build_mod_rayo}
  1931. %files event-rayo
  1932. %{MODINSTDIR}/mod_rayo.so*
  1933. %endif
  1934. %files event-snmp
  1935. %{MODINSTDIR}/mod_snmp.so*
  1936. ######################################################################################################################
  1937. #
  1938. # Event Modules
  1939. #
  1940. ######################################################################################################################
  1941. %files format-local-stream
  1942. %{MODINSTDIR}/mod_local_stream.so*
  1943. %files format-native-file
  1944. %{MODINSTDIR}/mod_native_file.so*
  1945. %files format-portaudio-stream
  1946. %{MODINSTDIR}/mod_portaudio_stream.so*
  1947. %files format-shell-stream
  1948. %{MODINSTDIR}/mod_shell_stream.so*
  1949. %if %{build_mod_shout}
  1950. %files format-mod-shout
  1951. %{MODINSTDIR}/mod_shout.so*
  1952. %endif
  1953. %if %{build_mod_ssml}
  1954. %files format-ssml
  1955. %{MODINSTDIR}/mod_ssml.so*
  1956. %endif
  1957. %files format-tone-stream
  1958. %{MODINSTDIR}/mod_tone_stream.so*
  1959. ######################################################################################################################
  1960. #
  1961. # Embedded Language Modules
  1962. #
  1963. ######################################################################################################################
  1964. %files lua
  1965. %{MODINSTDIR}/mod_lua*.so*
  1966. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs
  1967. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/lua.conf.xml
  1968. %files perl
  1969. %{MODINSTDIR}/mod_perl*.so*
  1970. %{prefix}/perl/*
  1971. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs
  1972. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/perl.conf.xml
  1973. %files python
  1974. %{MODINSTDIR}/mod_python*.so*
  1975. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs
  1976. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/python.conf.xml
  1977. %if %{build_mod_v8}
  1978. %files v8
  1979. %{MODINSTDIR}/mod_v8*.so*
  1980. %{LIBDIR}/libv8.so
  1981. %{LIBDIR}/libicui18n.so
  1982. %{LIBDIR}/libicuuc.so
  1983. %endif
  1984. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs
  1985. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/v8.conf.xml
  1986. ######################################################################################################################
  1987. #
  1988. # Language Modules
  1989. #
  1990. ######################################################################################################################
  1991. %files lang-en
  1992. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en
  1993. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en/demo
  1994. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en/vm
  1995. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en/dir
  1996. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en/ivr
  1997. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/*.xml
  1998. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/demo/*.xml
  1999. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/vm/*.xml
  2000. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/dir/*.xml
  2001. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/ivr/*.xml
  2002. %{MODINSTDIR}/mod_say_en.so*
  2003. %files lang-de
  2004. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/de
  2005. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/de/demo
  2006. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/de/vm
  2007. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/de/*.xml
  2008. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/de/demo/*.xml
  2009. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/de/vm/*.xml
  2010. %{MODINSTDIR}/mod_say_de.so*
  2011. %files lang-fr
  2012. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/fr
  2013. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/fr/demo
  2014. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/fr/vm
  2015. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/fr/dir
  2016. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/fr/*.xml
  2017. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/fr/demo/*.xml
  2018. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/fr/vm/*.xml
  2019. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/fr/dir/*.xml
  2020. %{MODINSTDIR}/mod_say_fr.so*
  2021. %files lang-ru
  2022. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/ru
  2023. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/ru/demo
  2024. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/ru/vm
  2025. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/ru/dir
  2026. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/ru/*.xml
  2027. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/ru/demo/*.xml
  2028. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/ru/vm/*.xml
  2029. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/ru/dir/*.xml
  2030. %{MODINSTDIR}/mod_say_ru.so*
  2031. %files lang-he
  2032. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/he/
  2033. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/he/demo
  2034. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/he/vm
  2035. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/he/dir
  2036. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/he/*.xml
  2037. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/he/demo/*.xml
  2038. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/he/vm/*.xml
  2039. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/he/dir/*.xml
  2040. %{MODINSTDIR}/mod_say_he.so*
  2041. %files lang-es
  2042. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/es
  2043. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/es/demo
  2044. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/es/vm
  2045. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/es/dir
  2046. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/es/*.xml
  2047. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/es/demo/*.xml
  2048. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/es/vm/*.xml
  2049. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/es/dir/*.xml
  2050. %{MODINSTDIR}/mod_say_es.so*
  2051. %files lang-pt
  2052. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/pt
  2053. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/pt/demo
  2054. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/pt/vm
  2055. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/pt/dir
  2056. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/pt/*.xml
  2057. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/pt/demo/*.xml
  2058. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/pt/vm/*.xml
  2059. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/pt/dir/*.xml
  2060. %{MODINSTDIR}/mod_say_pt.so*
  2061. %files lang-sv
  2062. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/sv
  2063. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/sv/vm
  2064. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/sv/*.xml
  2065. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/sv/vm/*.xml
  2066. %{MODINSTDIR}/mod_say_sv.so*
  2067. ######################################################################################################################
  2068. #
  2069. # Logger Modules
  2070. #
  2071. ######################################################################################################################
  2072. %files logger-graylog2
  2073. %{MODINSTDIR}/mod_graylog2.so*
  2074. ######################################################################################################################
  2075. #
  2076. # Timer Modules
  2077. #
  2078. ######################################################################################################################
  2079. %files timer-posix
  2080. %{MODINSTDIR}/mod_posix_timer.so*
  2081. %if %{build_timerfd}
  2082. %files timer-timerfd
  2083. %{MODINSTDIR}/mod_timerfd.so*
  2084. %endif
  2085. ######################################################################################################################
  2086. #
  2087. # XMLINT Modules
  2088. #
  2089. ######################################################################################################################
  2090. %files xml-cdr
  2091. %{MODINSTDIR}/mod_xml_cdr.so*
  2092. %files xml-curl
  2093. %{MODINSTDIR}/mod_xml_curl.so*
  2094. ######################################################################################################################
  2095. # FreeSWITCH ESL language modules
  2096. ######################################################################################################################
  2097. %files -n perl-ESL
  2098. %defattr(644,root,root,755)
  2099. %{perl_archlib}/ESL.pm
  2100. %{perl_archlib}/ESL.so
  2101. %{perl_archlib}/ESL.la
  2102. %dir %{perl_archlib}/ESL
  2103. %{perl_archlib}/ESL/Dispatch.pm
  2104. %{perl_archlib}/ESL/IVR.pm
  2105. %files -n python-ESL
  2106. %attr(0644, root, bin) /usr/lib*/python*/site-packages/freeswitch.py*
  2107. %attr(0755, root, bin) /usr/lib*/python*/site-packages/_ESL.so*
  2108. %attr(0755, root, bin) /usr/lib*/python*/site-packages/ESL.py*
  2109. ######################################################################################################################
  2110. #
  2111. # Changelog
  2112. #
  2113. ######################################################################################################################
  2114. %changelog
  2115. * Fri Jan 31 2020 - Andrey Volk
  2116. - Add sndfile.conf.xml
  2117. * Tue Apr 23 2019 - Andrey Volk
  2118. - Fix build for Stack 20.x
  2119. * Tue Dec 11 2018 - Andrey Volk
  2120. - add mod_signalwire
  2121. * Sun Mar 13 2016 - Matthew Vale
  2122. - add perl and python ESL language module packages
  2123. * Thu Jul 09 2015 - Artur Zaprzała
  2124. - add systemd service file for CentOS 7
  2125. * Thu Jun 25 2015 - s.safarov@gmail.com
  2126. - Dependencies of mod_shout were declared
  2127. * Mon Jun 22 2015 - krice@freeswitch.org
  2128. - disable mod_shout until we can figure out the correct system deps for RPM based platforms
  2129. * Wed Jun 17 2015 - krice@freeswitch.org
  2130. - Update libvpx2 dep requirement
  2131. * Thu Jun 04 2015 - s.safarov@gmail.com
  2132. - Build dependences declared
  2133. - mod_rad_auth, mod_radius_cdr, mod_format_cdr modules declared
  2134. * Tue Nov 04 2014 - crienzo@grasshopper.com
  2135. - add mod_graylog2 and mod_mongo
  2136. * Thu Sep 11 2014 - krice@freeswitch.org
  2137. - add and fix mod_verto and mod_rtc
  2138. * Mon Jun 02 2014 - krice@freeswitch.org
  2139. - remove mod_spidermoney as its been deprecated
  2140. * Fri Feb 21 2014 - crienzo@grasshopper.com
  2141. - change file owner to root
  2142. * Wed Feb 19 2014 - crienzo@grasshopper.com
  2143. - remove mod_speex
  2144. * Sun Feb 02 2014 - jakob@mress.se
  2145. - add support for building Swedish say language module
  2146. * Mon Jan 13 2014 - peter@olssononline.se
  2147. - Add mod_v8
  2148. * Mon Dec 09 2013 - crienzo@grasshopper.com
  2149. - Add mod_ssml, mod_rayo
  2150. - Fix build on master
  2151. * Fri Jun 28 2013 - krice@freeswitch.org
  2152. - Add module for VP8
  2153. * Wed Jun 19 2013 - krice@freeswitch.org
  2154. - tweak files included for vanilla configs
  2155. * Wed Sep 19 2012 - krice@freeswitch.org
  2156. - Add support for Spanish and Portugese say language modules
  2157. * Thu Jan 26 2012 - krice@freeswitch.org
  2158. - complete rework of spec file
  2159. * Tue Jun 14 2011 - michal.bielicki@seventhsignal.de
  2160. - added mod_http_cache
  2161. * Tue Jun 14 2011 - michal.bielicki@seventhsignal.de
  2162. - added mod_rtmp
  2163. * Fri Apr 01 2011 - michal.bielicki@seventhsignal.de
  2164. - added hebrew language stuff
  2165. * Wed Mar 30 2011 - michal.bielicki@seventhsignal.de
  2166. - removed mod_file_string since it has been merged into dptools
  2167. * Wed Feb 16 2011 - michal.bielicki@seventhsignal.de
  2168. - added mod_skinny
  2169. - added sangoma libraries
  2170. - added sangoma codec module for D100 and D150 and D500
  2171. - added skypopen module
  2172. - fixes for ss7 freetdm modules
  2173. - added mod_opus
  2174. - added selector for sangoma modules
  2175. - addded python esl module to rpm
  2176. - some minor cleanups
  2177. - cut sangoma modules into separate rpms as addons for freetdm
  2178. * Tue Jan 18 2011 - michal.bielicki@seventhsignal.de
  2179. - Fedora adjustments
  2180. * Fri Oct 15 2010 - michal.bielicki@seventhsignal.de
  2181. - added mod_curl
  2182. * Sat Oct 09 2010 - michal.bielicki@seventhsignal.de
  2183. - added mod_silk
  2184. - added mod_codec2
  2185. - moved from openzap to freetdm to make way for inclusion of libsng_isdn and wanpipe
  2186. - added mod_freetdm
  2187. - added mod_cidlookup
  2188. - added more runtime dependencies
  2189. * Thu Sep 30 2010 - michal.bielicki@seventhsignal.de
  2190. - added mod_nibblebill to standard modules
  2191. * Sun Sep 26 2010 - michal.bielicki@seventhsignal.de
  2192. - added portaudio_stream module
  2193. - some more formating work
  2194. * Mon Jul 19 2010 - michal.bielicki@seventhsignal.de
  2195. - new hash module config file added to freeswitch.spec
  2196. * Mon Jul 19 2010 - michal.bielicki@seventhsignal.de
  2197. - Adjusted sphinxbase
  2198. - Fixed Version Revisions for head versions
  2199. - Renamed packages to head to comply with git
  2200. * Tue Jun 22 2010 - michal.bielicki@seventhsignal.de
  2201. - Added comments and made the spec file sections more transparent
  2202. - Added proper header to the Spec file
  2203. - Added Contributors
  2204. - Added Anthony's copyright for the whole package into the header
  2205. * Tue Jun 22 2010 - michal.bielicki@seventhsignal.de
  2206. - Reorganized the modules alphabeticaly
  2207. - synced SFEopensolaris and centos spec
  2208. - started to fix Run Dependencies
  2209. - added mod_say_ru which seemd to have gone missing
  2210. - added comment blocks to show the spec file structure for easier management and editing
  2211. * Mon Jun 21 2010 - michal.bielicki@seventhsignal.de
  2212. - added mod_limit shim for backwards compatibility
  2213. - added mod_hash correctly
  2214. * Sun Jun 20 2010 - michal.bielicki@seventhsignal.de
  2215. - replaced mod_limit with mod_db
  2216. - added mod_spy
  2217. - added mod_valet_parking
  2218. - addded mod_memcache
  2219. - added mod_distributor
  2220. - added mod_avmd
  2221. * Thu Apr 29 2010 - michal.bielicki@seventhsignal.de
  2222. - added osp conf file
  2223. * Fri Apr 23 2010 - michal.bielicki@seventhsignal.de
  2224. - bumped spec file vrersion up to 1.0.7-trunk for trunk
  2225. - added skinny dialplan stuff to specfile
  2226. * Sun Mar 28 2010 - michal.bielicki@seventhsignal.de
  2227. - added sangoma codec config file
  2228. * Wed Dec 02 2009 - michal.bielicki@seventhsignal.de
  2229. - Soundfiles are moving into a separate spec
  2230. * Wed Nov 25 2009 - brian@freeswitch.org
  2231. - added mod_bv.so
  2232. * Wed Nov 25 2009 - michal.bielicki@seventhsignal.de
  2233. - Removed mod_yaml
  2234. - added directory files to russian language
  2235. * Sat Nov 21 2009 - michal.bielicki@seventhsignal.de
  2236. - added patch by Igor Neves <neves.igor@gmail.com>: Added some checkup in %post and %postun to prevent upgrades from removing freeswitch user
  2237. * Wed Nov 18 2009 - michal.bielicki@seventhsignal.de
  2238. - added new config files for diretory and distributor
  2239. - removed sangoma boost from openzap for builds that do not inherit wanpipe while building.
  2240. * Fri Jul 24 2009 - mike@jerris.com
  2241. - removed mod_http
  2242. - removed ozmod_wanpipe
  2243. * Tue Jun 23 2009 - raulfragoso@gmail.com
  2244. - Adjusted for the latest SVN trunk (13912)
  2245. - Included new config and mod files to catch up with latest SVN
  2246. - Included new sound files for base256 and zrtp
  2247. - mod_unimrcp must be built after mod_sofia
  2248. * Tue Feb 17 2009 - michal.bielicki@halokwadrat.de
  2249. - added mod_python
  2250. - added mod_fax
  2251. - added mod_amrwb.so
  2252. - added mod_celt.so
  2253. - added mod_easyroute.so
  2254. - added mod_http.so
  2255. - added mod_lcr.so
  2256. - added mod_loopback.so
  2257. - added mod_siren.so
  2258. - added mod/mod_stress.so
  2259. - added mod_yaml.so
  2260. - added mod_shout.so
  2261. - added rpms or all sounds
  2262. - openzap is now its own rpm
  2263. - added french
  2264. - added german
  2265. - added missing dependencies
  2266. - added soundfiles with separate rpms
  2267. - added definition of all sourcefiles and added them to the SRPM
  2268. - fixes to monit file
  2269. - changes to redhat init file
  2270. * Thu May 22 2008 - michal.bielicki@voiceworks.pl
  2271. - disabled beta class language stuff
  2272. - bumped revision up to rc6
  2273. - added mod_lua
  2274. - added mod_perl
  2275. - Only bootstrap if no Makfile.in exists
  2276. * Mon Feb 04 2008 - michal.bielicki@voiceworks.pl
  2277. - More fixes to specfile
  2278. - First go at SFE files
  2279. * Sun Feb 03 2008 - michal.bielicki@voiceworks.pl
  2280. - abstraction of prefix
  2281. - more wrong stuff deleted
  2282. - abstraction of mkdir, mv, rm, install etc into macros
  2283. * Fri Jan 18 2008 - michal.bielicki@voiceworks.pl
  2284. - fixes, fixes and more fixes in preparation for rc1
  2285. * Wed Dec 5 2007 - michal.bielicki@voiceworks.pl
  2286. - put in detail configfiles in to split of spidermonkey configs
  2287. - created link from /opt/freesxwitch/conf to /etc%{prefix}
  2288. * Thu Nov 29 2007 - michal.bielicki@voiceworks.pl
  2289. - Added ifdefs for susealities
  2290. - Added specifics for centos/redhat
  2291. - Added specifics for fedora
  2292. - Preparing to use it for adding it to SFE packaging for solaris
  2293. - Added odbc stuff back in
  2294. - made curl default
  2295. - Separate package for mod_spidermonkey
  2296. - got rid of modules.conf and stuffed everything in MODULES env var
  2297. - got rid of handmade Cflags peter added ;)
  2298. - fixed bin and libpaths
  2299. - fixed locationof nspr and js libs
  2300. - fixed odbc requirements
  2301. - added all buildable modules
  2302. - added redhat style init file
  2303. - splitted off language dependant stuff into separate language files
  2304. - disable non complete language modules
  2305. * Tue Apr 24 2007 - peter+rpmspam@suntel.com.tr
  2306. - Added a debug package
  2307. - Split the passthrough codecs into separate packages
  2308. * Fri Mar 16 2007 - peter+rpmspam@suntel.com.tr
  2309. - Added devel package
  2310. * Thu Mar 15 2007 - peter+rpmspam@suntel.com.tr
  2311. - Initial RPM release