2
0

freeswitch.spec 105 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737
  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.6
  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: libks signalwire-client-c
  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. %package asrtts-unimrcp
  525. Summary: FreeSWITCH mod_unimrcp
  526. Group: System/Libraries
  527. Requires: %{name} = %{version}-%{release}
  528. %description asrtts-unimrcp
  529. Provides FreeSWITCH mod_unimrcp, allows communication with Media Resource
  530. Control Protocol (MRCP) servers
  531. ######################################################################################################################
  532. # FreeSWITCH Codec Modules
  533. ######################################################################################################################
  534. %package codec-passthru-amr
  535. Summary: Pass-through AMR Codec support for FreeSWITCH open source telephony platform
  536. Group: System/Libraries
  537. Requires: %{name} = %{version}-%{release}
  538. Conflicts: codec-amr
  539. %description codec-passthru-amr
  540. Pass-through AMR Codec support for FreeSWITCH open source telephony platform
  541. %package codec-passthru-amrwb
  542. Summary: Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony platform
  543. Group: System/Libraries
  544. Requires: %{name} = %{version}-%{release}
  545. Conflicts: codec-amrwb
  546. %description codec-passthru-amrwb
  547. Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony platform
  548. %package codec-bv
  549. Summary: BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform
  550. Group: System/Libraries
  551. Requires: %{name} = %{version}-%{release}
  552. BuildRequires: broadvoice-devel
  553. %description codec-bv
  554. BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform
  555. %package codec-codec2
  556. Summary: Codec2 Narrow Band Codec support for FreeSWITCH open source telephony platform
  557. Group: System/Libraries
  558. Requires: %{name} = %{version}-%{release}
  559. BuildRequires: codec2-devel
  560. %description codec-codec2
  561. CODEC2 narrow band codec support for FreeSWITCH open source telephony platform.
  562. CODEC2 was created by the developers of Speex.
  563. %package codec-passthru-g723_1
  564. Summary: Pass-through g723.1 Codec support for FreeSWITCH open source telephony platform
  565. Group: System/Libraries
  566. Requires: %{name} = %{version}-%{release}
  567. Conflicts: codec-g723_1
  568. %description codec-passthru-g723_1
  569. Pass-through g723.1 Codec support for FreeSWITCH open source telephony platform
  570. %package codec-passthru-g729
  571. Summary: Pass-through g729 Codec support for FreeSWITCH open source telephony platform
  572. Group: System/Libraries
  573. Requires: %{name} = %{version}-%{release}
  574. Conflicts: codec-com-g729
  575. %description codec-passthru-g729
  576. Pass-through g729 Codec support for FreeSWITCH open source telephony platform
  577. %package codec-h26x
  578. Summary: H.263/H.264 Video Codec support for FreeSWITCH open source telephony platform
  579. Group: System/Libraries
  580. Requires: %{name} = %{version}-%{release}
  581. %description codec-h26x
  582. H.263/H.264 Video Codec support for FreeSWITCH open source telephony platform
  583. %package codec-ilbc
  584. Summary: iLCB Codec support for FreeSWITCH open source telephony platform
  585. Group: System/Libraries
  586. Requires: %{name} = %{version}-%{release}
  587. Requires: ilbc2
  588. BuildRequires: ilbc2-devel
  589. %description codec-ilbc
  590. iLBC Codec support for FreeSWITCH open source telephony platform
  591. %package codec-isac
  592. Summary: iSAC Codec support for FreeSWITCH open source telephony platform
  593. Group: System/Libraries
  594. Requires: %{name} = %{version}-%{release}
  595. %description codec-isac
  596. iSAC Codec support for FreeSWITCH open source telephony platform
  597. %package codec-vpx
  598. Summary: vp8 Codec support for FreeSWITCH open source telephony platform
  599. Group: System/Libraries
  600. Requires: %{name} = %{version}-%{release}
  601. %description codec-vpx
  602. iSAC Codec support for FreeSWITCH open source telephony platform
  603. %package codec-mp4v
  604. Summary: MP4V Video Codec support for FreeSWITCH open source telephony platform
  605. Group: System/Libraries
  606. Requires: %{name} = %{version}-%{release}
  607. %description codec-mp4v
  608. MP4V Video Codec support for FreeSWITCH open source telephony platform
  609. %package codec-opus
  610. Summary: Opus Codec support for FreeSWITCH open source telephony platform
  611. Group: System/Libraries
  612. Requires: %{name} = %{version}-%{release}
  613. Requires: opus >= 1.1
  614. BuildRequires: opus-devel >= 1.1
  615. %description codec-opus
  616. OPUS Codec support for FreeSWITCH open source telephony platform
  617. %if %{build_sng_tc}
  618. %package sangoma-codec
  619. Summary: Sangoma D100 and D500 Codec Card Support
  620. Group: System/Libraries
  621. Requires: %{name} = %{version}-%{release}
  622. Requires: sng-tc-linux
  623. BuildRequires: sng-tc-linux
  624. %description sangoma-codec
  625. Sangoma D100 and D500 Codec Card Support
  626. %endif
  627. %package codec-silk
  628. Summary: Silk Codec support for FreeSWITCH open source telephony platform
  629. Group: System/Libraries
  630. Requires: %{name} = %{version}-%{release}
  631. BuildRequires: libsilk-devel
  632. %description codec-silk
  633. Silk Codec (from Skype) support for FreeSWITCH open source telephony platform
  634. %package codec-siren
  635. Summary: Siren Codec support for FreeSWITCH open source telephony platform
  636. Group: System/Libraries
  637. Requires: %{name} = %{version}-%{release}
  638. BuildRequires: g722_1-devel
  639. %description codec-siren
  640. Siren Codec support for FreeSWITCH open source telephony platform. Using
  641. mod_siren in a commercial product will require you to acquire a patent license
  642. directly from Polycom(R) for your company.
  643. see http://www.polycom.com/usa/en/company/about_us/technology/siren_g7221/siren_g7221.html
  644. and http://www.polycom.com/usa/en/company/about_us/technology/siren14_g7221c/siren14_g7221c.html
  645. At the time of this packaging, Polycom does not charge for licensing.
  646. %package codec-theora
  647. Summary: Theora Video Codec support for FreeSWITCH open source telephony platform
  648. Group: System/Libraries
  649. Requires: %{name} = %{version}-%{release}
  650. %description codec-theora
  651. Theora Video Codec support for FreeSWITCH open source telephony platform.
  652. ######################################################################################################################
  653. # FreeSWITCH Database Modules
  654. ######################################################################################################################
  655. %package database-mariadb
  656. Summary: MariaDB native support for FreeSWITCH
  657. Group: System/Libraries
  658. Requires: %{name} = %{version}-%{release}
  659. Requires: mariadb-connector-c
  660. BuildRequires: mariadb-connector-c-devel
  661. %description database-mariadb
  662. MariaDB native support for FreeSWITCH.
  663. %package database-pgsql
  664. Summary: PostgreSQL native support for FreeSWITCH
  665. Group: System/Libraries
  666. Requires: %{name} = %{version}-%{release}
  667. Requires: postgresql-libs
  668. BuildRequires: postgresql-devel
  669. %description database-pgsql
  670. PostgreSQL native support for FreeSWITCH.
  671. ######################################################################################################################
  672. # FreeSWITCH Directory Modules
  673. ######################################################################################################################
  674. #%package directory-ldap
  675. #Summary: LDAP Directory support for FreeSWITCH open source telephony platform
  676. #Group: System/Libraries
  677. #Requires: %{name} = %{version}-%{release}
  678. #%description directory-ldap
  679. #LDAP Directory support for FreeSWITCH open source telephony platform.
  680. ######################################################################################################################
  681. # FreeSWITCH Endpoint Modules
  682. ######################################################################################################################
  683. %package endpoint-dingaling
  684. Summary: Generic XMPP support for FreeSWITCH open source telephony platform
  685. Group: System/Libraries
  686. Requires: %{name} = %{version}-%{release}
  687. %description endpoint-dingaling
  688. XMPP support for FreeSWITCH open source telephony platform. Allows FreeSWITCH
  689. to be used as a client for GoogleTalk or other XMPP Servers.
  690. #%package endpoint-gsmopen
  691. #Summary: Generic GSM endpoint support for FreeSWITCH open source telephony platform
  692. #Group: System/Libraries
  693. #Requires: %{name} = %{version}-%{release}
  694. #
  695. #%description endpoint-gsmopen
  696. #GSMopen is an endpoint (channel driver) that allows an SMS to be sent or
  697. #received from FreeSWITCH as well as incoming and outgoing GSM voice calls.
  698. #SMS is handled via the standard CHAT API in FreeSWITCH.
  699. #%package endpoint-h323
  700. #Summary: H.323 endpoint support for FreeSWITCH open source telephony platform
  701. #Group: System/Libraries
  702. #Requires: %{name} = %{version}-%{release}
  703. #
  704. #%description endpoint-h323
  705. #H.323 endpoint support for FreeSWITCH open source telephony platform
  706. #%package endpoint-khomp
  707. #Summary: khomp endpoint support for FreeSWITCH open source telephony platform
  708. #Group: System/Libraries
  709. #Requires: %{name} = %{version}-%{release}
  710. #
  711. #%description endpoint-khomp
  712. #Khomp hardware endpoint support for FreeSWITCH open source telephony platform.
  713. %package endpoint-portaudio
  714. Summary: PortAudio endpoint support for FreeSWITCH open source telephony platform
  715. Group: System/Libraries
  716. Requires: %{name} = %{version}-%{release}
  717. Requires: alsa-lib
  718. BuildRequires: alsa-lib-devel
  719. BuildRequires: portaudio-devel
  720. %description endpoint-portaudio
  721. PortAudio endpoint support for FreeSWITCH open source telephony platform.
  722. %package endpoint-rtmp
  723. Summary: RTPM Endpoint support for FreeSWITCH open source telephony platform
  724. Group: System/Libraries
  725. Requires: %{name} = %{version}-%{release}
  726. %description endpoint-rtmp
  727. RTMP Endpoint support for FreeSWITCH open source telephony platform. Allows FreeSWITCH
  728. to be used from a RTMP client. See http://wiki.freeswitch.org/wiki/Mod_rtmp#Flex_Client
  729. for the OpenSouce FreeSWITCH backed Client.
  730. %package endpoint-skinny
  731. Summary: Skinny/SCCP endpoint support for FreeSWITCH open source telephony platform
  732. Group: System/Libraries
  733. Requires: %{name} = %{version}-%{release}
  734. %description endpoint-skinny
  735. SCCP/Skinny support for FreeSWITCH open source telephony platform.
  736. %package endpoint-verto
  737. Summary: Verto endpoint support for FreeSWITCH open source telephony platform
  738. Group: System/Libraries
  739. Requires: %{name} = %{version}-%{release}
  740. %description endpoint-verto
  741. Verto protocol support for FreeSWITCH open source telephony platform.
  742. %package endpoint-rtc
  743. Summary: Verto endpoint support for FreeSWITCH open source telephony platform
  744. Group: System/Libraries
  745. Requires: %{name} = %{version}-%{release}
  746. %description endpoint-rtc
  747. Verto protocol support for FreeSWITCH open source telephony platform.
  748. ######################################################################################################################
  749. # FreeSWITCH Event Handler Modules
  750. ######################################################################################################################
  751. %package event-cdr-mongodb
  752. Summary: MongoDB CDR Logger for the FreeSWITCH open source telephony platform
  753. Group: System/Libraries
  754. Requires: %{name} = %{version}-%{release}
  755. BuildRequires: mongo-c-driver-devel
  756. %description event-cdr-mongodb
  757. MongoDB CDR Logger for FreeSWITCH
  758. %package event-cdr-pg-csv
  759. Summary: PostgreSQL CDR Logger for the FreeSWITCH open source telephony platform
  760. Group: System/Libraries
  761. Requires: %{name} = %{version}-%{release}
  762. Requires: postgresql-libs
  763. BuildRequires: postgresql-devel
  764. %description event-cdr-pg-csv
  765. PostgreSQL CDR Logger for FreeSWITCH.
  766. %package event-cdr-sqlite
  767. Summary: SQLite CDR Logger for the FreeSWITCH open source telephony platform
  768. Group: System/Libraries
  769. Requires: %{name} = %{version}-%{release}
  770. %description event-cdr-sqlite
  771. SQLite CDR Logger for FreeSWITCH.
  772. %package event-erlang-event
  773. Summary: Erlang Event Module for the FreeSWITCH open source telephony platform
  774. Group: System/Libraries
  775. Requires: %{name} = %{version}-%{release}
  776. Requires: erlang
  777. BuildRequires: erlang
  778. %description event-erlang-event
  779. Erlang Event Module for FreeSWITCH.
  780. %package event-format-cdr
  781. Summary: JSON and XML Logger for the FreeSWITCH open source telephony platform
  782. Group: System/Libraries
  783. Requires: %{name} = %{version}-%{release}
  784. %description event-format-cdr
  785. JSON and XML Logger for the FreeSWITCH open source telephony platform
  786. %package kazoo
  787. Summary: Kazoo Module for the FreeSWITCH open source telephony platform
  788. Group: System/Libraries
  789. Requires: %{name} = %{version}-%{release}
  790. Requires: erlang
  791. BuildRequires: erlang
  792. %description kazoo
  793. Kazoo Module for FreeSWITCH.
  794. %package event-multicast
  795. Summary: Multicast Event System for the FreeSWITCH open source telephony platform
  796. Group: System/Libraries
  797. Requires: %{name} = %{version}-%{release}
  798. %description event-multicast
  799. Multicast Event System for FreeSWITCH.
  800. #%package event-zmq
  801. #Summary: ZeroMQ Event System for the FreeSWITCH open source telephony platform
  802. #Group: System/Libraries
  803. #Requires: %{name} = %{version}-%{release}
  804. #
  805. #%description event-zmq
  806. #ZeroMQ Event System for FreeSWITCH.
  807. %package event-json-cdr
  808. Summary: JSON CDR Logger for the FreeSWITCH open source telephony platform
  809. Group: System/Libraries
  810. Requires: %{name} = %{version}-%{release}
  811. %description event-json-cdr
  812. JSON CDR Logger for FreeSWITCH.
  813. %package event-radius-cdr
  814. Summary: RADIUS Logger for the FreeSWITCH open source telephony platform
  815. Group: System/Libraries
  816. Requires: %{name} = %{version}-%{release}
  817. %description event-radius-cdr
  818. RADIUS Logger for the FreeSWITCH open source telephony platform
  819. %if %{build_mod_rayo}
  820. %package event-rayo
  821. Summary: Rayo (XMPP 3PCC) server for the FreeSWITCH open source telephony platform
  822. Group: System/Libraries
  823. Requires: %{name} = %{version}-%{release}
  824. %description event-rayo
  825. Rayo 3PCC for FreeSWITCH. http://rayo.org http://xmpp.org/extensions/xep-0327.html
  826. Rayo is an XMPP protocol extension for third-party control of telephone calls.
  827. %endif
  828. %package event-snmp
  829. Summary: SNMP stats reporter for the FreeSWITCH open source telephony platform
  830. Group: System/Libraries
  831. Requires: %{name} = %{version}-%{release}
  832. Requires: net-snmp
  833. BuildRequires: net-snmp-devel
  834. %description event-snmp
  835. SNMP stats reporter for the FreeSWITCH open source telephony platform
  836. ######################################################################################################################
  837. # FreeSWITCH Logger Modules
  838. ######################################################################################################################
  839. %package logger-graylog2
  840. Summary: GELF logger for Graylog2 and Logstash
  841. Group: System/Libraries
  842. Requires: %{name} = %{version}-%{release}
  843. %description logger-graylog2
  844. GELF logger for Graylog2 and Logstash
  845. ######################################################################################################################
  846. # FreeSWITCH Media Format Modules
  847. ######################################################################################################################
  848. %package format-local-stream
  849. Summary: Local File Streamer for the FreeSWITCH open source telephony platform
  850. Group: System/Libraries
  851. Requires: %{name} = %{version}-%{release}
  852. %description format-local-stream
  853. Local File Streamer for FreeSWITCH. It streams files from a directory and
  854. multiple channels connected to the same stream will hear the same (looped)
  855. file playback .. similar to a shoutcast stream. Useful for Music-on-hold type
  856. scenarios.
  857. %package format-native-file
  858. Summary: Native Media File support for the FreeSWITCH open source telephony platform
  859. Group: System/Libraries
  860. Requires: %{name} = %{version}-%{release}
  861. %description format-native-file
  862. The native file module is designed to make it easy to play sound files where no
  863. transcoding is necessary. The default FreeSWITCH sound files are in wav format.
  864. Generally, these require transcoding when being played to callers. However, if
  865. a native format sound file is available then FreeSWITCH can use it.
  866. %package format-portaudio-stream
  867. Summary: PortAudio Media Steam support for the FreeSWITCH open source telephony platform
  868. Group: System/Libraries
  869. Requires: %{name} = %{version}-%{release}
  870. BuildRequires: portaudio-devel
  871. %description format-portaudio-stream
  872. Portaudio Streaming interface Audio for FreeSWITCH
  873. %package format-shell-stream
  874. Summary: Implements Media Steaming from arbitrary shell commands for the FreeSWITCH open source telephony platform
  875. Group: System/Libraries
  876. Requires: %{name} = %{version}-%{release}
  877. %description format-shell-stream
  878. Mod shell stream is a FreeSWITCH module to allow you to stream audio from an
  879. arbitrary shell command. You could use it to read audio from a database, from
  880. a soundcard, etc.
  881. %package format-mod-shout
  882. Summary: Implements Media Steaming from arbitrary shell commands for the FreeSWITCH open source telephony platform
  883. Group: System/Libraries
  884. Requires: %{name} = %{version}-%{release}
  885. Requires: libshout >= 2.2.2
  886. Requires: libmpg123 >= 1.20.1
  887. Requires: lame
  888. BuildRequires: libshout-devel >= 2.2.2
  889. BuildRequires: libmpg123-devel >= 1.20.1
  890. BuildRequires: lame-devel
  891. %description format-mod-shout
  892. Mod Shout is a FreeSWITCH module to allow you to stream audio from MP3s or a i
  893. shoutcast stream.
  894. %package format-opusfile
  895. Summary: Plays Opus encoded files
  896. Group: System/Libraries
  897. Requires: %{name} = %{version}-%{release}
  898. Requires: opusfile >= 0.5
  899. BuildRequires: opusfile-devel >= 0.5
  900. %description format-opusfile
  901. Mod Opusfile is a FreeSWITCH module to allow you to play Opus encoded files
  902. %if %{build_mod_ssml}
  903. %package format-ssml
  904. Summary: Adds Speech Synthesis Markup Language (SSML) parser format for the FreeSWITCH open source telephony platform
  905. Group: System/Libraries
  906. Requires: %{name} = %{version}-%{release}
  907. %description format-ssml
  908. mod_ssml is a FreeSWITCH module that renders SSML into audio. This module requires a text-to-speech module for speech synthesis.
  909. %endif
  910. %package format-tone-stream
  911. Summary: Implements TGML Tone Generation for the FreeSWITCH open source telephony platform
  912. Group: System/Libraries
  913. Requires: %{name} = %{version}-%{release}
  914. %description format-tone-stream
  915. Implements TGML Tone Generation for the FreeSWITCH open source telephony platform
  916. ######################################################################################################################
  917. # FreeSWITCH Programming Language Modules
  918. ######################################################################################################################
  919. %package lua
  920. Summary: Lua support for the FreeSWITCH open source telephony platform
  921. Group: System/Libraries
  922. Requires: %{name} = %{version}-%{release}
  923. BuildRequires: lua-devel
  924. %description lua
  925. %package perl
  926. Summary: Perl support for the FreeSWITCH open source telephony platform
  927. Group: System/Libraries
  928. Requires: %{name} = %{version}-%{release}
  929. Requires: perl
  930. BuildRequires: perl-devel
  931. BuildRequires: perl-ExtUtils-Embed
  932. %description perl
  933. %package python
  934. Summary: Python support for the FreeSWITCH open source telephony platform
  935. Group: System/Libraries
  936. Requires: %{name} = %{version}-%{release}
  937. Requires: python
  938. BuildRequires: python-devel
  939. %description python
  940. %if %{build_mod_v8}
  941. %package v8
  942. Summary: JavaScript support for the FreeSWITCH open source telephony platform, using Google V8 JavaScript engine
  943. Group: System/Libraries
  944. Requires: %{name} = %{version}-%{release}
  945. %description v8
  946. %endif
  947. ######################################################################################################################
  948. # FreeSWITCH Say Modules
  949. ######################################################################################################################
  950. %package lang-en
  951. Summary: Provides english language dependent modules and speech config for the FreeSWITCH Open Source telephone platform.
  952. Group: System/Libraries
  953. Requires: %{name} = %{version}-%{release}
  954. %description lang-en
  955. English language phrases module and directory structure for say module and voicemail
  956. %package lang-ru
  957. Summary: Provides russian language dependent modules and speech config for the FreeSWITCH Open Source telephone platform.
  958. Group: System/Libraries
  959. Requires: %{name} = %{version}-%{release}
  960. %description lang-ru
  961. Russian language phrases module and directory structure for say module and voicemail
  962. %package lang-fr
  963. Summary: Provides french language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
  964. Group: System/Libraries
  965. Requires: %{name} = %{version}-%{release}
  966. %description lang-fr
  967. French language phrases module and directory structure for say module and voicemail
  968. %package lang-de
  969. Summary: Provides german language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
  970. Group: System/Libraries
  971. Requires: %{name} = %{version}-%{release}
  972. %description lang-de
  973. German language phrases module and directory structure for say module and voicemail
  974. %package lang-he
  975. Summary: Provides hebrew language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
  976. Group: System/Libraries
  977. Requires: %{name} = %{version}-%{release}
  978. %description lang-he
  979. Hebrew language phrases module and directory structure for say module and voicemail
  980. %package lang-es
  981. Summary: Provides Spanish language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
  982. Group: System/Libraries
  983. Requires: %{name} = %{version}-%{release}
  984. %description lang-es
  985. Spanish language phrases module and directory structure for say module and voicemail
  986. %package lang-pt
  987. Summary: Provides Portuguese language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
  988. Group: System/Libraries
  989. Requires: %{name} = %{version}-%{release}
  990. %description lang-pt
  991. Portuguese language phrases module and directory structure for say module and voicemail
  992. %package lang-sv
  993. Summary: Provides Swedish language dependend modules and speech config for the FreeSWITCH Open Source telephone platform.
  994. Group: System/Libraries
  995. Requires: %{name} = %{version}-%{release}
  996. %description lang-sv
  997. Swedish language phrases module and directory structure for say module and voicemail
  998. ######################################################################################################################
  999. # FreeSWITCH Timer Modules
  1000. ######################################################################################################################
  1001. %package timer-posix
  1002. Summary: Provides posix timer for the FreeSWITCH Open Source telephone platform.
  1003. Group: System/Libraries
  1004. Requires: %{name} = %{version}-%{release}
  1005. %description timer-posix
  1006. Provides posix timer for the FreeSWITCH Open Source telephone platform.
  1007. %if %{build_timerfd}
  1008. %package timer-timerfd
  1009. Summary: Provides Linux Timerfs based timer for the FreeSWITCH Open Source telephone platform.
  1010. Group: System/Libraries
  1011. Requires: %{name} = %{version}-%{release}
  1012. %description timer-timerfd
  1013. Provides Linux Timerfs based timer for the FreeSWITCH Open Source telephone
  1014. platform.
  1015. %endif
  1016. ######################################################################################################################
  1017. # FreeSWITCH XML INT Modules
  1018. ######################################################################################################################
  1019. %package xml-cdr
  1020. Summary: Provides XML CDR interface for the FreeSWITCH Open Source telephone platform.
  1021. Group: System/Libraries
  1022. Requires: %{name} = %{version}-%{release}
  1023. %description xml-cdr
  1024. Provides XML CDR interface for the FreeSWITCH Open Source telephone platform.
  1025. %package xml-curl
  1026. Summary: Provides XML Curl interface for the FreeSWITCH Open Source telephone platform.
  1027. Group: System/Libraries
  1028. Requires: %{name} = %{version}-%{release}
  1029. %description xml-curl
  1030. Provides XML Curl interface for the FreeSWITCH Open Source telephone platform.
  1031. Pull dynamic XML configs for FreeSWITCH over HTTP.
  1032. %package xml-rpc
  1033. Summary: Provides XML-RPC interface for the FreeSWITCH Open Source telephone platform.
  1034. Group: System/Libraries
  1035. Requires: %{name} = %{version}-%{release}
  1036. %description xml-rpc
  1037. Provides XML-RPC interface for the FreeSWITCH Open Source telephone platform.
  1038. ######################################################################################################################
  1039. # FreeSWITCH ESL language modules
  1040. ######################################################################################################################
  1041. %package -n perl-ESL
  1042. Summary: The Perl ESL module allows for native interaction with FreeSWITCH over the event socket interface.
  1043. Group: System Environment/Libraries
  1044. %description -n perl-ESL
  1045. The Perl ESL module allows for native interaction with FreeSWITCH over the event socket interface.
  1046. %package -n python-ESL
  1047. Summary: The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface.
  1048. Group: System Environment/Libraries
  1049. Requires: python
  1050. BuildRequires: python-devel
  1051. %description -n python-ESL
  1052. The Python ESL module allows for native interaction with FreeSWITCH over the event socket interface.
  1053. ######################################################################################################################
  1054. # FreeSWITCH basic config module
  1055. ######################################################################################################################
  1056. %package config-vanilla
  1057. Summary: Basic vanilla config set for the FreeSWITCH Open Source telephone platform.
  1058. Group: System/Libraries
  1059. Requires: %{name} = %{version}-%{release}
  1060. Requires: freeswitch-application-abstraction
  1061. Requires: freeswitch-application-avmd
  1062. Requires: freeswitch-application-blacklist
  1063. Requires: freeswitch-application-callcenter
  1064. Requires: freeswitch-application-cidlookup
  1065. Requires: freeswitch-application-conference
  1066. Requires: freeswitch-application-curl
  1067. Requires: freeswitch-application-db
  1068. Requires: freeswitch-application-directory
  1069. Requires: freeswitch-application-distributor
  1070. Requires: freeswitch-application-easyroute
  1071. Requires: freeswitch-application-enum
  1072. Requires: freeswitch-application-esf
  1073. Requires: freeswitch-application-expr
  1074. Requires: freeswitch-application-fifo
  1075. Requires: freeswitch-application-fsk
  1076. Requires: freeswitch-application-fsv
  1077. Requires: freeswitch-application-hash
  1078. Requires: freeswitch-application-httapi
  1079. Requires: freeswitch-application-http-cache
  1080. Requires: freeswitch-application-lcr
  1081. Requires: freeswitch-application-limit
  1082. Requires: freeswitch-application-memcache
  1083. Requires: freeswitch-application-nibblebill
  1084. Requires: freeswitch-application-redis
  1085. Requires: freeswitch-application-rss
  1086. Requires: freeswitch-application-signalwire
  1087. Requires: freeswitch-application-sms
  1088. Requires: freeswitch-application-snapshot
  1089. Requires: freeswitch-application-snom
  1090. Requires: freeswitch-application-soundtouch
  1091. Requires: freeswitch-application-spy
  1092. Requires: freeswitch-application-stress
  1093. Requires: freeswitch-application-valet_parking
  1094. Requires: freeswitch-application-video_filter
  1095. Requires: freeswitch-application-voicemail
  1096. Requires: freeswitch-application-voicemail-ivr
  1097. Requires: freeswitch-codec-passthru-amr
  1098. Requires: freeswitch-codec-bv
  1099. Requires: freeswitch-codec-passthru-g723_1
  1100. Requires: freeswitch-codec-passthru-g729
  1101. Requires: freeswitch-codec-h26x
  1102. Requires: freeswitch-codec-ilbc
  1103. Requires: freeswitch-codec-siren
  1104. Requires: freeswitch-database-pgsql
  1105. Requires: freeswitch-format-local-stream
  1106. Requires: freeswitch-format-native-file
  1107. Requires: freeswitch-format-portaudio-stream
  1108. Requires: freeswitch-format-tone-stream
  1109. Requires: freeswitch-lang-en
  1110. %description config-vanilla
  1111. Basic vanilla config set for the FreeSWITCH Open Source telephone platform.
  1112. ######################################################################################################################
  1113. #
  1114. # Unpack and prepare Source archives, copy stuff around etc ..
  1115. #
  1116. ######################################################################################################################
  1117. %prep
  1118. %setup -b0 -q -n %{name}-%{nonparsedversion}
  1119. cp %{SOURCE1} libs/
  1120. cp %{SOURCE2} libs/
  1121. cp %{SOURCE3} libs/
  1122. cp %{SOURCE4} libs/
  1123. #Hotfix for redefined %_sysconfdir
  1124. sed -ie 's:confdir="${sysconfdir}/freeswitch":confdir="$sysconfdir":' ./configure.ac
  1125. ######################################################################################################################
  1126. #
  1127. # Start the Build process
  1128. #
  1129. ######################################################################################################################
  1130. %build
  1131. %ifos linux
  1132. %if 0%{?suse_version} > 1000 && 0%{?suse_version} < 1030
  1133. export CFLAGS="$CFLAGS -fstack-protector"
  1134. %endif
  1135. %if 0%{?fedora_version} >= 8
  1136. export QA_RPATHS=$[ 0x0001|0x0002 ]
  1137. %endif
  1138. %endif
  1139. ######################################################################################################################
  1140. #
  1141. # Here the modules that will be build get defined
  1142. #
  1143. ######################################################################################################################
  1144. ######################################################################################################################
  1145. #
  1146. # Application Modules
  1147. #
  1148. ######################################################################################################################
  1149. APPLICATION_MODULES_AC="applications/mod_abstraction applications/mod_avmd applications/mod_blacklist \
  1150. applications/mod_callcenter applications/mod_cidlookup \
  1151. applications/mod_commands applications/mod_conference applications/mod_curl"
  1152. APPLICATION_MODULES_DE="applications/mod_db applications/mod_directory applications/mod_distributor \
  1153. applications/mod_dptools applications/mod_easyroute applications/mod_enum applications/mod_esf \
  1154. applications/mod_expr "
  1155. %if %{build_mod_esl}
  1156. APPLICATION_MODULES_DE+="applications/mod_esl"
  1157. %endif
  1158. APPLICATION_MODULES_FR="applications/mod_fifo applications/mod_fsk applications/mod_fsv applications/mod_hash \
  1159. applications/mod_httapi applications/mod_http_cache applications/mod_lcr applications/mod_limit \
  1160. applications/mod_memcache applications/mod_mongo applications/mod_nibblebill applications/mod_rad_auth \
  1161. applications/mod_redis applications/mod_rss "
  1162. APPLICATION_MODULES_SZ="applications/mod_signalwire applications/mod_sms applications/mod_snapshot applications/mod_snom applications/mod_soundtouch \
  1163. applications/mod_spandsp applications/mod_spy applications/mod_stress \
  1164. applications/mod_valet_parking applications/mod_translate applications/mod_voicemail \
  1165. applications/mod_voicemail_ivr applications/mod_video_filter"
  1166. APPLICATIONS_MODULES="$APPLICATION_MODULES_AC $APPLICATION_MODULES_DE $APPLICATION_MODULES_FR $APPLICATION_MODULES_SZ"
  1167. ######################################################################################################################
  1168. #
  1169. # Automatic Speech Recognition and Text To Speech Modules
  1170. #
  1171. ######################################################################################################################
  1172. ASR_TTS_MODULES="asr_tts/mod_flite asr_tts/mod_pocketsphinx asr_tts/mod_tts_commandline asr_tts/mod_unimrcp"
  1173. ######################################################################################################################
  1174. #
  1175. # Codecs
  1176. #
  1177. ######################################################################################################################
  1178. CODECS_MODULES="codecs/mod_amr codecs/mod_amrwb codecs/mod_bv codecs/mod_codec2 codecs/mod_g723_1 \
  1179. codecs/mod_g729 codecs/mod_h26x codecs/mod_ilbc codecs/mod_isac codecs/mod_mp4v codecs/mod_opus codecs/mod_silk \
  1180. codecs/mod_siren codecs/mod_theora"
  1181. #
  1182. %if %{build_sng_tc}
  1183. CODECS_MODULES+="codecs/mod_sangoma_codec"
  1184. %endif
  1185. ######################################################################################################################
  1186. #
  1187. # Database Modules
  1188. #
  1189. ######################################################################################################################
  1190. DATABASES_MODULES="databases/mod_mariadb databases/mod_pgsql"
  1191. ######################################################################################################################
  1192. #
  1193. # Dialplan Modules
  1194. #
  1195. ######################################################################################################################
  1196. DIALPLANS_MODULES="dialplans/mod_dialplan_directory dialplans/mod_dialplan_xml"
  1197. #DISABLED DIALPLANS dialplans/mod_dialplan_asterisk
  1198. ######################################################################################################################
  1199. #
  1200. # Directory Modules
  1201. #
  1202. ######################################################################################################################
  1203. DIRECTORIES_MODULES=""
  1204. ######################################################################################################################
  1205. #
  1206. # Endpoints
  1207. #
  1208. ######################################################################################################################
  1209. ENDPOINTS_MODULES="endpoints/mod_dingaling \
  1210. endpoints/mod_loopback endpoints/mod_portaudio endpoints/mod_rtmp \
  1211. endpoints/mod_skinny endpoints/mod_verto endpoints/mod_rtc endpoints/mod_sofia"
  1212. ## DISABLED MODULES DUE TO BUILD ISSUES endpoints/mod_gsmopen endpoints/mod_h323 endpoints/mod_khomp
  1213. ######################################################################################################################
  1214. #
  1215. # Event Handlers
  1216. #
  1217. ######################################################################################################################
  1218. EVENT_HANDLERS_MODULES="event_handlers/mod_cdr_csv event_handlers/mod_cdr_pg_csv event_handlers/mod_cdr_sqlite \
  1219. event_handlers/mod_cdr_mongodb event_handlers/mod_format_cdr event_handlers/mod_erlang_event event_handlers/mod_event_multicast \
  1220. event_handlers/mod_event_socket event_handlers/mod_json_cdr event_handlers/mod_kazoo event_handlers/mod_radius_cdr \
  1221. event_handlers/mod_snmp"
  1222. %if %{build_mod_rayo}
  1223. EVENT_HANDLERS_MODULES+=" event_handlers/mod_rayo"
  1224. %endif
  1225. #### BUILD ISSUES NET RESOLVED FOR RELEASE event_handlers/mod_event_zmq
  1226. ######################################################################################################################
  1227. #
  1228. # File and Audio Format Handlers
  1229. #
  1230. ######################################################################################################################
  1231. FORMATS_MODULES="formats/mod_local_stream formats/mod_native_file formats/mod_opusfile formats/mod_portaudio_stream \
  1232. formats/mod_shell_stream formats/mod_shout formats/mod_sndfile formats/mod_tone_stream"
  1233. %if %{build_mod_ssml}
  1234. FORMATS_MODULES+=" formats/mod_ssml"
  1235. %endif
  1236. ######################################################################################################################
  1237. #
  1238. # Embedded Languages
  1239. #
  1240. ######################################################################################################################
  1241. LANGUAGES_MODULES="languages/mod_lua languages/mod_perl languages/mod_python "
  1242. %if %{build_mod_v8}
  1243. LANGUAGES_MODULES+="languages/mod_v8"
  1244. %endif
  1245. ######################################################################################################################
  1246. #
  1247. # Logging Modules
  1248. #
  1249. ######################################################################################################################
  1250. LOGGERS_MODULES="loggers/mod_console loggers/mod_graylog2 loggers/mod_logfile loggers/mod_syslog"
  1251. ######################################################################################################################
  1252. #
  1253. # Phrase engine language modules
  1254. #
  1255. ######################################################################################################################
  1256. 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"
  1257. ######################################################################################################################
  1258. #
  1259. # Timers
  1260. #
  1261. ######################################################################################################################
  1262. TIMERS_MODULES="timers/mod_posix_timer "
  1263. %if %{build_timerfd}
  1264. TIMERS_MODULES+="timers/mod_timerfd"
  1265. %endif
  1266. ######################################################################################################################
  1267. #
  1268. # XML Modules
  1269. #
  1270. ######################################################################################################################
  1271. XML_INT_MODULES="xml_int/mod_xml_cdr xml_int/mod_xml_curl xml_int/mod_xml_rpc"
  1272. ######################################################################################################################
  1273. #
  1274. # Create one environment variable out of all the module defs
  1275. #
  1276. ######################################################################################################################
  1277. MYMODULES="$APPLICATIONS_MODULES $CODECS_MODULES $DATABASES_MODULES $DIALPLANS_MODULES $DIRECTORIES_MODULES \
  1278. $ENDPOINTS_MODULES $ASR_TTS_MODULES $EVENT_HANDLERS_MODULES $FORMATS_MODULES $LANGUAGES_MODULES $LOGGERS_MODULES \
  1279. $SAY_MODULES $TIMERS_MODULES $XML_INT_MODULES"
  1280. ######################################################################################################################
  1281. #
  1282. # Create Modules build list and set variables
  1283. #
  1284. ######################################################################################################################
  1285. export MODULES=$MYMODULES
  1286. test ! -f modules.conf || rm -f modules.conf
  1287. touch modules.conf
  1288. for i in $MODULES; do echo $i >> modules.conf; done
  1289. export VERBOSE=yes
  1290. export DESTDIR=%{buildroot}/
  1291. export PKG_CONFIG_PATH=/usr/bin/pkg-config:$PKG_CONFIG_PATH
  1292. export ACLOCAL_FLAGS="-I /usr/share/aclocal"
  1293. %if 0%{?rhel} == 7
  1294. # to build mod_mariadb we need gcc >= 4.9 (more details GH #1046)
  1295. export CFLAGS="$CFLAGS -Wno-error=expansion-to-defined"
  1296. . /opt/rh/devtoolset-9/enable
  1297. %endif
  1298. %if 0%{?rhel} == 8
  1299. # we want use fresh gcc on RHEL 8 based dists
  1300. . /opt/rh/gcc-toolset-9/enable
  1301. %endif
  1302. ######################################################################################################################
  1303. #
  1304. # Bootstrap, Configure and Build the whole enchilada
  1305. #
  1306. ######################################################################################################################
  1307. if test -f bootstrap.sh
  1308. then
  1309. ./bootstrap.sh
  1310. else
  1311. ./rebootstrap.sh
  1312. fi
  1313. autoreconf --force --install
  1314. %configure -C \
  1315. --prefix=%{PREFIX} \
  1316. --exec-prefix=%{EXECPREFIX} \
  1317. --bindir=%{BINDIR} \
  1318. --sbindir=%{SBINDIR} \
  1319. --libexecdir=%{LIBEXECDIR} \
  1320. --sharedstatedir=%{SHARESTATEDIR} \
  1321. --localstatedir=%{_localstatedir} \
  1322. --libdir=%{LIBDIR} \
  1323. --includedir=%{INCLUDEDIR} \
  1324. --datadir=%{DATADIR} \
  1325. --infodir=%{INFODIR} \
  1326. --mandir=%{MANDIR} \
  1327. --with-logfiledir=%{LOGFILEDIR} \
  1328. --with-modinstdir=%{MODINSTDIR} \
  1329. --with-rundir=%{RUNDIR} \
  1330. --with-dbdir=%{DBDIR} \
  1331. --with-htdocsdir=%{HTDOCSDIR} \
  1332. --with-soundsdir=%{SOUNDSDIR} \
  1333. --enable-core-odbc-support \
  1334. --enable-core-libedit-support \
  1335. --with-grammardir=%{GRAMMARDIR} \
  1336. --with-scriptdir=%{SCRIPTDIR} \
  1337. --with-recordingsdir=%{RECORDINGSDIR} \
  1338. --with-pkgconfigdir=%{PKGCONFIGDIR} \
  1339. --with-odbc \
  1340. --with-erlang \
  1341. --with-openssl \
  1342. --enable-zrtp \
  1343. %{?configure_options}
  1344. unset MODULES
  1345. %{__make}
  1346. cd libs/esl
  1347. %{__make} pymod
  1348. %{__make} perlmod
  1349. ######################################################################################################################
  1350. #
  1351. # Install it and create some required dirs and links
  1352. #
  1353. ######################################################################################################################
  1354. %install
  1355. %if 0%{?rhel} == 7
  1356. # to build mod_mariadb we need gcc >= 4.9
  1357. . /opt/rh/devtoolset-9/enable
  1358. %endif
  1359. %if 0%{?rhel} == 8
  1360. # we want use fresh gcc on RHEL 8 based dists
  1361. . /opt/rh/gcc-toolset-9/enable
  1362. %endif
  1363. %{__make} DESTDIR=%{buildroot} install
  1364. # Create a log dir
  1365. %{__mkdir} -p %{buildroot}%{prefix}/log
  1366. %{__mkdir} -p %{buildroot}%{logfiledir}
  1367. %{__mkdir} -p %{buildroot}%{runtimedir}
  1368. %{__mkdir} -p %{buildroot}%{_localstatedir}/cache/freeswitch
  1369. #install the esl stuff
  1370. cd libs/esl
  1371. %{__make} DESTDIR=%{buildroot} pymod-install
  1372. %{__make} DESTDIR=%{buildroot} perlmod-install
  1373. %if %{build_py26_esl}
  1374. #install esl for python 26
  1375. %{__make} clean
  1376. sed -i s/python\ /python26\ /g python/Makefile
  1377. %{__make} pymod
  1378. %{__mkdir} -p %{buildroot}/usr/lib/python2.6/site-packages
  1379. %{__make} DESTDIR=%{buildroot} pymod-install
  1380. %endif
  1381. cd ../..
  1382. %ifos linux
  1383. # Install init files
  1384. # On SuSE:
  1385. %if 0%{?suse_version} > 100
  1386. %{__install} -D -m 744 build/freeswitch.init.suse %{buildroot}/etc/rc.d/init.d/freeswitch
  1387. %else
  1388. %if "%{?_unitdir}" == ""
  1389. # On RedHat like
  1390. %{__install} -D -m 0755 build/freeswitch.init.redhat %{buildroot}/etc/rc.d/init.d/freeswitch
  1391. %else
  1392. # systemd
  1393. %{__install} -Dpm 0644 build/freeswitch.service %{buildroot}%{_unitdir}/freeswitch.service
  1394. %{__install} -Dpm 0644 build/freeswitch-tmpfiles.conf %{buildroot}%{_tmpfilesdir}/freeswitch.conf
  1395. %endif
  1396. %endif
  1397. # On SuSE make /usr/sbin/rcfreeswitch a link to /etc/rc.d/init.d/freeswitch
  1398. %if 0%{?suse_version} > 100
  1399. %{__mkdir} -p %{buildroot}/usr/sbin
  1400. %{__ln_s} -f /etc/rc.d/init.d/freeswitch %{buildroot}/usr/sbin/rcfreeswitch
  1401. %endif
  1402. # Add the sysconfiguration file
  1403. %{__install} -D -m 744 build/freeswitch.sysconfig %{buildroot}/etc/sysconfig/freeswitch
  1404. # Add monit file
  1405. %{__install} -D -m 644 build/freeswitch.monitrc %{buildroot}/etc/monit.d/freeswitch.monitrc
  1406. %endif
  1407. ######################################################################################################################
  1408. #
  1409. # Remove files that are not wanted if they exist
  1410. #
  1411. ######################################################################################################################
  1412. %if %{build_sng_ss7}
  1413. #do not delete a thing
  1414. %else
  1415. %{__rm} -f %{buildroot}/%{MODINSTDIR}/ftmod_sangoma_ss7*
  1416. %endif
  1417. %if %{build_sng_isdn}
  1418. #do not delete a thing
  1419. %else
  1420. %{__rm} -f %{buildroot}/%{MODINSTDIR}/ftmod_sangoma_isdn*
  1421. %endif
  1422. ######################################################################################################################
  1423. #
  1424. # Add a freeswitch user with group daemon that will own the whole enchilada
  1425. #
  1426. ######################################################################################################################
  1427. %pre
  1428. %ifos linux
  1429. if ! /usr/bin/id freeswitch &>/dev/null; then
  1430. /usr/sbin/useradd -r -g daemon -s /bin/false -c "The FreeSWITCH Open Source Voice Platform" -d %{LOCALSTATEDIR} freeswitch || \
  1431. %logmsg "Unexpected error adding user \"freeswitch\". Aborting installation."
  1432. fi
  1433. %endif
  1434. %post
  1435. %{?run_ldconfig:%run_ldconfig}
  1436. # Make FHS2.0 happy
  1437. # %{__mkdir} -p /etc/opt
  1438. # %{__ln_s} -f %{sysconfdir} /etc%{prefix}
  1439. chown freeswitch:daemon /var/log/freeswitch /var/run/freeswitch
  1440. %if "%{?_unitdir}" == ""
  1441. chkconfig --add freeswitch
  1442. %else
  1443. %tmpfiles_create freeswitch
  1444. /usr/bin/systemctl -q enable freeswitch.service
  1445. %endif
  1446. %preun
  1447. %{?systemd_preun freeswitch.service}
  1448. %postun
  1449. %{?systemd_postun freeswitch.service}
  1450. ######################################################################################################################
  1451. #
  1452. # On uninstallation get rid of the freeswitch user
  1453. #
  1454. ######################################################################################################################
  1455. %{?run_ldconfig:%run_ldconfig}
  1456. if [ $1 -eq 0 ]; then
  1457. userdel freeswitch || %logmsg "User \"freeswitch\" could not be deleted."
  1458. fi
  1459. %clean
  1460. %{__rm} -rf %{buildroot}
  1461. %files
  1462. ######################################################################################################################
  1463. #
  1464. # What to install where ... first set default permissions
  1465. #
  1466. ######################################################################################################################
  1467. %defattr(-,root,root)
  1468. ######################################################################################################################
  1469. #
  1470. # Directories
  1471. #
  1472. ######################################################################################################################
  1473. #
  1474. #################################### Basic Directory Structure #######################################################
  1475. #
  1476. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}
  1477. %dir %attr(0750, freeswitch, daemon) %{LOCALSTATEDIR}
  1478. %dir %attr(0750, freeswitch, daemon) %{LOCALSTATEDIR}/images
  1479. %dir %attr(0750, freeswitch, daemon) %{DBDIR}
  1480. %dir %attr(0755, -, -) %{GRAMMARDIR}
  1481. %dir %attr(0755, -, -) %{HTDOCSDIR}
  1482. %dir %attr(0750, freeswitch, daemon) %{logfiledir}
  1483. %dir %attr(0750, freeswitch, daemon) %{runtimedir}
  1484. %dir %attr(0755, -, -) %{SCRIPTDIR}
  1485. #
  1486. #################################### Config Directory Structure #######################################################
  1487. #
  1488. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs
  1489. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/dialplan
  1490. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/dialplan/default
  1491. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/dialplan/public
  1492. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/dialplan/skinny-patterns
  1493. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/directory
  1494. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/directory/default
  1495. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/jingle_profiles
  1496. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang
  1497. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/mrcp_profiles
  1498. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/sip_profiles
  1499. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/sip_profiles/external
  1500. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/sip_profiles/external-ipv6
  1501. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/skinny_profiles
  1502. #
  1503. #################################### Grammar Directory Structure #####################################################
  1504. #
  1505. %dir %attr(0755, -, -) %{GRAMMARDIR}/model
  1506. %dir %attr(0755, -, -) %{GRAMMARDIR}/model/communicator
  1507. ######################################################################################################################
  1508. #
  1509. # Other Files
  1510. #
  1511. ######################################################################################################################
  1512. %config(noreplace) %attr(0644,-,-) %{HTDOCSDIR}/*
  1513. %ifos linux
  1514. %if "%{?_unitdir}" == ""
  1515. /etc/rc.d/init.d/freeswitch
  1516. %else
  1517. %{_unitdir}/freeswitch.service
  1518. %{_tmpfilesdir}/freeswitch.conf
  1519. %endif
  1520. %config(noreplace) /etc/sysconfig/freeswitch
  1521. %if 0%{?suse_version} > 100
  1522. /usr/sbin/rcfreeswitch
  1523. %endif
  1524. %endif
  1525. %ifos linux
  1526. %dir %attr(0750,-,-) /etc/monit.d
  1527. %config(noreplace) %attr(0644,-,-) /etc/monit.d/freeswitch.monitrc
  1528. %endif
  1529. %{LOCALSTATEDIR}/images/*
  1530. ######################################################################################################################
  1531. #
  1532. # Binaries
  1533. #
  1534. ######################################################################################################################
  1535. %attr(0755,-,-) %{prefix}/bin/*
  1536. %{LIBDIR}/libfreeswitch*.so*
  1537. ######################################################################################################################
  1538. #
  1539. # Modules in Alphabetical Order, please keep them that way..
  1540. #
  1541. ######################################################################################################################
  1542. %{MODINSTDIR}/mod_cdr_csv.so*
  1543. %{MODINSTDIR}/mod_console.so*
  1544. %{MODINSTDIR}/mod_commands.so*
  1545. %{MODINSTDIR}/mod_dialplan_directory.so*
  1546. %{MODINSTDIR}/mod_dialplan_xml.so*
  1547. %{MODINSTDIR}/mod_dptools.so*
  1548. %{MODINSTDIR}/mod_event_socket.so*
  1549. %{MODINSTDIR}/mod_logfile.so*
  1550. %{MODINSTDIR}/mod_loopback.so*
  1551. %{MODINSTDIR}/mod_native_file.so*
  1552. %{MODINSTDIR}/mod_sndfile.so*
  1553. %{MODINSTDIR}/mod_sofia.so*
  1554. %{MODINSTDIR}/mod_spandsp.so*
  1555. %{MODINSTDIR}/mod_syslog.so*
  1556. %{MODINSTDIR}/mod_tone_stream.so*
  1557. %{MODINSTDIR}/mod_xml_rpc.so*
  1558. ######################################################################################################################
  1559. #
  1560. # Package for the developer
  1561. #
  1562. ######################################################################################################################
  1563. %files devel
  1564. %{LIBDIR}/*.a
  1565. %{LIBDIR}/*.la
  1566. %{PKGCONFIGDIR}/*
  1567. %{MODINSTDIR}/*.*a
  1568. %{INCLUDEDIR}/*.h
  1569. %{INCLUDEDIR}/test/*.h
  1570. ######################################################################################################################
  1571. # Vanilla Config Files
  1572. ######################################################################################################################
  1573. %files config-vanilla
  1574. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/*.tpl
  1575. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/*.ttml
  1576. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/*.xml
  1577. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/extensions.conf
  1578. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/mime.types
  1579. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/abstraction.conf.xml
  1580. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/acl.conf.xml
  1581. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/amr.conf.xml
  1582. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/amrwb.conf.xml
  1583. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/alsa.conf.xml
  1584. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/amqp.conf.xml
  1585. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/av.conf.xml
  1586. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/avmd.conf.xml
  1587. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/blacklist.conf.xml
  1588. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/callcenter.conf.xml
  1589. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cdr_csv.conf.xml
  1590. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cdr_mongodb.conf.xml
  1591. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cdr_pg_csv.conf.xml
  1592. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cdr_sqlite.conf.xml
  1593. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cepstral.conf.xml
  1594. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cidlookup.conf.xml
  1595. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/conference.conf.xml
  1596. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/conference_layouts.conf.xml
  1597. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/console.conf.xml
  1598. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/curl.conf.xml
  1599. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/db.conf.xml
  1600. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/dialplan_directory.conf.xml
  1601. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/dingaling.conf.xml
  1602. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/directory.conf.xml
  1603. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/distributor.conf.xml
  1604. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/easyroute.conf.xml
  1605. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/enum.conf.xml
  1606. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/erlang_event.conf.xml
  1607. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/event_multicast.conf.xml
  1608. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/event_socket.conf.xml
  1609. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/fax.conf.xml
  1610. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/fifo.conf.xml
  1611. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/format_cdr.conf.xml
  1612. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/graylog2.conf.xml
  1613. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/hash.conf.xml
  1614. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/hiredis.conf.xml
  1615. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/httapi.conf.xml
  1616. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/http_cache.conf.xml
  1617. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/ivr.conf.xml
  1618. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/java.conf.xml
  1619. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/kazoo.conf.xml
  1620. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/lcr.conf.xml
  1621. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/local_stream.conf.xml
  1622. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/logfile.conf.xml
  1623. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/memcache.conf.xml
  1624. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/modules.conf.xml
  1625. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/mongo.conf.xml
  1626. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/msrp.conf.xml
  1627. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/nibblebill.conf.xml
  1628. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/opal.conf.xml
  1629. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/oreka.conf.xml
  1630. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/osp.conf.xml
  1631. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/pocketsphinx.conf.xml
  1632. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/portaudio.conf.xml
  1633. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/post_load_modules.conf.xml
  1634. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/pre_load_modules.conf.xml
  1635. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/presence_map.conf.xml
  1636. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/redis.conf.xml
  1637. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/rss.conf.xml
  1638. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/rtmp.conf.xml
  1639. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/sangoma_codec.conf.xml
  1640. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/shout.conf.xml
  1641. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/skinny.conf.xml
  1642. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/smpp.conf.xml
  1643. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/sms_flowroute.conf.xml
  1644. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/sndfile.conf.xml
  1645. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/sofia.conf.xml
  1646. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/spandsp.conf.xml
  1647. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/switch.conf.xml
  1648. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/syslog.conf.xml
  1649. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/timezones.conf.xml
  1650. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/translate.conf.xml
  1651. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/tts_commandline.conf.xml
  1652. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/unicall.conf.xml
  1653. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/unimrcp.conf.xml
  1654. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/verto.conf.xml
  1655. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/voicemail.conf.xml
  1656. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/voicemail_ivr.conf.xml
  1657. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/vpx.conf.xml
  1658. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/xml_cdr.conf.xml
  1659. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/xml_curl.conf.xml
  1660. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/xml_rpc.conf.xml
  1661. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/xml_scgi.conf.xml
  1662. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/zeroconf.conf.xml
  1663. ######################################################################################################################
  1664. # Chatplans
  1665. ######################################################################################################################
  1666. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/chatplan/default.xml
  1667. ######################################################################################################################
  1668. # Dialplans
  1669. ######################################################################################################################
  1670. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/dialplan/*.xml
  1671. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/dialplan/default/*.xml
  1672. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/dialplan/public/*.xml
  1673. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/dialplan/skinny-patterns/*.xml
  1674. ######################################################################################################################
  1675. # Fonts
  1676. ######################################################################################################################
  1677. %config(noreplace) %attr(0640, freeswitch, daemon) %{_datadir}/freeswitch/fonts/*.ttf
  1678. %config(noreplace) %attr(0640, freeswitch, daemon) %{_datadir}/freeswitch/fonts/OFL.txt
  1679. %config(noreplace) %attr(0640, freeswitch, daemon) %{_datadir}/freeswitch/fonts/README.fonts
  1680. ######################################################################################################################
  1681. # User Directories
  1682. ######################################################################################################################
  1683. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/directory/*.xml
  1684. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/directory/default/*
  1685. ######################################################################################################################
  1686. # IVR Menus
  1687. ######################################################################################################################
  1688. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/ivr_menus/*.xml
  1689. ######################################################################################################################
  1690. # Sip Profiles
  1691. ######################################################################################################################
  1692. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/sip_profiles/*.xml
  1693. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/sip_profiles/external/*.xml
  1694. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/sip_profiles/external-ipv6/*.xml
  1695. ######################################################################################################################
  1696. # Other Protocol Profiles (skinny, jingle, mrcp)
  1697. ######################################################################################################################
  1698. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/skinny_profiles/*.xml
  1699. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/jingle_profiles/*.xml
  1700. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/mrcp_profiles/*.xml
  1701. ######################################################################################################################
  1702. # Grammar Files
  1703. ######################################################################################################################
  1704. %config(noreplace) %attr(0644, -, -) %{GRAMMARDIR}/default.dic
  1705. %config(noreplace) %attr(0644, -, -) %{GRAMMARDIR}/model/communicator/*
  1706. ### END OF config-vanilla
  1707. ######################################################################################################################
  1708. #
  1709. # Application Packages
  1710. #
  1711. ######################################################################################################################
  1712. %files application-abstraction
  1713. %{MODINSTDIR}/mod_abstraction.so*
  1714. %files application-avmd
  1715. %{MODINSTDIR}/mod_avmd.so*
  1716. %files application-blacklist
  1717. %{MODINSTDIR}/mod_blacklist.so*
  1718. %files application-callcenter
  1719. %{MODINSTDIR}/mod_callcenter.so*
  1720. %files application-cidlookup
  1721. %{MODINSTDIR}/mod_cidlookup.so*
  1722. %files application-conference
  1723. %{MODINSTDIR}/mod_conference.so*
  1724. %files application-curl
  1725. %{MODINSTDIR}/mod_curl.so*
  1726. %files application-db
  1727. %{MODINSTDIR}/mod_db.so*
  1728. %files application-directory
  1729. %{MODINSTDIR}/mod_directory.so*
  1730. %files application-distributor
  1731. %{MODINSTDIR}/mod_distributor.so*
  1732. %files application-easyroute
  1733. %{MODINSTDIR}/mod_easyroute.so*
  1734. %files application-enum
  1735. %{MODINSTDIR}/mod_enum.so*
  1736. %files application-esf
  1737. %{MODINSTDIR}/mod_esf.so*
  1738. %if %{build_mod_esl}
  1739. %files application-esl
  1740. %{MODINSTDIR}/mod_esl.so*
  1741. %endif
  1742. %files application-expr
  1743. %{MODINSTDIR}/mod_expr.so*
  1744. %files application-fifo
  1745. %{MODINSTDIR}/mod_fifo.so*
  1746. %files application-fsk
  1747. %{MODINSTDIR}/mod_fsk.so*
  1748. %files application-fsv
  1749. %{MODINSTDIR}/mod_fsv.so*
  1750. %files application-hash
  1751. %{MODINSTDIR}/mod_hash.so*
  1752. %files application-httapi
  1753. %{MODINSTDIR}/mod_httapi.so*
  1754. %files application-http-cache
  1755. %dir %attr(0750, freeswitch, daemon) %{_localstatedir}/cache/freeswitch
  1756. %{MODINSTDIR}/mod_http_cache.so*
  1757. %files application-lcr
  1758. %{MODINSTDIR}/mod_lcr.so*
  1759. %files application-limit
  1760. %{MODINSTDIR}/mod_limit.so*
  1761. %files application-memcache
  1762. %{MODINSTDIR}/mod_memcache.so*
  1763. %files application-mongo
  1764. %{MODINSTDIR}/mod_mongo.so*
  1765. %files application-nibblebill
  1766. %{MODINSTDIR}/mod_nibblebill.so*
  1767. %files application-rad_auth
  1768. %{MODINSTDIR}/mod_rad_auth.so*
  1769. %files application-redis
  1770. %{MODINSTDIR}/mod_redis.so*
  1771. %files application-rss
  1772. %{MODINSTDIR}/mod_rss.so*
  1773. %files application-signalwire
  1774. %{MODINSTDIR}/mod_signalwire.so*
  1775. %files application-sms
  1776. %{MODINSTDIR}/mod_sms.so*
  1777. %files application-snapshot
  1778. %{MODINSTDIR}/mod_snapshot.so*
  1779. %files application-snom
  1780. %{MODINSTDIR}/mod_snom.so*
  1781. %files application-soundtouch
  1782. %{MODINSTDIR}/mod_soundtouch.so*
  1783. %files application-spy
  1784. %{MODINSTDIR}/mod_spy.so*
  1785. %files application-stress
  1786. %{MODINSTDIR}/mod_stress.so*
  1787. %files application-translate
  1788. %{MODINSTDIR}/mod_translate.so*
  1789. %files application-valet_parking
  1790. %{MODINSTDIR}/mod_valet_parking.so*
  1791. %files application-video_filter
  1792. %{MODINSTDIR}/mod_video_filter.so*
  1793. %files application-voicemail
  1794. %{MODINSTDIR}/mod_voicemail.so*
  1795. %files application-voicemail-ivr
  1796. %{MODINSTDIR}/mod_voicemail_ivr.so*
  1797. ######################################################################################################################
  1798. #
  1799. # ASR TTS Packages
  1800. #
  1801. ######################################################################################################################
  1802. %files asrtts-flite
  1803. %{MODINSTDIR}/mod_flite.so*
  1804. %files asrtts-pocketsphinx
  1805. %{MODINSTDIR}/mod_pocketsphinx.so*
  1806. %files asrtts-tts-commandline
  1807. %{MODINSTDIR}/mod_tts_commandline.so*
  1808. %files asrtts-unimrcp
  1809. %{MODINSTDIR}/mod_unimrcp.so*
  1810. ######################################################################################################################
  1811. #
  1812. # CODEC Packages
  1813. #
  1814. ######################################################################################################################
  1815. %files codec-passthru-amr
  1816. %{MODINSTDIR}/mod_amr.so*
  1817. %files codec-passthru-amrwb
  1818. %{MODINSTDIR}/mod_amrwb.so*
  1819. %files codec-bv
  1820. %{MODINSTDIR}/mod_bv.so*
  1821. %files codec-codec2
  1822. %{MODINSTDIR}/mod_codec2.so*
  1823. %files codec-passthru-g723_1
  1824. %{MODINSTDIR}/mod_g723_1.so*
  1825. %files codec-passthru-g729
  1826. %{MODINSTDIR}/mod_g729.so*
  1827. %files codec-h26x
  1828. %{MODINSTDIR}/mod_h26x.so*
  1829. %files codec-ilbc
  1830. %{MODINSTDIR}/mod_ilbc.so*
  1831. %files codec-isac
  1832. %{MODINSTDIR}/mod_isac.so*
  1833. %files codec-mp4v
  1834. %{MODINSTDIR}/mod_mp4v.so*
  1835. %files codec-opus
  1836. %{MODINSTDIR}/mod_opus.so*
  1837. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/opus.conf.xml
  1838. %if %{build_sng_tc}
  1839. %files sangoma-codec
  1840. %{MODINSTDIR}/mod_sangoma_codec.so*
  1841. %endif
  1842. %files codec-silk
  1843. %{MODINSTDIR}/mod_silk.so*
  1844. %files codec-siren
  1845. %{MODINSTDIR}/mod_siren.so*
  1846. %files codec-theora
  1847. %{MODINSTDIR}/mod_theora.so*
  1848. ######################################################################################################################
  1849. #
  1850. # FreeSWITCH Database Modules
  1851. #
  1852. ######################################################################################################################
  1853. %files database-mariadb
  1854. %{MODINSTDIR}/mod_mariadb.so*
  1855. %files database-pgsql
  1856. %{MODINSTDIR}/mod_pgsql.so*
  1857. ######################################################################################################################
  1858. #
  1859. # FreeSWITCH Directory Modules
  1860. #
  1861. ######################################################################################################################
  1862. #%files directory-ldap
  1863. #%{MODINSTDIR}/mod_ldap.so*
  1864. ######################################################################################################################
  1865. #
  1866. # FreeSWITCH endpoint Modules
  1867. #
  1868. ######################################################################################################################
  1869. %files endpoint-dingaling
  1870. %{MODINSTDIR}/mod_dingaling.so*
  1871. #%files endpoint-gsmopen
  1872. #%{MODINSTDIR}/mod_gsmopen.so*
  1873. #%files endpoint-h323
  1874. #%{MODINSTDIR}/mod_h323.so*
  1875. #%files endpoint-khomp
  1876. #%{MODINSTDIR}/mod_khomp.so*
  1877. %files endpoint-portaudio
  1878. %{MODINSTDIR}/mod_portaudio.so*
  1879. %files endpoint-rtmp
  1880. %{MODINSTDIR}/mod_rtmp.so*
  1881. %files endpoint-skinny
  1882. %{MODINSTDIR}/mod_skinny.so*
  1883. %files endpoint-verto
  1884. %{MODINSTDIR}/mod_verto.so*
  1885. %files endpoint-rtc
  1886. %{MODINSTDIR}/mod_rtc.so*
  1887. ######################################################################################################################
  1888. #
  1889. # Event Modules
  1890. #
  1891. ######################################################################################################################
  1892. %files event-cdr-mongodb
  1893. %{MODINSTDIR}/mod_cdr_mongodb.so*
  1894. %files event-cdr-pg-csv
  1895. %{MODINSTDIR}/mod_cdr_pg_csv.so*
  1896. %files event-cdr-sqlite
  1897. %{MODINSTDIR}/mod_cdr_sqlite.so*
  1898. %files event-erlang-event
  1899. %{MODINSTDIR}/mod_erlang_event.so*
  1900. %files event-format-cdr
  1901. %{MODINSTDIR}/mod_format_cdr.so*
  1902. %files event-multicast
  1903. %{MODINSTDIR}/mod_event_multicast.so*
  1904. #%files event-zmq
  1905. #%{MODINSTDIR}/mod_xmq.so*
  1906. %files event-json-cdr
  1907. %{MODINSTDIR}/mod_json_cdr.so*
  1908. %files kazoo
  1909. %{MODINSTDIR}/mod_kazoo.so*
  1910. %files event-radius-cdr
  1911. %{MODINSTDIR}/mod_radius_cdr.so*
  1912. %if %{build_mod_rayo}
  1913. %files event-rayo
  1914. %{MODINSTDIR}/mod_rayo.so*
  1915. %endif
  1916. %files event-snmp
  1917. %{MODINSTDIR}/mod_snmp.so*
  1918. ######################################################################################################################
  1919. #
  1920. # Event Modules
  1921. #
  1922. ######################################################################################################################
  1923. %files format-local-stream
  1924. %{MODINSTDIR}/mod_local_stream.so*
  1925. %files format-native-file
  1926. %{MODINSTDIR}/mod_native_file.so*
  1927. %files format-opusfile
  1928. %{MODINSTDIR}/mod_opusfile.so*
  1929. %files format-portaudio-stream
  1930. %{MODINSTDIR}/mod_portaudio_stream.so*
  1931. %files format-shell-stream
  1932. %{MODINSTDIR}/mod_shell_stream.so*
  1933. %files format-mod-shout
  1934. %{MODINSTDIR}/mod_shout.so*
  1935. %if %{build_mod_ssml}
  1936. %files format-ssml
  1937. %{MODINSTDIR}/mod_ssml.so*
  1938. %endif
  1939. %files format-tone-stream
  1940. %{MODINSTDIR}/mod_tone_stream.so*
  1941. ######################################################################################################################
  1942. #
  1943. # Embedded Language Modules
  1944. #
  1945. ######################################################################################################################
  1946. %files lua
  1947. %{MODINSTDIR}/mod_lua*.so*
  1948. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/lua.conf.xml
  1949. %files perl
  1950. %{MODINSTDIR}/mod_perl*.so*
  1951. %{prefix}/perl/*
  1952. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/perl.conf.xml
  1953. %files python
  1954. %{MODINSTDIR}/mod_python*.so*
  1955. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/python.conf.xml
  1956. %if %{build_mod_v8}
  1957. %files v8
  1958. %{MODINSTDIR}/mod_v8*.so*
  1959. %{LIBDIR}/libv8.so
  1960. %{LIBDIR}/libicui18n.so
  1961. %{LIBDIR}/libicuuc.so
  1962. %endif
  1963. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/v8.conf.xml
  1964. ######################################################################################################################
  1965. #
  1966. # Language Modules
  1967. #
  1968. ######################################################################################################################
  1969. %files lang-en
  1970. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en
  1971. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en/demo
  1972. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en/vm
  1973. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en/dir
  1974. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en/ivr
  1975. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/*.xml
  1976. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/demo/*.xml
  1977. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/vm/*.xml
  1978. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/dir/*.xml
  1979. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/ivr/*.xml
  1980. %{MODINSTDIR}/mod_say_en.so*
  1981. %files lang-de
  1982. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/de
  1983. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/de/demo
  1984. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/de/vm
  1985. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/de/*.xml
  1986. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/de/demo/*.xml
  1987. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/de/vm/*.xml
  1988. %{MODINSTDIR}/mod_say_de.so*
  1989. %files lang-fr
  1990. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/fr
  1991. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/fr/demo
  1992. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/fr/vm
  1993. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/fr/dir
  1994. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/fr/*.xml
  1995. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/fr/demo/*.xml
  1996. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/fr/vm/*.xml
  1997. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/fr/dir/*.xml
  1998. %{MODINSTDIR}/mod_say_fr.so*
  1999. %files lang-ru
  2000. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/ru
  2001. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/ru/demo
  2002. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/ru/vm
  2003. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/ru/dir
  2004. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/ru/*.xml
  2005. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/ru/demo/*.xml
  2006. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/ru/vm/*.xml
  2007. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/ru/dir/*.xml
  2008. %{MODINSTDIR}/mod_say_ru.so*
  2009. %files lang-he
  2010. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/he/
  2011. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/he/demo
  2012. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/he/vm
  2013. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/he/dir
  2014. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/he/*.xml
  2015. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/he/demo/*.xml
  2016. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/he/vm/*.xml
  2017. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/he/dir/*.xml
  2018. %{MODINSTDIR}/mod_say_he.so*
  2019. %files lang-es
  2020. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/es
  2021. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/es/demo
  2022. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/es/vm
  2023. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/es/dir
  2024. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/es/*.xml
  2025. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/es/demo/*.xml
  2026. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/es/vm/*.xml
  2027. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/es/dir/*.xml
  2028. %{MODINSTDIR}/mod_say_es.so*
  2029. %files lang-pt
  2030. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/pt
  2031. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/pt/demo
  2032. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/pt/vm
  2033. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/pt/dir
  2034. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/pt/*.xml
  2035. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/pt/demo/*.xml
  2036. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/pt/vm/*.xml
  2037. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/pt/dir/*.xml
  2038. %{MODINSTDIR}/mod_say_pt.so*
  2039. %files lang-sv
  2040. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/sv
  2041. %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/sv/vm
  2042. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/sv/*.xml
  2043. %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/sv/vm/*.xml
  2044. %{MODINSTDIR}/mod_say_sv.so*
  2045. ######################################################################################################################
  2046. #
  2047. # Logger Modules
  2048. #
  2049. ######################################################################################################################
  2050. %files logger-graylog2
  2051. %{MODINSTDIR}/mod_graylog2.so*
  2052. ######################################################################################################################
  2053. #
  2054. # Timer Modules
  2055. #
  2056. ######################################################################################################################
  2057. %files timer-posix
  2058. %{MODINSTDIR}/mod_posix_timer.so*
  2059. %if %{build_timerfd}
  2060. %files timer-timerfd
  2061. %{MODINSTDIR}/mod_timerfd.so*
  2062. %endif
  2063. ######################################################################################################################
  2064. #
  2065. # XMLINT Modules
  2066. #
  2067. ######################################################################################################################
  2068. %files xml-cdr
  2069. %{MODINSTDIR}/mod_xml_cdr.so*
  2070. %files xml-curl
  2071. %{MODINSTDIR}/mod_xml_curl.so*
  2072. ######################################################################################################################
  2073. # FreeSWITCH ESL language modules
  2074. ######################################################################################################################
  2075. %files -n perl-ESL
  2076. %defattr(644,root,root,755)
  2077. %{perl_archlib}/ESL.pm
  2078. %{perl_archlib}/ESL.so
  2079. %{perl_archlib}/ESL.la
  2080. %dir %{perl_archlib}/ESL
  2081. %{perl_archlib}/ESL/Dispatch.pm
  2082. %{perl_archlib}/ESL/IVR.pm
  2083. %files -n python-ESL
  2084. %attr(0644, root, bin) /usr/lib*/python*/site-packages/freeswitch.py*
  2085. %attr(0755, root, bin) /usr/lib*/python*/site-packages/_ESL.so*
  2086. %attr(0755, root, bin) /usr/lib*/python*/site-packages/ESL.py*
  2087. ######################################################################################################################
  2088. #
  2089. # Changelog
  2090. #
  2091. ######################################################################################################################
  2092. %changelog
  2093. * Fri Jan 31 2020 - Andrey Volk
  2094. - Add sndfile.conf.xml
  2095. * Tue Apr 23 2019 - Andrey Volk
  2096. - Fix build for Stack 20.x
  2097. * Tue Dec 11 2018 - Andrey Volk
  2098. - add mod_signalwire
  2099. * Sun Mar 13 2016 - Matthew Vale
  2100. - add perl and python ESL language module packages
  2101. * Thu Jul 09 2015 - Artur Zaprzała
  2102. - add systemd service file for CentOS 7
  2103. * Thu Jun 25 2015 - s.safarov@gmail.com
  2104. - Dependencies of mod_shout were declared
  2105. * Mon Jun 22 2015 - krice@freeswitch.org
  2106. - disable mod_shout until we can figure out the correct system deps for RPM based platforms
  2107. * Wed Jun 17 2015 - krice@freeswitch.org
  2108. - Update libvpx2 dep requirement
  2109. * Thu Jun 04 2015 - s.safarov@gmail.com
  2110. - Build dependences declared
  2111. - mod_rad_auth, mod_radius_cdr, mod_format_cdr modules declared
  2112. * Tue Nov 04 2014 - crienzo@grasshopper.com
  2113. - add mod_graylog2 and mod_mongo
  2114. * Thu Sep 11 2014 - krice@freeswitch.org
  2115. - add and fix mod_verto and mod_rtc
  2116. * Mon Jun 02 2014 - krice@freeswitch.org
  2117. - remove mod_spidermoney as its been deprecated
  2118. * Fri Feb 21 2014 - crienzo@grasshopper.com
  2119. - change file owner to root
  2120. * Wed Feb 19 2014 - crienzo@grasshopper.com
  2121. - remove mod_speex
  2122. * Sun Feb 02 2014 - jakob@mress.se
  2123. - add support for building Swedish say language module
  2124. * Mon Jan 13 2014 - peter@olssononline.se
  2125. - Add mod_v8
  2126. * Mon Dec 09 2013 - crienzo@grasshopper.com
  2127. - Add mod_ssml, mod_rayo
  2128. - Fix build on master
  2129. * Fri Jun 28 2013 - krice@freeswitch.org
  2130. - Add module for VP8
  2131. * Wed Jun 19 2013 - krice@freeswitch.org
  2132. - tweak files included for vanilla configs
  2133. * Wed Sep 19 2012 - krice@freeswitch.org
  2134. - Add support for Spanish and Portuguese say language modules
  2135. * Thu Jan 26 2012 - krice@freeswitch.org
  2136. - complete rework of spec file
  2137. * Tue Jun 14 2011 - michal.bielicki@seventhsignal.de
  2138. - added mod_http_cache
  2139. * Tue Jun 14 2011 - michal.bielicki@seventhsignal.de
  2140. - added mod_rtmp
  2141. * Fri Apr 01 2011 - michal.bielicki@seventhsignal.de
  2142. - added hebrew language stuff
  2143. * Wed Mar 30 2011 - michal.bielicki@seventhsignal.de
  2144. - removed mod_file_string since it has been merged into dptools
  2145. * Wed Feb 16 2011 - michal.bielicki@seventhsignal.de
  2146. - added mod_skinny
  2147. - added sangoma libraries
  2148. - added sangoma codec module for D100 and D150 and D500
  2149. - added skypopen module
  2150. - fixes for ss7 freetdm modules
  2151. - added mod_opus
  2152. - added selector for sangoma modules
  2153. - added python esl module to rpm
  2154. - some minor cleanups
  2155. - cut sangoma modules into separate rpms as addons for freetdm
  2156. * Tue Jan 18 2011 - michal.bielicki@seventhsignal.de
  2157. - Fedora adjustments
  2158. * Fri Oct 15 2010 - michal.bielicki@seventhsignal.de
  2159. - added mod_curl
  2160. * Sat Oct 09 2010 - michal.bielicki@seventhsignal.de
  2161. - added mod_silk
  2162. - added mod_codec2
  2163. - moved from openzap to freetdm to make way for inclusion of libsng_isdn and wanpipe
  2164. - added mod_freetdm
  2165. - added mod_cidlookup
  2166. - added more runtime dependencies
  2167. * Thu Sep 30 2010 - michal.bielicki@seventhsignal.de
  2168. - added mod_nibblebill to standard modules
  2169. * Sun Sep 26 2010 - michal.bielicki@seventhsignal.de
  2170. - added portaudio_stream module
  2171. - some more formatting work
  2172. * Mon Jul 19 2010 - michal.bielicki@seventhsignal.de
  2173. - new hash module config file added to freeswitch.spec
  2174. * Mon Jul 19 2010 - michal.bielicki@seventhsignal.de
  2175. - Adjusted sphinxbase
  2176. - Fixed Version Revisions for head versions
  2177. - Renamed packages to head to comply with git
  2178. * Tue Jun 22 2010 - michal.bielicki@seventhsignal.de
  2179. - Added comments and made the spec file sections more transparent
  2180. - Added proper header to the Spec file
  2181. - Added Contributors
  2182. - Added Anthony's copyright for the whole package into the header
  2183. * Tue Jun 22 2010 - michal.bielicki@seventhsignal.de
  2184. - Reorganized the modules alphabetically
  2185. - synced SFEopensolaris and centos spec
  2186. - started to fix Run Dependencies
  2187. - added mod_say_ru which seemd to have gone missing
  2188. - added comment blocks to show the spec file structure for easier management and editing
  2189. * Mon Jun 21 2010 - michal.bielicki@seventhsignal.de
  2190. - added mod_limit shim for backwards compatibility
  2191. - added mod_hash correctly
  2192. * Sun Jun 20 2010 - michal.bielicki@seventhsignal.de
  2193. - replaced mod_limit with mod_db
  2194. - added mod_spy
  2195. - added mod_valet_parking
  2196. - added mod_memcache
  2197. - added mod_distributor
  2198. - added mod_avmd
  2199. * Thu Apr 29 2010 - michal.bielicki@seventhsignal.de
  2200. - added osp conf file
  2201. * Fri Apr 23 2010 - michal.bielicki@seventhsignal.de
  2202. - bumped spec file vrersion up to 1.0.7-trunk for trunk
  2203. - added skinny dialplan stuff to specfile
  2204. * Sun Mar 28 2010 - michal.bielicki@seventhsignal.de
  2205. - added sangoma codec config file
  2206. * Wed Dec 02 2009 - michal.bielicki@seventhsignal.de
  2207. - Soundfiles are moving into a separate spec
  2208. * Wed Nov 25 2009 - brian@freeswitch.org
  2209. - added mod_bv.so
  2210. * Wed Nov 25 2009 - michal.bielicki@seventhsignal.de
  2211. - Removed mod_yaml
  2212. - added directory files to russian language
  2213. * Sat Nov 21 2009 - michal.bielicki@seventhsignal.de
  2214. - added patch by Igor Neves <neves.igor@gmail.com>: Added some checkup in %post and %postun to prevent upgrades from removing freeswitch user
  2215. * Wed Nov 18 2009 - michal.bielicki@seventhsignal.de
  2216. - added new config files for directory and distributor
  2217. - removed sangoma boost from openzap for builds that do not inherit wanpipe while building.
  2218. * Fri Jul 24 2009 - mike@jerris.com
  2219. - removed mod_http
  2220. - removed ozmod_wanpipe
  2221. * Tue Jun 23 2009 - raulfragoso@gmail.com
  2222. - Adjusted for the latest SVN trunk (13912)
  2223. - Included new config and mod files to catch up with latest SVN
  2224. - Included new sound files for base256 and zrtp
  2225. - mod_unimrcp must be built after mod_sofia
  2226. * Tue Feb 17 2009 - michal.bielicki@halokwadrat.de
  2227. - added mod_python
  2228. - added mod_fax
  2229. - added mod_amrwb.so
  2230. - added mod_celt.so
  2231. - added mod_easyroute.so
  2232. - added mod_http.so
  2233. - added mod_lcr.so
  2234. - added mod_loopback.so
  2235. - added mod_siren.so
  2236. - added mod/mod_stress.so
  2237. - added mod_yaml.so
  2238. - added mod_shout.so
  2239. - added rpms or all sounds
  2240. - openzap is now its own rpm
  2241. - added french
  2242. - added german
  2243. - added missing dependencies
  2244. - added soundfiles with separate rpms
  2245. - added definition of all sourcefiles and added them to the SRPM
  2246. - fixes to monit file
  2247. - changes to redhat init file
  2248. * Thu May 22 2008 - michal.bielicki@voiceworks.pl
  2249. - disabled beta class language stuff
  2250. - bumped revision up to rc6
  2251. - added mod_lua
  2252. - added mod_perl
  2253. - Only bootstrap if no Makfile.in exists
  2254. * Mon Feb 04 2008 - michal.bielicki@voiceworks.pl
  2255. - More fixes to specfile
  2256. - First go at SFE files
  2257. * Sun Feb 03 2008 - michal.bielicki@voiceworks.pl
  2258. - abstraction of prefix
  2259. - more wrong stuff deleted
  2260. - abstraction of mkdir, mv, rm, install etc into macros
  2261. * Fri Jan 18 2008 - michal.bielicki@voiceworks.pl
  2262. - fixes, fixes and more fixes in preparation for rc1
  2263. * Wed Dec 5 2007 - michal.bielicki@voiceworks.pl
  2264. - put in detail configfiles in to split of spidermonkey configs
  2265. - created link from /opt/freesxwitch/conf to /etc%{prefix}
  2266. * Thu Nov 29 2007 - michal.bielicki@voiceworks.pl
  2267. - Added ifdefs for susealities
  2268. - Added specifics for centos/redhat
  2269. - Added specifics for fedora
  2270. - Preparing to use it for adding it to SFE packaging for solaris
  2271. - Added odbc stuff back in
  2272. - made curl default
  2273. - Separate package for mod_spidermonkey
  2274. - got rid of modules.conf and stuffed everything in MODULES env var
  2275. - got rid of handmade Cflags peter added ;)
  2276. - fixed bin and libpaths
  2277. - fixed locationof nspr and js libs
  2278. - fixed odbc requirements
  2279. - added all buildable modules
  2280. - added redhat style init file
  2281. - split off language dependent stuff into separate language files
  2282. - disable non complete language modules
  2283. * Tue Apr 24 2007 - peter+rpmspam@suntel.com.tr
  2284. - Added a debug package
  2285. - Split the passthrough codecs into separate packages
  2286. * Fri Mar 16 2007 - peter+rpmspam@suntel.com.tr
  2287. - Added devel package
  2288. * Thu Mar 15 2007 - peter+rpmspam@suntel.com.tr
  2289. - Initial RPM release