2
0

freeswitch-sounds-fr-ca-june.spec 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. ##############################################################################
  2. # Copyright and license
  3. ##############################################################################
  4. #
  5. # Spec file for package freeswitch-sounds-fr-ca-june (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 fr-CA June prompts
  55. Name: freeswitch-sounds-fr-ca-june
  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-fr-ca-june-48000
  70. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  71. %description
  72. FreeSWITCH 48kHz fr CA June prompts plus, during the installation,
  73. it will also install locally generated 8KHz, 16KHz and 32KHz prompts
  74. %package -n freeswitch-sounds-fr-ca-june-8000
  75. Summary: FreeSWITCH 8kHz fr CA June prompts
  76. Group: Applications/Communications
  77. BuildArch: noarch
  78. Requires: %{fsname}
  79. %description -n freeswitch-sounds-fr-ca-june-8000
  80. FreeSWITCH 8kHz fr CA June prompts
  81. %package -n freeswitch-sounds-fr-ca-june-16000
  82. Summary: FreeSWITCH 16kHz fr CA June prompts
  83. Group: Applications/Communications
  84. BuildArch: noarch
  85. Requires: %{fsname}
  86. %description -n freeswitch-sounds-fr-ca-june-16000
  87. FreeSWITCH 16kHz fr CA June prompts
  88. %package -n freeswitch-sounds-fr-ca-june-32000
  89. Summary: FreeSWITCH 32kHz fr CA June prompts
  90. Group: Applications/Communications
  91. BuildArch: noarch
  92. Requires: %{fsname}
  93. %description -n freeswitch-sounds-fr-ca-june-32000
  94. FreeSWITCH 32kHz fr CA June prompts
  95. %package -n freeswitch-sounds-fr-ca-june-48000
  96. Summary: FreeSWITCH 48kHz fr CA June prompts
  97. Group: Applications/Communications
  98. BuildArch: noarch
  99. Requires: %{fsname}
  100. %description -n freeswitch-sounds-fr-ca-june-48000
  101. FreeSWITCH 48kHz fr CA June prompts
  102. %package -n freeswitch-sounds-fr-ca-june-all
  103. Summary: FreeSWITCH fr CA June prompts
  104. Group: Applications/Communications
  105. BuildArch: noarch
  106. Requires: %{fsname}
  107. Requires: freeswitch-sounds-fr-ca-june-8000 = %{version}
  108. Requires: freeswitch-sounds-fr-ca-june-16000 = %{version}
  109. Requires: freeswitch-sounds-fr-ca-june-32000 = %{version}
  110. Requires: freeswitch-sounds-fr-ca-june-48000 = %{version}
  111. %description -n freeswitch-sounds-fr-ca-june-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 fr
  118. %setup -T -D -b 0 -n fr
  119. %setup -T -D -b 1 -n fr
  120. %setup -T -D -b 2 -n fr
  121. %setup -T -D -b 3 -n fr
  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}/fr/ca/june
  134. pushd ca/june
  135. # first install the 48KHz sounds
  136. %{__cp} -prv ./* %{buildroot}%{SOUNDSDIR}/fr/ca/june
  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-fr-ca-june-8000
  157. %defattr(-,root,root,-)
  158. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/ascii/8000
  159. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/base256/8000
  160. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/conference/8000
  161. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/currency/8000
  162. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/digits/8000
  163. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/directory/8000
  164. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/extra-attempt-record/8000
  165. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/ivr/8000
  166. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/misc/8000
  167. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/phonetic-ascii/8000
  168. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/time/8000
  169. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/voicemail/8000
  170. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/zrtp/8000
  171. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/users/8000
  172. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/ascii/8000/*.wav
  173. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/base256/8000/*.wav
  174. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/conference/8000/*.wav
  175. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/currency/8000/*.wav
  176. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/digits/8000/*.wav
  177. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/directory/8000/*.wav
  178. %attr(0750,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/extra-attempt-record/8000/*.wav
  179. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/ivr/8000/*.wav
  180. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/misc/8000/*.wav
  181. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/phonetic-ascii/8000/*.wav
  182. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/time/8000/*.wav
  183. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/voicemail/8000/*.wav
  184. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/zrtp/8000/*.wav
  185. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/users/8000/*.wav
  186. %files -n freeswitch-sounds-fr-ca-june-16000
  187. %defattr(-,root,root,-)
  188. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/ascii/16000
  189. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/base256/16000
  190. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/conference/16000
  191. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/currency/16000
  192. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/digits/16000
  193. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/directory/16000
  194. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/extra-attempt-record/16000
  195. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/ivr/16000
  196. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/misc/16000
  197. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/phonetic-ascii/16000
  198. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/time/16000
  199. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/voicemail/16000
  200. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/zrtp/16000
  201. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/users/16000
  202. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/ascii/16000/*.wav
  203. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/base256/16000/*.wav
  204. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/conference/16000/*.wav
  205. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/currency/16000/*.wav
  206. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/digits/16000/*.wav
  207. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/directory/16000/*.wav
  208. %attr(0750,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/extra-attempt-record/16000/*.wav
  209. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/ivr/16000/*.wav
  210. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/misc/16000/*.wav
  211. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/phonetic-ascii/16000/*.wav
  212. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/time/16000/*.wav
  213. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/voicemail/16000/*.wav
  214. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/zrtp/16000/*.wav
  215. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/users/16000/*.wav
  216. %files -n freeswitch-sounds-fr-ca-june-32000
  217. %defattr(-,root,root,-)
  218. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/ascii/32000
  219. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/base256/32000
  220. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/conference/32000
  221. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/currency/32000
  222. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/digits/32000
  223. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/directory/32000
  224. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/extra-attempt-record/32000
  225. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/ivr/32000
  226. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/misc/32000
  227. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/phonetic-ascii/32000
  228. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/time/32000
  229. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/voicemail/32000
  230. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/zrtp/32000
  231. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/users/32000
  232. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/ascii/32000/*.wav
  233. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/base256/32000/*.wav
  234. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/conference/32000/*.wav
  235. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/currency/32000/*.wav
  236. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/digits/32000/*.wav
  237. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/directory/32000/*.wav
  238. %attr(0750,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/extra-attempt-record/32000/*.wav
  239. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/ivr/32000/*.wav
  240. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/misc/32000/*.wav
  241. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/phonetic-ascii/32000/*.wav
  242. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/time/32000/*.wav
  243. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/voicemail/32000/*.wav
  244. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/zrtp/32000/*.wav
  245. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/users/32000/*.wav
  246. %files -n freeswitch-sounds-fr-ca-june-48000
  247. %defattr(-,root,root,-)
  248. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/ascii/48000
  249. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/base256/48000
  250. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/conference/48000
  251. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/currency/48000
  252. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/digits/48000
  253. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/directory/48000
  254. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/extra-attempt-record/48000
  255. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/ivr/48000
  256. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/misc/48000
  257. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/phonetic-ascii/48000
  258. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/time/48000
  259. %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/voicemail/48000
  260. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/zrtp/48000
  261. #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/fr/ca/june/users/48000
  262. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/ascii/48000/*.wav
  263. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/base256/48000/*.wav
  264. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/conference/48000/*.wav
  265. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/currency/48000/*.wav
  266. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/digits/48000/*.wav
  267. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/directory/48000/*.wav
  268. %attr(0750,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/extra-attempt-record/48000/*.wav
  269. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/ivr/48000/*.wav
  270. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/misc/48000/*.wav
  271. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/phonetic-ascii/48000/*.wav
  272. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/time/48000/*.wav
  273. %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/voicemail/48000/*.wav
  274. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/zrtp/48000/*.wav
  275. #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/fr/ca/june/users/48000/*.wav
  276. %files -n freeswitch-sounds-fr-ca-june-all
  277. ##############################################################################
  278. # Changelog
  279. ##############################################################################
  280. %changelog
  281. * Fri Apr 19 2019 Andrey Volk <andrey@signalwire.com> - 1.0.51-1
  282. - bump up version
  283. * Fri Sep 12 2014 Ken Rice <krice@freeswitch.org> - 1.0.50-1
  284. - created out of the spec file for june