2
0

freeswitch-sounds-pt-BR-karina.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. ##############################################################################
  2. # Copyright and license
  3. ##############################################################################
  4. #
  5. # Spec file for package freeswitch-sounds-pt-BR-karina (version 1.0.51-1)
  6. #
  7. # Based on parts by Copyright (c) 2009 Patrick Laimbock
  8. # Copyright (c) 2014 FreeSWITCH.org
  9. # This file and all modifications and additions to the pristine
  10. # package are under the same license as the package itself.
  11. #
  12. ##############################################################################
  13. # Set variables
  14. ##############################################################################
  15. %define version 1.0.51
  16. %define release 1
  17. %define fsname freeswitch
  18. # you could add a version number to be more strict
  19. %define PREFIX %{_prefix}
  20. %define EXECPREFIX %{_exec_prefix}
  21. %define BINDIR %{_bindir}
  22. %define SBINDIR %{_sbindir}
  23. %define LIBEXECDIR %{_libexecdir}/%{fsname}
  24. %define SYSCONFDIR %{_sysconfdir}/%{fsname}
  25. %define SHARESTATEDIR %{_sharedstatedir}/%{fsname}
  26. %define LOCALSTATEDIR %{_localstatedir}/lib/%{fsname}
  27. %define LIBDIR %{_libdir}
  28. %define INCLUDEDIR %{_includedir}
  29. %define _datarootdir %{_prefix}/share
  30. %define DATAROOTDIR %{_datarootdir}
  31. %define DATADIR %{_datadir}
  32. %define INFODIR %{_infodir}
  33. %define LOCALEDIR %{_datarootdir}/locale
  34. %define MANDIR %{_mandir}
  35. %define DOCDIR %{_defaultdocdir}/%{fsname}
  36. %define HTMLDIR %{_defaultdocdir}/%{fsname}/html
  37. %define DVIDIR %{_defaultdocdir}/%{fsname}/dvi
  38. %define PDFDIR %{_defaultdocdir}/%{fsname}/pdf
  39. %define PSDIR %{_defaultdocdir}/%{fsname}/ps
  40. %define LOGFILEDIR /var/log/%{fsname}
  41. %define MODINSTDIR %{_libdir}/%{fsname}/mod
  42. %define RUNDIR %{_localstatedir}/run/%{fsname}
  43. %define DBDIR %{LOCALSTATEDIR}/db
  44. %define HTDOCSDIR %{_datarootdir}/%{fsname}/htdocs
  45. %define SOUNDSDIR %{_datarootdir}/%{fsname}/sounds
  46. %define GRAMMARDIR %{_datarootdir}/%{fsname}/grammar
  47. %define SCRIPTDIR %{_datarootdir}/%{fsname}/scripts
  48. %define RECORDINGSDIR %{LOCALSTATEDIR}/recordings
  49. %define PKGCONFIGDIR %{_datarootdir}/%{fsname}/pkgconfig
  50. %define HOMEDIR %{LOCALSTATEDIR}
  51. ##############################################################################
  52. # General
  53. ##############################################################################
  54. Summary: FreeSWITCH pt-BR Karina prompts
  55. Name: freeswitch-sounds-pt-BR-karina
  56. Version: %{version}
  57. Release: %{release}%{?dist}
  58. License: MPL
  59. Group: Applications/Communications
  60. Packager: Ken Rice <krice@freeswitch.org>
  61. URL: http://www.freeswitch.org
  62. Source0:http://files.freeswitch.org/releases/sounds/%{name}-48000-%{version}.tar.gz
  63. Source1:http://files.freeswitch.org/releases/sounds/%{name}-32000-%{version}.tar.gz
  64. Source2:http://files.freeswitch.org/releases/sounds/%{name}-16000-%{version}.tar.gz
  65. Source3:http://files.freeswitch.org/releases/sounds/%{name}-8000-%{version}.tar.gz
  66. BuildArch: noarch
  67. BuildRequires: sox
  68. Requires: freeswitch
  69. Requires: freeswitch-sounds-pt-BR-karina-48000
  70. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  71. %description
  72. FreeSWITCH 48kHz fr BR Karina prompts plus, during the installation,
  73. it will also install locally generated 8KHz, 16KHz and 32KHz prompts
  74. %package -n freeswitch-sounds-pt-BR-karina-8000
  75. Summary: FreeSWITCH 8kHz fr BR Karina prompts
  76. Group: Applications/Communications
  77. BuildArch: noarch
  78. Requires: %{fsname}
  79. %description -n freeswitch-sounds-pt-BR-karina-8000
  80. FreeSWITCH 8kHz fr BR Karina prompts
  81. %package -n freeswitch-sounds-pt-BR-karina-16000
  82. Summary: FreeSWITCH 16kHz fr BR Karina prompts
  83. Group: Applications/Communications
  84. BuildArch: noarch
  85. Requires: %{fsname}
  86. %description -n freeswitch-sounds-pt-BR-karina-16000
  87. FreeSWITCH 16kHz fr BR Karina prompts
  88. %package -n freeswitch-sounds-pt-BR-karina-32000
  89. Summary: FreeSWITCH 32kHz fr BR Karina prompts
  90. Group: Applications/Communications
  91. BuildArch: noarch
  92. Requires: %{fsname}
  93. %description -n freeswitch-sounds-pt-BR-karina-32000
  94. FreeSWITCH 32kHz fr BR Karina prompts
  95. %package -n freeswitch-sounds-pt-BR-karina-48000
  96. Summary: FreeSWITCH 48kHz fr BR Karina prompts
  97. Group: Applications/Communications
  98. BuildArch: noarch
  99. Requires: %{fsname}
  100. %description -n freeswitch-sounds-pt-BR-karina-48000
  101. FreeSWITCH 48kHz fr BR Karina prompts
  102. %package -n freeswitch-sounds-pt-BR-karina-all
  103. Summary: FreeSWITCH fr BR Karina prompts
  104. Group: Applications/Communications
  105. BuildArch: noarch
  106. Requires: %{fsname}
  107. Requires: freeswitch-sounds-pt-BR-karina-8000 = %{version}
  108. Requires: freeswitch-sounds-pt-BR-karina-16000 = %{version}
  109. Requires: freeswitch-sounds-pt-BR-karina-32000 = %{version}
  110. Requires: freeswitch-sounds-pt-BR-karina-48000 = %{version}
  111. %description -n freeswitch-sounds-pt-BR-karina-all
  112. FreeSWITCH Elena prompts package that pulls in the 8KHz, 16KHz, 32KHz and 48KHz RPMs
  113. ##############################################################################
  114. # Prep
  115. ##############################################################################
  116. %prep
  117. %setup -n pt
  118. %setup -T -D -b 0 -n pt
  119. %setup -T -D -b 1 -n pt
  120. %setup -T -D -b 2 -n pt
  121. %setup -T -D -b 3 -n pt
  122. ##############################################################################
  123. # Build
  124. ##############################################################################
  125. %build
  126. # nothing to do here
  127. ##############################################################################
  128. # Install
  129. ##############################################################################
  130. %install
  131. [ "%{buildroot}" != '/' ] && rm -rf %{buildroot}
  132. # create the sounds directories
  133. %{__install} -d -m 0750 %{buildroot}%{SOUNDSDIR}/pt/BR/karina
  134. pushd BR/karina
  135. # first install the 48KHz sounds
  136. %{__cp} -prv ./* %{buildroot}%{SOUNDSDIR}/pt/BR/karina
  137. popd
  138. ##############################################################################
  139. # Clean
  140. ##############################################################################
  141. %clean
  142. [ "%{buildroot}" != '/' ] && rm -rf %{buildroot}
  143. ##############################################################################
  144. # Post
  145. ##############################################################################
  146. %post
  147. ##############################################################################
  148. # Postun
  149. ##############################################################################
  150. %postun
  151. ##############################################################################
  152. # Files
  153. ##############################################################################
  154. %files
  155. %defattr(-,root,root)
  156. %files -n freeswitch-sounds-pt-BR-karina-8000
  157. %defattr(-,root,root,-)
  158. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/ascii/8000
  159. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/base256/8000
  160. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/conference/8000
  161. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/currency/8000
  162. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/digits/8000
  163. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/directory/8000
  164. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/ivr/8000
  165. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/misc/8000
  166. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/phonetic-ascii/8000
  167. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/time/8000
  168. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/voicemail/8000
  169. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/zrtp/8000
  170. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/users/8000
  171. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/ascii/8000/*.wav
  172. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/base256/8000/*.wav
  173. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/conference/8000/*.wav
  174. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/currency/8000/*.wav
  175. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/digits/8000/*.wav
  176. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/directory/8000/*.wav
  177. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/ivr/8000/*.wav
  178. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/misc/8000/*.wav
  179. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/phonetic-ascii/8000/*.wav
  180. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/time/8000/*.wav
  181. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/voicemail/8000/*.wav
  182. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/zrtp/8000/*.wav
  183. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/users/8000/*.wav
  184. %files -n freeswitch-sounds-pt-BR-karina-16000
  185. %defattr(-,root,root,-)
  186. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/ascii/16000
  187. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/base256/16000
  188. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/conference/16000
  189. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/currency/16000
  190. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/digits/16000
  191. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/directory/16000
  192. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/ivr/16000
  193. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/misc/16000
  194. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/phonetic-ascii/16000
  195. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/time/16000
  196. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/voicemail/16000
  197. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/zrtp/16000
  198. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/users/16000
  199. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/ascii/16000/*.wav
  200. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/base256/16000/*.wav
  201. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/conference/16000/*.wav
  202. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/currency/16000/*.wav
  203. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/digits/16000/*.wav
  204. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/directory/16000/*.wav
  205. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/ivr/16000/*.wav
  206. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/misc/16000/*.wav
  207. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/phonetic-ascii/16000/*.wav
  208. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/time/16000/*.wav
  209. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/voicemail/16000/*.wav
  210. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/zrtp/16000/*.wav
  211. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/users/16000/*.wav
  212. %files -n freeswitch-sounds-pt-BR-karina-32000
  213. %defattr(-,root,root,-)
  214. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/ascii/32000
  215. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/base256/32000
  216. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/conference/32000
  217. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/currency/32000
  218. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/digits/32000
  219. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/directory/32000
  220. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/ivr/32000
  221. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/misc/32000
  222. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/phonetic-ascii/32000
  223. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/time/32000
  224. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/voicemail/32000
  225. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/zrtp/32000
  226. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/users/32000
  227. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/ascii/32000/*.wav
  228. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/base256/32000/*.wav
  229. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/conference/32000/*.wav
  230. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/currency/32000/*.wav
  231. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/digits/32000/*.wav
  232. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/directory/32000/*.wav
  233. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/ivr/32000/*.wav
  234. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/misc/32000/*.wav
  235. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/phonetic-ascii/32000/*.wav
  236. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/time/32000/*.wav
  237. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/voicemail/32000/*.wav
  238. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/zrtp/32000/*.wav
  239. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/users/32000/*.wav
  240. %files -n freeswitch-sounds-pt-BR-karina-48000
  241. %defattr(-,root,root,-)
  242. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/ascii/48000
  243. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/base256/48000
  244. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/conference/48000
  245. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/currency/48000
  246. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/digits/48000
  247. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/directory/48000
  248. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/ivr/48000
  249. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/misc/48000
  250. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/phonetic-ascii/48000
  251. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/time/48000
  252. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/voicemail/48000
  253. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/zrtp/48000
  254. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/pt/BR/karina/users/48000
  255. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/ascii/48000/*.wav
  256. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/base256/48000/*.wav
  257. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/conference/48000/*.wav
  258. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/currency/48000/*.wav
  259. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/digits/48000/*.wav
  260. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/directory/48000/*.wav
  261. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/ivr/48000/*.wav
  262. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/misc/48000/*.wav
  263. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/phonetic-ascii/48000/*.wav
  264. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/time/48000/*.wav
  265. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/voicemail/48000/*.wav
  266. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/zrtp/48000/*.wav
  267. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/pt/BR/karina/users/48000/*.wav
  268. %files -n freeswitch-sounds-pt-BR-karina-all
  269. ##############################################################################
  270. # Changelog
  271. ##############################################################################
  272. %changelog
  273. * Fri Apr 19 2019 Andrey Volk <andrey@signalwire.com> - 1.0.51-1
  274. - bump up version
  275. * Fri Sep 12 2014 Ken Rice <krice@freeswitch.org> - 1.0.50-1
  276. - created out of the spec file for june