freeswitch.spec 103 KB

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