Permalink
Browse files

centos: rework CentOS spec files

 * break out modules
 * conform to FHS
 * support CentOS v5
  • Loading branch information...
1 parent 08d8a1a commit e7d047242ffed3df0546127c08e01a3524f95e93 @swk swk committed with traviscross Mar 24, 2012
Showing with 2,073 additions and 793 deletions.
  1. +5 −5 build/freeswitch.init.redhat
  2. +142 −108 freeswitch-sounds-en-us-callie.spec
  3. +46 −14 freeswitch-sounds-music.spec
  4. +150 −114 freeswitch-sounds-ru-RU-elena.spec
  5. +1,730 −552 freeswitch.spec
View
10 build/freeswitch.init.redhat
@@ -7,8 +7,8 @@
# chkconfig: 345 89 14
# description: Starts and stops the freeswitch server daemon
# processname: freeswitch
-# config: /opt/freeswitch/conf/freeswitch.conf
-# pidfile: /opt/freeswitch/run/freeswitch.pid
+# config: /usr/local/freeswitch/conf/freeswitch.conf
+# pidfile: /usr/local/freeswitch/run/freeswitch.pid
#
# Source function library.
@@ -17,13 +17,13 @@
PROG_NAME=freeswitch
PID_FILE=${PID_FILE-/var/run/freeswitch/freeswitch.pid}
FS_USER=${FS_USER-freeswitch}
-FS_FILE=${FS_FILE-/opt/freeswitch/bin/freeswitch}
-FS_HOME=${FS_HOME-/opt/freeswitch}
+FS_FILE=${FS_FILE-/usr/freeswitch}
+FS_HOME=${FS_HOME-/var/run/freeswitch}
LOCK_FILE=/var/lock/subsys/freeswitch
FREESWITCH_ARGS="-nc"
RETVAL=0
-# Source options file
+# Source usr/localions file
if [ -f /etc/sysconfig/freeswitch ]; then
. /etc/sysconfig/freeswitch
fi
View
250 freeswitch-sounds-en-us-callie.spec
@@ -2,7 +2,7 @@
# 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
# Some fixes and additions (c) 2011 Michal Bielicki
@@ -14,20 +14,51 @@
# 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
##############################################################################
-%define version 1.0.16
-%define release 1
+%define version %{VERSION_NUMBER}
+%define release %{BUILD_NUMBER}
%define fsname freeswitch
# 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
@@ -142,13 +173,13 @@ done' > ./us/callie/buildsounds-callie.sh
[ "%{buildroot}" != '/' ] && rm -rf %{buildroot}
# 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
# 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
-./buildsounds-callie.sh %{buildroot}%{_prefix}/sounds/en/us/callie
+./buildsounds-callie.sh %{buildroot}%{SOUNDSDIR}/en/us/callie
popd
##############################################################################
@@ -164,8 +195,8 @@ popd
%post
# generate the 8KHz, 16KHz and 32KHz prompts from the 48KHz ones
-cd %{_prefix}/sounds/en/us/callie
-./buildsounds-callie.sh %{_prefix}/sounds/en/us/callie
+cd %{SOUNDSDIR}/en/us/callie
+./buildsounds-callie.sh %{SOUNDSDIR}/en/us/callie
##############################################################################
# Postun
@@ -182,115 +213,115 @@ cd %{_prefix}/sounds/en/us/callie
%files
%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
%defattr(-,root,root,-)
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ascii/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/base256/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/conference/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/currency/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/digits/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/directory/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ivr/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/misc/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/phonetic-ascii/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/time/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/voicemail/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/zrtp/8000
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ascii/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/base256/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/conference/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/currency/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/digits/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/directory/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ivr/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/misc/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/phonetic-ascii/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/time/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/voicemail/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/zrtp/8000/*.wav
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ascii/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/base256/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/conference/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/currency/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/digits/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/directory/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ivr/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/misc/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/phonetic-ascii/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/time/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/voicemail/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/zrtp/8000
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ascii/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/base256/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/conference/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/currency/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/digits/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/directory/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ivr/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/misc/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/phonetic-ascii/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/time/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/voicemail/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/zrtp/8000/*.wav
%files -n freeswitch-sounds-en-us-callie-16000
%defattr(-,root,root,-)
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ascii/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/base256/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/conference/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/currency/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/digits/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/directory/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ivr/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/misc/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/phonetic-ascii/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/time/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/voicemail/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/zrtp/16000
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ascii/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/base256/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/conference/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/currency/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/digits/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/directory/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ivr/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/misc/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/phonetic-ascii/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/time/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/voicemail/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/zrtp/16000/*.wav
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ascii/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/base256/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/conference/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/currency/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/digits/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/directory/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ivr/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/misc/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/phonetic-ascii/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/time/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/voicemail/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/zrtp/16000
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ascii/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/base256/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/conference/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/currency/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/digits/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/directory/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ivr/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/misc/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/phonetic-ascii/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/time/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/voicemail/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/zrtp/16000/*.wav
%files -n freeswitch-sounds-en-us-callie-32000
%defattr(-,root,root,-)
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ascii/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/base256/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/conference/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/currency/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/digits/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/directory/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ivr/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/misc/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/phonetic-ascii/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/time/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/voicemail/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/zrtp/32000
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ascii/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/base256/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/conference/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/currency/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/digits/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/directory/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ivr/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/misc/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/phonetic-ascii/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/time/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/voicemail/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/zrtp/32000/*.wav
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ascii/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/base256/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/conference/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/currency/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/digits/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/directory/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ivr/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/misc/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/phonetic-ascii/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/time/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/voicemail/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/zrtp/32000
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ascii/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/base256/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/conference/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/currency/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/digits/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/directory/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ivr/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/misc/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/phonetic-ascii/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/time/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/voicemail/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/zrtp/32000/*.wav
%files -n freeswitch-sounds-en-us-callie-48000
%defattr(-,root,root,-)
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ascii/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/base256/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/conference/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/currency/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/digits/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/directory/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/ivr/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/misc/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/phonetic-ascii/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/time/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/voicemail/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/en/us/callie/zrtp/48000
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ascii/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/base256/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/conference/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/currency/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/digits/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/directory/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/ivr/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/misc/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/phonetic-ascii/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/time/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/voicemail/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/en/us/callie/zrtp/48000/*.wav
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ascii/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/base256/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/conference/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/currency/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/digits/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/directory/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/ivr/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/misc/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/phonetic-ascii/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/time/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/voicemail/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/en/us/callie/zrtp/48000
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ascii/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/base256/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/conference/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/currency/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/digits/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/directory/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/ivr/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/misc/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/phonetic-ascii/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/time/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/voicemail/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/en/us/callie/zrtp/48000/*.wav
%files -n freeswitch-sounds-en-us-callie-all
@@ -299,6 +330,9 @@ cd %{_prefix}/sounds/en/us/callie
##############################################################################
%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
- bump up version
* Tue Jan 18 2011 Michal Bielicki <michal.bielicki@seventhsignal.de> - 1.0.14-1
View
60 freeswitch-sounds-music.spec
@@ -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
Name: freeswitch-sounds-music
Version: 1.0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MPL
Group: Productivity/Telephony/Servers
Packager: Joseph L. Casale <jcasale@activenetwerx.com>
@@ -80,8 +110,8 @@ FreeSWITCH 48kHz Music On Hold soundfiles
%install
%{__rm} -rf %{buildroot}
-%{__install} -d -m 0750 %{buildroot}/%{_prefix}/sounds/music/{8000,16000,32000,48000}
-%{__cp} -prv ./{8000,16000,32000,48000} %{buildroot}%{_prefix}/sounds/music
+%{__install} -d -m 0750 %{buildroot}/%{SOUNDSDIR}/music/{8000,16000,32000,48000}
+%{__cp} -prv ./{8000,16000,32000,48000} %{buildroot}%{SOUNDSDIR}/music
%clean
@@ -99,28 +129,30 @@ FreeSWITCH 48kHz Music On Hold soundfiles
%files -n freeswitch-sounds-music-8000
%defattr(-,root,root,-)
-%dir %{_prefix}/sounds/music/8000
-%{_prefix}/sounds/music/8000/*.wav
+%dir %{SOUNDSDIR}/music/8000
+%{SOUNDSDIR}/music/8000/*.wav
%files -n freeswitch-sounds-music-16000
%defattr(-,root,root,-)
-%dir %{_prefix}/sounds/music/16000
-%{_prefix}/sounds/music/16000/*.wav
+%dir %{SOUNDSDIR}/music/16000
+%{SOUNDSDIR}/music/16000/*.wav
%files -n freeswitch-sounds-music-32000
%defattr(-,root,root,-)
-%dir %{_prefix}/sounds/music/32000
-%{_prefix}/sounds/music/32000/*.wav
+%dir %{SOUNDSDIR}/music/32000
+%{SOUNDSDIR}/music/32000/*.wav
%files -n freeswitch-sounds-music-48000
%defattr(-,root,root,-)
-%dir %{_prefix}/sounds/music/48000
-%{_prefix}/sounds/music/48000/*.wav
+%dir %{SOUNDSDIR}/music/48000
+%{SOUNDSDIR}/music/48000/*.wav
%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
-- Initial release
+- Initial release
View
264 freeswitch-sounds-ru-RU-elena.spec
@@ -20,14 +20,48 @@
# Set variables
##############################################################################
-%define version 1.0.13
-%define release 1
+%define version %{VERSION_NUMBER}
+%define release %{BUILD_NUMBER}
%define fsname freeswitch
# 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
@@ -141,13 +175,13 @@ done' > ./RU/elena/buildsounds-elena.sh
[ "%{buildroot}" != '/' ] && rm -rf %{buildroot}
# 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
# 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
-./buildsounds-elena.sh %{buildroot}%{_prefix}/sounds/ru/RU/elena
+./buildsounds-elena.sh %{buildroot}%{SOUNDSDIR}/ru/RU/elena
popd
##############################################################################
@@ -163,8 +197,8 @@ popd
%post
# generate the 8KHz, 16KHz and 32KHz prompts from the 48KHz ones
-cd %{_prefix}/sounds/ru/RU/elena
-./buildsounds-elena.sh %{_prefix}/sounds/ru/RU/elena
+cd %{SOUNDSDIR}/ru/RU/elena
+./buildsounds-elena.sh %{SOUNDSDIR}/ru/RU/elena
##############################################################################
# Postun
@@ -181,123 +215,123 @@ cd %{_prefix}/sounds/ru/RU/elena
%files
%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
%defattr(-,root,root,-)
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ascii/8000
-#%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/base256/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/conference/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/currency/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/digits/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/directory/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ivr/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/misc/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/time/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/voicemail/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/zrtp/8000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/users/8000
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ascii/8000/*.wav
-#%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/base256/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/conference/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/currency/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/digits/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/directory/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ivr/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/misc/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/time/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/voicemail/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/zrtp/8000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/users/8000/*.wav
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ascii/8000
+#%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/base256/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/conference/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/currency/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/digits/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/directory/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ivr/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/misc/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/time/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/voicemail/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/zrtp/8000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/users/8000
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ascii/8000/*.wav
+#%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/base256/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/conference/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/currency/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/digits/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/directory/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ivr/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/misc/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/time/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/voicemail/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/zrtp/8000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/users/8000/*.wav
%files -n freeswitch-sounds-ru-RU-elena-16000
%defattr(-,root,root,-)
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ascii/16000
-#%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/base256/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/conference/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/currency/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/digits/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/directory/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ivr/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/misc/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/time/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/voicemail/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/zrtp/16000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/users/16000
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ascii/16000/*.wav
-#%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/base256/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/conference/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/currency/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/digits/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/directory/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ivr/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/misc/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/time/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/voicemail/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/zrtp/16000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/users/16000/*.wav
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ascii/16000
+#%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/base256/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/conference/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/currency/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/digits/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/directory/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ivr/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/misc/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/time/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/voicemail/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/zrtp/16000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/users/16000
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ascii/16000/*.wav
+#%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/base256/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/conference/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/currency/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/digits/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/directory/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ivr/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/misc/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/time/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/voicemail/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/zrtp/16000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/users/16000/*.wav
%files -n freeswitch-sounds-ru-RU-elena-32000
%defattr(-,root,root,-)
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ascii/32000
-#%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/base256/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/conference/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/currency/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/digits/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/directory/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ivr/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/misc/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/time/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/voicemail/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/zrtp/32000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/users/32000
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ascii/32000/*.wav
-#%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/base256/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/conference/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/currency/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/digits/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/directory/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ivr/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/misc/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/time/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/voicemail/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/zrtp/32000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/users/32000/*.wav
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ascii/32000
+#%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/base256/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/conference/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/currency/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/digits/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/directory/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ivr/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/misc/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/time/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/voicemail/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/zrtp/32000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/users/32000
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ascii/32000/*.wav
+#%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/base256/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/conference/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/currency/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/digits/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/directory/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ivr/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/misc/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/time/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/voicemail/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/zrtp/32000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/users/32000/*.wav
%files -n freeswitch-sounds-ru-RU-elena-48000
%defattr(-,root,root,-)
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ascii/48000
-#%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/base256/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/conference/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/currency/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/digits/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/directory/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/ivr/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/misc/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/time/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/voicemail/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/zrtp/48000
-%attr(0750,freeswitch,daemon) %dir %{_prefix}/sounds/ru/RU/elena/users/48000
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ascii/48000/*.wav
-#%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/base256/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/conference/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/currency/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/digits/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/directory/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/ivr/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/misc/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/phonetic-ascii/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/time/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/voicemail/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/zrtp/48000/*.wav
-%attr(0640,freeswitch,daemon) %{_prefix}/sounds/ru/RU/elena/users/48000/*.wav
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ascii/48000
+#%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/base256/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/conference/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/currency/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/digits/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/directory/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/ivr/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/misc/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/time/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/voicemail/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/zrtp/48000
+%attr(0750,freeswitch,daemon) %dir %{SOUNDSDIR}/ru/RU/elena/users/48000
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ascii/48000/*.wav
+#%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/base256/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/conference/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/currency/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/digits/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/directory/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/ivr/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/misc/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/phonetic-ascii/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/time/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/voicemail/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/zrtp/48000/*.wav
+%attr(0640,freeswitch,daemon) %{SOUNDSDIR}/ru/RU/elena/users/48000/*.wav
%files -n freeswitch-sounds-ru-RU-elena-all
@@ -306,5 +340,7 @@ cd %{_prefix}/sounds/ru/RU/elena
##############################################################################
%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
- created out of the spec file for elena
View
2,282 freeswitch.spec
1,730 additions, 552 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit e7d0472

Please sign in to comment.