Index: redhat/asterisk.spec =================================================================== RCS file: /usr/cvsroot/asterisk/redhat/asterisk.spec,v retrieving revision 1.6 diff -u -r1.6 asterisk.spec --- redhat/asterisk.spec 14 Jul 2004 07:14:20 -0000 1.6 +++ redhat/asterisk.spec 16 Jul 2004 01:54:20 -0000 @@ -21,6 +21,14 @@ protocol (e.g. gnophone or miniphone). For more information and a current list of supported hardware, see www.asteriskpbx.com. +%package devel +Summary: Header files for building Asterisk modules +Group: Development/Libraries + +%description devel +This package contains the development header files that are needed +to compile 3rd party modules. + %post ln -sf /var/spool/asterisk/vm /var/lib/asterisk/sounds/vm @@ -38,12 +46,6 @@ %attr(0755,root,root) /etc/rc.d/init.d/asterisk # -# Include files -# -%attr(0755,root,root) %dir /usr/include/asterisk -%attr(0644,root,root) /usr/include/asterisk/*.h - -# # Modules # %attr(0755,root,root) %dir /usr/lib/asterisk @@ -95,3 +97,10 @@ %attr(0755,root,root) %dir /var/spool/asterisk/voicemail/default/1234 %attr(0755,root,root) %dir /var/spool/asterisk/voicemail/default/1234/INBOX %attr(0644,root,root) /var/spool/asterisk/voicemail/default/1234/*.gsm + +%files devel +# +# Include files +# +%attr(0755,root,root) %dir %{_includedir}/asterisk +%attr(0644,root,root) %{_includedir}/asterisk/*.h