diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-16 03:46:52 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-16 03:46:52 +0000 |
commit | c245a72c58428612d1994b73181733899611188f (patch) | |
tree | 2528d69c613bddbf436ba7c67876b62d18fe8e45 /redhat | |
parent | 4ced1e0c7c42ab67071dc879cc4086618ac50d3a (diff) |
Put header files in -devel package (bug #2058)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3444 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'redhat')
-rwxr-xr-x | redhat/asterisk.spec | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/redhat/asterisk.spec b/redhat/asterisk.spec index 592f35404..d08792e02 100755 --- a/redhat/asterisk.spec +++ b/redhat/asterisk.spec @@ -21,6 +21,14 @@ POTS, and IP telephony clients using the Inter-Asterisk eXchange 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 @@ ln -sf /var/spool/asterisk/vm /var/lib/asterisk/sounds/vm %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 @@ ln -sf /var/spool/asterisk/vm /var/lib/asterisk/sounds/vm %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 |