freeswitch.spec 102 KB

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