SPECS: asterisk-addons.spec - up to 1.2.1, build, not tested

dzeus dzeus at pld-linux.org
Thu Jan 19 10:33:26 CET 2006


Author: dzeus                        Date: Thu Jan 19 09:33:26 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.2.1, build, not tested

---- Files affected:
SPECS:
   asterisk-addons.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/asterisk-addons.spec
diff -u SPECS/asterisk-addons.spec:1.3 SPECS/asterisk-addons.spec:1.4
--- SPECS/asterisk-addons.spec:1.3	Mon Mar 21 21:23:15 2005
+++ SPECS/asterisk-addons.spec	Thu Jan 19 10:33:21 2006
@@ -3,7 +3,7 @@
 Summary:	Additional modules for Asterisk
 Summary(pl):	Dodatkowe moduły dla Asteriska
 Name:		asterisk-addons
-Version:	1.0.7
+Version:	1.2.1
 Release:	0.1
 License:	BSD
 Group:		Applications/System
@@ -27,7 +27,7 @@
 
 %prep
 %setup -q
-sed -i -e s'#CFLAGS+=-I../asterisk#CFLAGS+=-I/usr/include/asterisk#g' Makefile
+#sed -i -e s'#CFLAGS+=-I../asterisk#CFLAGS+=-I/usr/include/asterisk#g' Makefile
 
 %build
 %{__make} \
@@ -36,14 +36,23 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT{/%{_libdir}/asterisk/modules,/%{_sysconfdir}/asterisk}
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install configs/cdr_mysql.conf.sample $RPM_BUILD_ROOT/%{_sysconfdir}/asterisk/cdr_mysql.conf
+install configs/res_mysql.conf.sample $RPM_BUILD_ROOT/%{_sysconfdir}/asterisk/res_mysql.conf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc README doc/cdr_mysql.txt
+%dir %{_sysconfdir}/asterisk
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/*.conf
+%attr(755,root,root) %{_libdir}/asterisk/modules/*.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -51,6 +60,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/01/19 09:33:21  dzeus
+- up to 1.2.1, build, not tested
+
 Revision 1.3  2005/03/21 20:23:15  qboosh
 - pl fix, BR: sed 4.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/asterisk-addons.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list