Update spec file
authorMark Spencer <markster@digium.com>
Wed, 16 Mar 2005 16:51:45 +0000 (16:51 +0000)
committerMark Spencer <markster@digium.com>
Wed, 16 Mar 2005 16:51:45 +0000 (16:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5182 65c4cc65-6c06-0410-ace0-fbb531ad65f3

redhat/asterisk.spec

index a7f3289..8842ef9 100755 (executable)
@@ -36,9 +36,9 @@ 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
 
 #
 # RedHat specific init script file
@@ -59,8 +59,20 @@ 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
 
 #
+# 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
@@ -101,6 +113,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