[Asterisk-cvs] asterisk/redhat asterisk.spec,1.6,1.7

markster at lists.digium.com markster at lists.digium.com
Fri Jul 16 00:00:49 CDT 2004


Update of /usr/cvsroot/asterisk/redhat
In directory localhost.localdomain:/tmp/cvs-serv8210/redhat

Modified Files:
	asterisk.spec 
Log Message:
Put header files in -devel package (bug #2058)


Index: asterisk.spec
===================================================================
RCS file: /usr/cvsroot/asterisk/redhat/asterisk.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- asterisk.spec	14 Jul 2004 07:14:20 -0000	1.6
+++ asterisk.spec	16 Jul 2004 03:46:52 -0000	1.7
@@ -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




More information about the svn-commits mailing list