SPECS: asterisk-chan_misdn.spec - update to 0.3.1rc27. works.

marcus marcus at pld-linux.org
Mon Jan 1 15:30:57 CET 2007


Author: marcus                       Date: Mon Jan  1 14:30:57 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 0.3.1rc27. works.

---- Files affected:
SPECS:
   asterisk-chan_misdn.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/asterisk-chan_misdn.spec
diff -u SPECS/asterisk-chan_misdn.spec:1.4 SPECS/asterisk-chan_misdn.spec:1.5
--- SPECS/asterisk-chan_misdn.spec:1.4	Thu Jan 12 19:26:00 2006
+++ SPECS/asterisk-chan_misdn.spec	Mon Jan  1 15:30:52 2007
@@ -1,19 +1,17 @@
 # $Revision$, $Date$
-Summary:	Asterisk mISDN channel driver
-Summary(pl):	Sterownik kanału mISDN dla Asteriska
-Name:		asterisk-chan_misdn
-Version:	0.2.1
-Release:	0.1
-License:	GPL
-Group:		Applications
-Source0:	http://www.beronet.com/download/chan_misdn/stable/chan_misdn-%{version}.tar.gz
-# Source0-md5:	0495c0617c4331d19a399702b2f96366
-Source1:	http://isdn.jolly.de/download/v2.7/mISDNuser_for_PBX4Linux-2.7-fix1.tar.gz
-# Source1-md5:	146f5f3800545c224abec4108522ea9b
-URL:		http://www.beronet.com/index.php?option=com_remository&Itemid=38&func=selectfolder&cat=1&lang=en
-BuildRequires:	asterisk-devel
-BuildRequires:	mISDN-devel
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Summary:        Asterisk mISDN channel driver
+Summary(pl):    Sterownik kana<B3>u mISDN dla Asteriska
+Name:           asterisk-chan_misdn
+Version:        0.3.1
+Release:        0.rc27.1
+License:        GPL
+Group:          Applications
+Source0:        http://www.beronet.com/download/chan_misdn/stable/chan_misdn.tar.gz
+# Source0-md5:	0e2cbccfc6c6c995aeb782d2e40f1003
+BuildRequires:  asterisk-devel
+BuildRequires:  mISDN-devel
+BuildRequires:  mISDNuser-devel
+BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 mISDN Channel driver (chan_misdn) for the Asterisk Open Source VOIP
@@ -24,40 +22,38 @@
 źródłach Asterisk.
 
 %prep
-%setup -q -n chan_misdn -a1
-#-%{version} -a1
+%setup -q -n chan_misdn
 
 sed -i 's/#CFLAGS+=-DASTERISK_STABLE/CFLAGS+=-DASTERISK_STABLE/' Makefile
 sed -i 's/-ggdb//g' Makefile
 
 %build
-%{__make} -C mISDNuser \
-	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -DInternet_Port=2074 -I`pwd`/include"
-
 %{__make} \
-	CC="%{__cc}" \
-	MISDNUSER="mISDNuser"
+        CC="%{__cc}" \
+        MISDNUSERLIB=%{_libdir}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -D chan_misdn.so $RPM_BUILD_ROOT%{_prefix}/lib/asterisk/modules/chan_misdn.so
+install -D chan_misdn.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules/chan_misdn.so
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.misdn CHANGES mISDN.sample misdn.conf
-%attr(755,root,root) %{_prefix}/lib/asterisk/modules/chan_misdn.so
+%doc README.misdn misdn.conf
+%attr(755,root,root) %{_libdir}/asterisk/modules/*
 
-%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/01/01 14:30:52  marcus
+- update to 0.3.1rc27. works.
+
 Revision 1.4  2006/01/12 18:26:00  hunter
 - up to 0.2.1
 - proper url for Source0:
================================================================

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



More information about the pld-cvs-commit mailing list