freeswitch.spec 103 KB

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