Merged revisions 73316 via svnmerge from
[asterisk/asterisk.git] / redhat / asterisk.spec
old mode 100755 (executable)
new mode 100644 (file)
index a7f3289..4f4ab89
@@ -36,9 +36,10 @@ ln -sf /var/spool/asterisk/vm /var/lib/asterisk/sounds/vm
 #
 # Configuration files
 #
-%attr(0755,root,root) %dir    %{_sysconfdir}/asterisk
-%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/asterisk/*.conf
-%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/asterisk/*.adsi
+%attr(0755,root,root) %dir    /etc/asterisk
+%config(noreplace) %attr(0640,root,root) /etc/asterisk/*.conf
+%config(noreplace) %attr(0640,root,root) /etc/asterisk/*.adsi
+%config(noreplace) %attr(0640,root,root) /etc/asterisk/extensions.ael
 
 #
 # RedHat specific init script file
@@ -59,19 +60,36 @@ ln -sf /var/spool/asterisk/vm /var/lib/asterisk/sounds/vm
 %attr(0755,root,root)      /usr/sbin/safe_asterisk
 %attr(0755,root,root)      /usr/sbin/astgenkey
 %attr(0755,root,root)      /usr/sbin/astman
+%attr(0755,root,root)      /usr/sbin/autosupport
+%attr(0755,root,root)      /usr/sbin/smsq
+%attr(0755,root,root)      /usr/sbin/stereorize
+%attr(0755,root,root)      /usr/sbin/streamplayer
 
 #
+# CDR Locations
+#
+%attr(0755,root,root) %dir /var/log/asterisk
+%attr(0755,root,root) %dir /var/log/asterisk/cdr-csv
+#
+# Running directories
+#
+%attr(0755,root,root) %dir /var/run
+#
 # Sound files
 #
 %attr(0755,root,root) %dir /var/lib/asterisk
 %attr(0755,root,root) %dir /var/lib/asterisk/sounds
 %attr(0644,root,root)      /var/lib/asterisk/sounds/*.gsm
+%attr(0755,root,root) %dir /var/lib/asterisk/sounds/dictate
+%attr(0644,root,root)      /var/lib/asterisk/sounds/dictate/*.gsm
 %attr(0755,root,root) %dir /var/lib/asterisk/sounds/digits
 %attr(0644,root,root)      /var/lib/asterisk/sounds/digits/*.gsm
 %attr(0755,root,root) %dir /var/lib/asterisk/sounds/letters
 %attr(0644,root,root)      /var/lib/asterisk/sounds/letters/*.gsm
 %attr(0755,root,root) %dir /var/lib/asterisk/sounds/phonetic
 %attr(0644,root,root)      /var/lib/asterisk/sounds/phonetic/*.gsm
+%attr(0755,root,root) %dir /var/lib/asterisk/sounds/silence
+%attr(0644,root,root)      /var/lib/asterisk/sounds/silence/*.gsm
 %attr(0755,root,root) %dir /var/lib/asterisk/mohmp3
 %attr(0644,root,root)      /var/lib/asterisk/mohmp3/*
 %attr(0755,root,root) %dir /var/lib/asterisk/images
@@ -83,7 +101,11 @@ ln -sf /var/spool/asterisk/vm /var/lib/asterisk/sounds/vm
 #
 # Man page
 #
-%attr(0644,root,root)      /usr/share/man/man8/asterisk.8.gz
+%attr(0644,root,root)      /usr/share/man/man8/asterisk.8
+%attr(0644,root,root)      /usr/share/man/man8/astgenkey.8
+%attr(0644,root,root)      /usr/share/man/man8/autosupport.8
+%attr(0644,root,root)      /usr/share/man/man8/safe_asterisk.8
+
 #
 # Firmware
 #
@@ -101,6 +123,12 @@ ln -sf /var/spool/asterisk/vm /var/lib/asterisk/sounds/vm
 %attr(0755,root,root) %dir /var/spool/asterisk/voicemail/default/1234/INBOX
 %attr(0644,root,root)      /var/spool/asterisk/voicemail/default/1234/*.gsm
 
+#
+# Misc other spool
+#
+%attr(0755,root,root) %dir /var/spool/asterisk/system
+%attr(0755,root,root) %dir /var/spool/asterisk/tmp
+
 %files devel
 #
 # Include files