packages: asterisk/asterisk.spec - added many, maaany missing BRs - fix bui...
sparky
sparky at pld-linux.org
Thu Dec 10 03:18:11 CET 2009
Author: sparky Date: Thu Dec 10 02:18:11 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- added many, maaany missing BRs
- fix build without wget
---- Files affected:
packages/asterisk:
asterisk.spec (1.138 -> 1.139)
---- Diffs:
================================================================
Index: packages/asterisk/asterisk.spec
diff -u packages/asterisk/asterisk.spec:1.138 packages/asterisk/asterisk.spec:1.139
--- packages/asterisk/asterisk.spec:1.138 Wed Dec 9 14:46:07 2009
+++ packages/asterisk/asterisk.spec Thu Dec 10 03:18:06 2009
@@ -10,8 +10,8 @@
# Conditional build:
%bcond_with rxfax # without rx (also tx :-D) fax
%bcond_with bluetooth # without bluetooth support (NFT)
-%bcond_with zhone # zhone hack
-%bcond_with zhone_hack # huge hack workarounding broken zhone channel banks which start randomly
+%bcond_with zhone # zhone hack
+%bcond_with zhone_hack # huge hack workarounding broken zhone channel banks which start randomly
# issuing pulse-dialled calls to weird numbers
%bcond_with bristuff # BRIstuff (Junghanns.NET BRI adapters) support
%bcond_with verbose # verbose build
@@ -29,9 +29,9 @@
# Source0-md5: e40cc69fb53e1cad9f30d1d533383efd
Source1: %{name}.init
Source2: %{name}.sysconfig
-Source3: http://downloads.digium.com/pub/telephony/sounds/releases/asterisk-core-sounds-en-gsm-1.4.13.tar.gz
+Source3: http://downloads.digium.com/pub/telephony/sounds/releases/%{name}-core-sounds-en-gsm-1.4.13.tar.gz
# Source3-md5: 65add705003e9aebdb4cd03bd1a26f97
-Source4: http://downloads.digium.com/pub/telephony/sounds/asterisk-moh-freeplay-wav.tar.gz
+Source4: http://downloads.digium.com/pub/telephony/sounds/%{name}-moh-freeplay-wav.tar.gz
# Source4-md5: e523fc2b4ac524f45da7815e97780540
Source5: %{name}.logrotate
Source10: http://soft-switch.org/downloads/spandsp/spandsp-%{_spandsp_version}/asterisk-1.2.x/app_txfax.c
@@ -61,38 +61,49 @@
BuildRequires: bison
%{?with_bluetooth:BuildRequires: bluez-devel}
BuildRequires: curl-devel
+BuildRequires: dahdi-linux-devel
BuildRequires: dahdi-tools-devel
-BuildRequires: freetds >= 0.63
+BuildRequires: freetds-devel >= 0.63
BuildRequires: gawk
BuildRequires: gcc >= 5:3.4
+BuildRequires: gmime22-devel
BuildRequires: iksemel-devel
BuildRequires: imap-static
BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: libcap-devel
BuildRequires: libogg-devel
BuildRequires: libvorbis-devel
+BuildRequires: mISDNuser-devel
BuildRequires: mysql-devel
BuildRequires: ncurses-devel
BuildRequires: net-snmp-devel
BuildRequires: newt-devel
+BuildRequires: openais-devel
+BuildRequires: openh323-devel
BuildRequires: openldap-devel
BuildRequires: openssl-devel >= 0.9.7d
+BuildRequires: pam-devel
+BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRequires: portaudio-devel
+BuildRequires: postgresql-devel
+BuildRequires: pwlib-devel
+BuildRequires: radiusclient-ng-devel
BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: sed >= 4.0
+BuildRequires: spandsp-devel
%{?with_rxfax:BuildRequires: spandsp-devel-%{_spandsp_version}}
BuildRequires: speex-devel
-BuildRequires: unixODBC-devel
-BuildRequires: zlib-devel
-BuildRequires: openh323-devel
-BuildRequires: pwlib-devel
+BuildRequires: sqlite-devel
BuildRequires: sqlite3-devel
+BuildRequires: unixODBC-devel
BuildRequires: xorg-lib-libX11-devel
+BuildRequires: zlib-devel
%if %{with bristuff}
BuildRequires: libgsmat-devel
BuildRequires: libpri-bristuff-devel >= 1.2.4
%else
-BuildRequires: libpri-devel >= 1.2.4
+BuildRequires: libpri-devel >= 1.2.4
%endif
Requires(post,preun): /sbin/chkconfig
Requires: rc-scripts
@@ -149,7 +160,7 @@
Pliki przykładowe dla centralki Asterisk.
%prep
-%setup -q -n %{name}-%{version}
+%setup -q
%{?with_zhone:sed -i -e 's|.*#define.*ZHONE_HACK.*|#define ZHONE_HACK 1|g' channels/chan_zap.c}
@@ -194,7 +205,8 @@
%{__autoheader}
%{__autoconf}
-CPPFLAGS="-I/usr/include/openh323"; export CPPFLAGS
+export CPPFLAGS="%{rpmcppflags} -I/usr/include/openh323"
+export WGET="/bin/true"
%configure \
%{?with_bristuff:--with-gsmat=%{_prefix}} \
--with-imap="`pwd`"/imap
@@ -338,6 +350,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.139 2009/12/10 02:18:06 sparky
+- added many, maaany missing BRs
+- fix build without wget
+
Revision 1.138 2009/12/09 13:46:07 baggins
- rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/asterisk/asterisk.spec?r1=1.138&r2=1.139&f=u
More information about the pld-cvs-commit
mailing list