centos: rework CentOS spec files

* break out modules
 * conform to FHS
 * support CentOS v5
This commit is contained in:
Ken Rice 2012-03-24 04:27:09 +00:00 committed by Travis Cross
parent 08d8a1a79b
commit e7d047242f
5 changed files with 1994 additions and 714 deletions

View File

@ -7,8 +7,8 @@
# chkconfig: 345 89 14 # chkconfig: 345 89 14
# description: Starts and stops the freeswitch server daemon # description: Starts and stops the freeswitch server daemon
# processname: freeswitch # processname: freeswitch
# config: /opt/freeswitch/conf/freeswitch.conf # config: /usr/local/freeswitch/conf/freeswitch.conf
# pidfile: /opt/freeswitch/run/freeswitch.pid # pidfile: /usr/local/freeswitch/run/freeswitch.pid
# #
# Source function library. # Source function library.
@ -17,13 +17,13 @@
PROG_NAME=freeswitch PROG_NAME=freeswitch
PID_FILE=${PID_FILE-/var/run/freeswitch/freeswitch.pid} PID_FILE=${PID_FILE-/var/run/freeswitch/freeswitch.pid}
FS_USER=${FS_USER-freeswitch} FS_USER=${FS_USER-freeswitch}
FS_FILE=${FS_FILE-/opt/freeswitch/bin/freeswitch} FS_FILE=${FS_FILE-/usr/freeswitch}
FS_HOME=${FS_HOME-/opt/freeswitch} FS_HOME=${FS_HOME-/var/run/freeswitch}
LOCK_FILE=/var/lock/subsys/freeswitch LOCK_FILE=/var/lock/subsys/freeswitch
FREESWITCH_ARGS="-nc" FREESWITCH_ARGS="-nc"
RETVAL=0 RETVAL=0
# Source options file # Source usr/localions file
if [ -f /etc/sysconfig/freeswitch ]; then if [ -f /etc/sysconfig/freeswitch ]; then
. /etc/sysconfig/freeswitch . /etc/sysconfig/freeswitch
fi fi

View File

@ -2,7 +2,7 @@
# Copyright and license # Copyright and license
############################################################################## ##############################################################################
# #
# Spec file for package freeswitch-sounds-en-us-callie (version 1.0.16-8) # Spec file for package freeswitch-sounds-en-us-callie (version 1.0.18-1)
# #
# Copyright (c) 2009 Patrick Laimbock # Copyright (c) 2009 Patrick Laimbock
# Some fixes and additions (c) 2011 Michal Bielicki # Some fixes and additions (c) 2011 Michal Bielicki
@ -14,20 +14,51 @@
# Determine distribution # Determine distribution
############################################################################## ##############################################################################
%define is_rhel5 %(test -f /etc/redhat-release && egrep -q 'release 5' /etc/redhat-release && echo 1 || echo 0) # %define is_rhel5 %(test -f /etc/redhat-release && egrep -q 'release 5' /etc/redhat-release && echo 1 || echo 0)
############################################################################## ##############################################################################
# Set variables # Set variables
############################################################################## ##############################################################################
%define version 1.0.16 %define version %{VERSION_NUMBER}
%define release 1 %define release %{BUILD_NUMBER}
%define fsname freeswitch %define fsname freeswitch
# you could add a version number to be more strict # you could add a version number to be more strict
%define prefix /opt/freeswitch %define PREFIX %{_prefix}
%define _prefix %{prefix} %define EXECPREFIX %{_exec_prefix}
%define BINDIR %{_bindir}
%define SBINDIR %{_sbindir}
%define LIBEXECDIR %{_libexecdir}/%{fsname}
%define SYSCONFDIR %{_sysconfdir}/%{fsname}
%define SHARESTATEDIR %{_sharedstatedir}/%{fsname}
%define LOCALSTATEDIR %{_localstatedir}/lib/%{fsname}
%define LIBDIR %{_libdir}
%define INCLUDEDIR %{_includedir}
%define _datarootdir %{_prefix}/share
%define DATAROOTDIR %{_datarootdir}
%define DATADIR %{_datadir}
%define INFODIR %{_infodir}
%define LOCALEDIR %{_datarootdir}/locale
%define MANDIR %{_mandir}
%define DOCDIR %{_defaultdocdir}/%{fsname}
%define HTMLDIR %{_defaultdocdir}/%{fsname}/html
%define DVIDIR %{_defaultdocdir}/%{fsname}/dvi
%define PDFDIR %{_defaultdocdir}/%{fsname}/pdf
%define PSDIR %{_defaultdocdir}/%{fsname}/ps
%define LOGFILEDIR /var/log/%{fsname}
%define MODINSTDIR %{_libdir}/%{fsname}/mod
%define RUNDIR %{_localstatedir}/run/%{fsname}
%define DBDIR %{LOCALSTATEDIR}/db
%define HTDOCSDIR %{_datarootdir}/%{fsname}/htdocs
%define SOUNDSDIR %{_datarootdir}/%{fsname}/sounds
%define GRAMMARDIR %{_datarootdir}/%{fsname}/grammar
%define SCRIPTDIR %{_datarootdir}/%{fsname}/scripts
%define RECORDINGSDIR %{LOCALSTATEDIR}/recordings
%define PKGCONFIGDIR %{_datarootdir}/%{fsname}/pkgconfig
%define HOMEDIR %{LOCALSTATEDIR}
############################################################################## ##############################################################################
# General # General
@ -142,13 +173,13 @@ done' > ./us/callie/buildsounds-callie.sh
[ "%{buildroot}" != '/' ] && rm -rf %{buildroot} [ "%{buildroot}" != '/' ] && rm -rf %{buildroot}
# create the sounds directories # create the sounds directories
%{__install} -d -m 0750 %{buildroot}%{_prefix}/sounds/en/us/callie %{__install} -d -m 0750 %{buildroot}%{SOUNDSDIR}/en/us/callie
pushd us/callie pushd us/callie
# first install the 48KHz sounds # first install the 48KHz sounds
%{__cp} -prv ./* %{buildroot}%{_prefix}/sounds/en/us/callie %{__cp} -prv ./* %{buildroot}%{SOUNDSDIR}/en/us/callie
# now resample the 48KHz ones to 8KHz, 16KHz and 32KHz # now resample the 48KHz ones to 8KHz, 16KHz and 32KHz
./buildsounds-callie.sh %{buildroot}%{_prefix}/sounds/en/us/callie ./buildsounds-callie.sh %{buildroot}%{SOUNDSDIR}/en/us/callie
popd popd
############################################################################## ##############################################################################
@ -164,8 +195,8 @@ popd
%post %post
# generate the 8KHz, 16KHz and 32KHz prompts from the 48KHz ones # generate the 8KHz, 16KHz and 32KHz prompts from the 48KHz ones
cd %{_prefix}/sounds/en/us/callie cd %{SOUNDSDIR}/en/us/callie
./buildsounds-callie.sh %{_prefix}/sounds/en/us/callie ./buildsounds-callie.sh %{SOUNDSDIR}/en/us/callie
############################################################################## ##############################################################################
# Postun # Postun
@ -182,115 +213,115 @@ cd %{_prefix}/sounds/en/us/callie
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%attr(0750,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/buildsounds-callie.sh %attr(0750,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/buildsounds-callie.sh
%files -n freeswitch-sounds-en-us-callie-8000 %files -n freeswitch-sounds-en-us-callie-8000
%defattr(-,root,root,-) %defattr(-,root,root,-)
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ascii/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ascii/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/base256/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/base256/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/conference/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/conference/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/currency/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/currency/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/digits/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/digits/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/directory/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/directory/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ivr/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ivr/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/misc/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/misc/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/phonetic-ascii/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/phonetic-ascii/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/time/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/time/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/voicemail/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/voicemail/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/zrtp/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/zrtp/8000
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ascii/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ascii/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/base256/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/base256/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/conference/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/conference/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/currency/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/currency/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/digits/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/digits/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/directory/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/directory/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ivr/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ivr/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/misc/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/misc/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/phonetic-ascii/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/phonetic-ascii/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/time/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/time/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/voicemail/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/voicemail/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/zrtp/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/zrtp/8000/*.wav
%files -n freeswitch-sounds-en-us-callie-16000 %files -n freeswitch-sounds-en-us-callie-16000
%defattr(-,root,root,-) %defattr(-,root,root,-)
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ascii/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ascii/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/base256/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/base256/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/conference/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/conference/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/currency/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/currency/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/digits/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/digits/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/directory/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/directory/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ivr/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ivr/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/misc/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/misc/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/phonetic-ascii/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/phonetic-ascii/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/time/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/time/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/voicemail/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/voicemail/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/zrtp/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/zrtp/16000
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ascii/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ascii/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/base256/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/base256/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/conference/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/conference/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/currency/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/currency/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/digits/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/digits/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/directory/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/directory/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ivr/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ivr/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/misc/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/misc/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/phonetic-ascii/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/phonetic-ascii/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/time/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/time/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/voicemail/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/voicemail/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/zrtp/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/zrtp/16000/*.wav
%files -n freeswitch-sounds-en-us-callie-32000 %files -n freeswitch-sounds-en-us-callie-32000
%defattr(-,root,root,-) %defattr(-,root,root,-)
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ascii/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ascii/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/base256/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/base256/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/conference/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/conference/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/currency/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/currency/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/digits/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/digits/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/directory/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/directory/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ivr/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ivr/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/misc/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/misc/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/phonetic-ascii/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/phonetic-ascii/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/time/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/time/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/voicemail/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/voicemail/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/zrtp/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/zrtp/32000
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ascii/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ascii/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/base256/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/base256/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/conference/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/conference/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/currency/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/currency/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/digits/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/digits/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/directory/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/directory/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ivr/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ivr/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/misc/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/misc/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/phonetic-ascii/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/phonetic-ascii/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/time/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/time/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/voicemail/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/voicemail/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/zrtp/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/zrtp/32000/*.wav
%files -n freeswitch-sounds-en-us-callie-48000 %files -n freeswitch-sounds-en-us-callie-48000
%defattr(-,root,root,-) %defattr(-,root,root,-)
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ascii/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ascii/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/base256/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/base256/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/conference/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/conference/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/currency/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/currency/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/digits/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/digits/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/directory/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/directory/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ivr/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ivr/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/misc/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/misc/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/phonetic-ascii/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/phonetic-ascii/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/time/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/time/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/voicemail/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/voicemail/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/zrtp/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/zrtp/48000
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ascii/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ascii/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/base256/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/base256/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/conference/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/conference/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/currency/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/currency/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/digits/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/digits/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/directory/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/directory/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ivr/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ivr/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/misc/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/misc/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/phonetic-ascii/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/phonetic-ascii/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/time/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/time/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/voicemail/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/voicemail/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/zrtp/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/zrtp/48000/*.wav
%files -n freeswitch-sounds-en-us-callie-all %files -n freeswitch-sounds-en-us-callie-all
@ -299,6 +330,9 @@ cd %{_prefix}/sounds/en/us/callie
############################################################################## ##############################################################################
%changelog %changelog
* Sun Mar 05 2012 Ken Rice <krice@freeswitch.org> - 1.0.18-1
- update to FHS Layout for FreeSWITCH
- bump up version
* Sun May 22 2011 Michal Bielicki <michal.bielicki@seventhsignal.de> - 1.0.16-1 * Sun May 22 2011 Michal Bielicki <michal.bielicki@seventhsignal.de> - 1.0.16-1
- bump up version - bump up version
* Tue Jan 18 2011 Michal Bielicki <michal.bielicki@seventhsignal.de> - 1.0.14-1 * Tue Jan 18 2011 Michal Bielicki <michal.bielicki@seventhsignal.de> - 1.0.14-1

View File

@ -1,11 +1,41 @@
%define prefix /opt/freeswitch %define PREFIX %{_prefix}
%define _prefix %{prefix} %define EXECPREFIX %{_exec_prefix}
%define BINDIR %{_bindir}
%define SBINDIR %{_sbindir}
%define LIBEXECDIR %{_libexecdir}/%{fsname}
%define SYSCONFDIR %{_sysconfdir}/%{fsname}
%define SHARESTATEDIR %{_sharedstatedir}/%{fsname}
%define LOCALSTATEDIR %{_localstatedir}/lib/%{fsname}
%define LIBDIR %{_libdir}
%define INCLUDEDIR %{_includedir}
%define _datarootdir %{_prefix}/share
%define DATAROOTDIR %{_datarootdir}
%define DATADIR %{_datadir}
%define INFODIR %{_infodir}
%define LOCALEDIR %{_datarootdir}/locale
%define MANDIR %{_mandir}
%define DOCDIR %{_defaultdocdir}/%{fsname}
%define HTMLDIR %{_defaultdocdir}/%{fsname}/html
%define DVIDIR %{_defaultdocdir}/%{fsname}/dvi
%define PDFDIR %{_defaultdocdir}/%{fsname}/pdf
%define PSDIR %{_defaultdocdir}/%{fsname}/ps
%define LOGFILEDIR /var/log/%{fsname}
%define MODINSTDIR %{_libdir}/%{fsname}/mod
%define RUNDIR %{_localstatedir}/run/%{fsname}
%define DBDIR %{LOCALSTATEDIR}/db
%define HTDOCSDIR %{_datarootdir}/%{fsname}/htdocs
%define SOUNDSDIR %{_datarootdir}/%{fsname}/sounds
%define GRAMMARDIR %{_datarootdir}/%{fsname}/grammar
%define SCRIPTDIR %{_datarootdir}/%{fsname}/scripts
%define RECORDINGSDIR %{LOCALSTATEDIR}/recordings
%define PKGCONFIGDIR %{_datarootdir}/%{fsname}/pkgconfig
%define HOMEDIR %{LOCALSTATEDIR}
Summary: FreeSWITCH Music on Hold soundfiles Summary: FreeSWITCH Music on Hold soundfiles
Name: freeswitch-sounds-music Name: freeswitch-sounds-music
Version: 1.0.8 Version: 1.0.8
Release: 1%{?dist} Release: 2%{?dist}
License: MPL License: MPL
Group: Productivity/Telephony/Servers Group: Productivity/Telephony/Servers
Packager: Joseph L. Casale <jcasale@activenetwerx.com> Packager: Joseph L. Casale <jcasale@activenetwerx.com>
@ -80,8 +110,8 @@ FreeSWITCH 48kHz Music On Hold soundfiles
%install %install
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
%{__install} -d -m 0750 %{buildroot}/%{_prefix}/sounds/music/{8000,16000,32000,48000} %{__install} -d -m 0750 %{buildroot}/%{SOUNDSDIR}/music/{8000,16000,32000,48000}
%{__cp} -prv ./{8000,16000,32000,48000} %{buildroot}%{_prefix}/sounds/music %{__cp} -prv ./{8000,16000,32000,48000} %{buildroot}%{SOUNDSDIR}/music
%clean %clean
@ -99,28 +129,30 @@ FreeSWITCH 48kHz Music On Hold soundfiles
%files -n freeswitch-sounds-music-8000 %files -n freeswitch-sounds-music-8000
%defattr(-,root,root,-) %defattr(-,root,root,-)
%dir %{_prefix}/sounds/music/8000 %dir %{SOUNDSDIR}/music/8000
%{_prefix}/sounds/music/8000/*.wav %{SOUNDSDIR}/music/8000/*.wav
%files -n freeswitch-sounds-music-16000 %files -n freeswitch-sounds-music-16000
%defattr(-,root,root,-) %defattr(-,root,root,-)
%dir %{_prefix}/sounds/music/16000 %dir %{SOUNDSDIR}/music/16000
%{_prefix}/sounds/music/16000/*.wav %{SOUNDSDIR}/music/16000/*.wav
%files -n freeswitch-sounds-music-32000 %files -n freeswitch-sounds-music-32000
%defattr(-,root,root,-) %defattr(-,root,root,-)
%dir %{_prefix}/sounds/music/32000 %dir %{SOUNDSDIR}/music/32000
%{_prefix}/sounds/music/32000/*.wav %{SOUNDSDIR}/music/32000/*.wav
%files -n freeswitch-sounds-music-48000 %files -n freeswitch-sounds-music-48000
%defattr(-,root,root,-) %defattr(-,root,root,-)
%dir %{_prefix}/sounds/music/48000 %dir %{SOUNDSDIR}/music/48000
%{_prefix}/sounds/music/48000/*.wav %{SOUNDSDIR}/music/48000/*.wav
%changelog %changelog
* Sat Jul 16 2011 Joseph Casale <jcasale@activenetwerx.com> 1.0.8-2
- Fix up for FreeSWITCH FHS and AutoBuild System
* Sat Jul 16 2011 Joseph Casale <jcasale@activenetwerx.com> 1.0.8-1 * Sat Jul 16 2011 Joseph Casale <jcasale@activenetwerx.com> 1.0.8-1
- Initial release - Initial release

View File

@ -20,14 +20,48 @@
# Set variables # Set variables
############################################################################## ##############################################################################
%define version 1.0.13 %define version %{VERSION_NUMBER}
%define release 1 %define release %{BUILD_NUMBER}
%define fsname freeswitch %define fsname freeswitch
# you could add a version number to be more strict # you could add a version number to be more strict
%define prefix /opt/freeswitch %define PREFIX %{_prefix}
%define _prefix %{prefix} %define EXECPREFIX %{_exec_prefix}
%define BINDIR %{_bindir}
%define SBINDIR %{_sbindir}
%define LIBEXECDIR %{_libexecdir}/%{fsname}
%define SYSCONFDIR %{_sysconfdir}/%{fsname}
%define SHARESTATEDIR %{_sharedstatedir}/%{fsname}
%define LOCALSTATEDIR %{_localstatedir}/lib/%{fsname}
%define LIBDIR %{_libdir}
%define INCLUDEDIR %{_includedir}
%define _datarootdir %{_prefix}/share
%define DATAROOTDIR %{_datarootdir}
%define DATADIR %{_datadir}
%define INFODIR %{_infodir}
%define LOCALEDIR %{_datarootdir}/locale
%define MANDIR %{_mandir}
%define DOCDIR %{_defaultdocdir}/%{fsname}
%define HTMLDIR %{_defaultdocdir}/%{fsname}/html
%define DVIDIR %{_defaultdocdir}/%{fsname}/dvi
%define PDFDIR %{_defaultdocdir}/%{fsname}/pdf
%define PSDIR %{_defaultdocdir}/%{fsname}/ps
%define LOGFILEDIR /var/log/%{fsname}
%define MODINSTDIR %{_libdir}/%{fsname}/mod
%define RUNDIR %{_localstatedir}/run/%{fsname}
%define DBDIR %{LOCALSTATEDIR}/db
%define HTDOCSDIR %{_datarootdir}/%{fsname}/htdocs
%define SOUNDSDIR %{_datarootdir}/%{fsname}/sounds
%define GRAMMARDIR %{_datarootdir}/%{fsname}/grammar
%define SCRIPTDIR %{_datarootdir}/%{fsname}/scripts
%define RECORDINGSDIR %{LOCALSTATEDIR}/recordings
%define PKGCONFIGDIR %{_datarootdir}/%{fsname}/pkgconfig
%define HOMEDIR %{LOCALSTATEDIR}
############################################################################## ##############################################################################
# General # General
@ -141,13 +175,13 @@ done' > ./RU/elena/buildsounds-elena.sh
[ "%{buildroot}" != '/' ] && rm -rf %{buildroot} [ "%{buildroot}" != '/' ] && rm -rf %{buildroot}
# create the sounds directories # create the sounds directories
%{__install} -d -m 0750 %{buildroot}%{_prefix}/sounds/ru/RU/elena %{__install} -d -m 0750 %{buildroot}%{SOUNDSDIR}/ru/RU/elena
pushd RU/elena pushd RU/elena
# first install the 48KHz sounds # first install the 48KHz sounds
%{__cp} -prv ./* %{buildroot}%{_prefix}/sounds/ru/RU/elena %{__cp} -prv ./* %{buildroot}%{SOUNDSDIR}/ru/RU/elena
# now resample the 48KHz ones to 8KHz, 16KHz and 32KHz # now resample the 48KHz ones to 8KHz, 16KHz and 32KHz
./buildsounds-elena.sh %{buildroot}%{_prefix}/sounds/ru/RU/elena ./buildsounds-elena.sh %{buildroot}%{SOUNDSDIR}/ru/RU/elena
popd popd
############################################################################## ##############################################################################
@ -163,8 +197,8 @@ popd
%post %post
# generate the 8KHz, 16KHz and 32KHz prompts from the 48KHz ones # generate the 8KHz, 16KHz and 32KHz prompts from the 48KHz ones
cd %{_prefix}/sounds/ru/RU/elena cd %{SOUNDSDIR}/ru/RU/elena
./buildsounds-elena.sh %{_prefix}/sounds/ru/RU/elena ./buildsounds-elena.sh %{SOUNDSDIR}/ru/RU/elena
############################################################################## ##############################################################################
# Postun # Postun
@ -181,123 +215,123 @@ cd %{_prefix}/sounds/ru/RU/elena
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%attr(0750,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/buildsounds-elena.sh %attr(0750,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/buildsounds-elena.sh
%files -n freeswitch-sounds-ru-RU-elena-8000 %files -n freeswitch-sounds-ru-RU-elena-8000
%defattr(-,root,root,-) %defattr(-,root,root,-)
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ascii/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ascii/8000
#%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/base256/8000 #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/base256/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/conference/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/conference/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/currency/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/currency/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/digits/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/digits/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/directory/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/directory/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ivr/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ivr/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/misc/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/misc/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/time/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/time/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/voicemail/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/voicemail/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/zrtp/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/zrtp/8000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/users/8000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/users/8000
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ascii/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ascii/8000/*.wav
#%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/base256/8000/*.wav #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/base256/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/conference/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/conference/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/currency/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/currency/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/digits/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/digits/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/directory/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/directory/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ivr/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ivr/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/misc/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/misc/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/time/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/time/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/voicemail/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/voicemail/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/zrtp/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/zrtp/8000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/users/8000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/users/8000/*.wav
%files -n freeswitch-sounds-ru-RU-elena-16000 %files -n freeswitch-sounds-ru-RU-elena-16000
%defattr(-,root,root,-) %defattr(-,root,root,-)
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ascii/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ascii/16000
#%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/base256/16000 #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/base256/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/conference/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/conference/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/currency/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/currency/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/digits/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/digits/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/directory/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/directory/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ivr/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ivr/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/misc/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/misc/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/time/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/time/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/voicemail/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/voicemail/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/zrtp/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/zrtp/16000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/users/16000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/users/16000
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ascii/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ascii/16000/*.wav
#%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/base256/16000/*.wav #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/base256/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/conference/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/conference/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/currency/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/currency/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/digits/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/digits/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/directory/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/directory/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ivr/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ivr/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/misc/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/misc/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/time/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/time/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/voicemail/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/voicemail/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/zrtp/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/zrtp/16000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/users/16000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/users/16000/*.wav
%files -n freeswitch-sounds-ru-RU-elena-32000 %files -n freeswitch-sounds-ru-RU-elena-32000
%defattr(-,root,root,-) %defattr(-,root,root,-)
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ascii/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ascii/32000
#%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/base256/32000 #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/base256/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/conference/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/conference/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/currency/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/currency/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/digits/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/digits/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/directory/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/directory/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ivr/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ivr/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/misc/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/misc/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/time/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/time/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/voicemail/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/voicemail/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/zrtp/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/zrtp/32000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/users/32000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/users/32000
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ascii/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ascii/32000/*.wav
#%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/base256/32000/*.wav #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/base256/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/conference/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/conference/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/currency/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/currency/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/digits/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/digits/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/directory/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/directory/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ivr/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ivr/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/misc/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/misc/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/time/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/time/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/voicemail/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/voicemail/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/zrtp/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/zrtp/32000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/users/32000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/users/32000/*.wav
%files -n freeswitch-sounds-ru-RU-elena-48000 %files -n freeswitch-sounds-ru-RU-elena-48000
%defattr(-,root,root,-) %defattr(-,root,root,-)
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ascii/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ascii/48000
#%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/base256/48000 #%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/base256/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/conference/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/conference/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/currency/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/currency/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/digits/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/digits/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/directory/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/directory/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ivr/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ivr/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/misc/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/misc/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/time/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/time/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/voicemail/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/voicemail/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/zrtp/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/zrtp/48000
%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/users/48000 %attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/users/48000
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ascii/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ascii/48000/*.wav
#%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/base256/48000/*.wav #%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/base256/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/conference/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/conference/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/currency/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/currency/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/digits/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/digits/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/directory/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/directory/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ivr/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ivr/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/misc/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/misc/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/time/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/time/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/voicemail/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/voicemail/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/zrtp/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/zrtp/48000/*.wav
%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/users/48000/*.wav %attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/users/48000/*.wav
%files -n freeswitch-sounds-ru-RU-elena-all %files -n freeswitch-sounds-ru-RU-elena-all
@ -306,5 +340,7 @@ cd %{_prefix}/sounds/ru/RU/elena
############################################################################## ##############################################################################
%changelog %changelog
* Mon Mar 06 2012 Ken Rice <krice@freeswitch.org> - 1.0.13-2
- created out of the spec file for elena
* Mon Jul 11 2011 Michal Bielicki <michal.bielicki@seventhsignal.de> - 1.0.13-1 * Mon Jul 11 2011 Michal Bielicki <michal.bielicki@seventhsignal.de> - 1.0.13-1
- created out of the spec file for elena - created out of the spec file for elena

File diff suppressed because it is too large Load Diff