Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
asterisk
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 7
[-]
[+]
Added
asterisk.spec
@@ -0,0 +1,588 @@ +# +# spec file for package asterisk (Version 1.4.17) +# +# + +# norootforbuild +# usedforbuild aaa_base acl alsa alsa-devel attr audit-libs autoconf automake bash bind-libs bind-utils binutils bison blocxx bzip2 coreutils cpio cpp cpp41 cracklib curl curl-devel cvs cyrus-sasl db diffutils e2fsprogs expat file filesystem fillup findutils flex gawk gcc gcc-c++ gcc41 gcc41-c++ gdbm gdbm-devel gettext gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv irqbalance kernel-default klogd krb5 less libacl libattr libcom_err libgcc41 libgsm libgsm-devel libidn libidn-devel libjpeg libjpeg-devel libltdl libmudflap41 libnscd libogg libpri libstdc++-devel libstdc++41 libstdc++41-devel libtiff libtiff-devel libtool libvolume_id libxcrypt libzio limal limal-bootloader limal-perl linux-kernel-headers m4 make man mdadm mkinitrd mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2 openldap2-client openldap2-devel openssl openssl-devel pam pam-modules patch pcre perl perl-Bootloader perl-gettext permissions popt postgresql-devel postgresql-libs procinfo procps psmisc pwdutils rcs readline reiserfs rpm sed spandsp speex speex-devel strace sysvinit tar tcpd texinfo timezone udev unixODBC unixODBC-devel unzip util-linux vim zaptel zaptel-kmp-default zlib zlib-devel + +Name: asterisk +BuildRequires: alsa-devel curl-devel expat gcc-c++ libgsm-devel libpri libtiff-devel postgresql-devel spandsp speex-devel unixODBC-devel wget +BuildRequires: libpri >= 1.4.1 +BuildRequires: zaptel >= 1.4.1 +BuildRequires: mISDN mISDNuser +BuildRequires: alsa-lib-devel +BuildRequires: bison +BuildRequires: bluez-libs +BuildRequires: doxygen +BuildRequires: libogg-devel +BuildRequires: termcap +BuildRequires: libvorbis-devel +BuildRequires: m4 +BuildRequires: ncurses-devel +BuildRequires: net-snmp-devel +BuildRequires: newt-devel +BuildRequires: openssl-devel +BuildRequires: spandsp spandsp-devel +BuildRequires: autoconf openldap2 openldap2-devel +Buildrequires: iksemel unixODBC termcap iksemel-devel +Buildrequires: postgresql-devel postgresql-server + +Requires: newt ncurses postgresql-libs speex openldap2 postgresql-devel + + +%ifnarch s390 s390x +BuildRequires: zaptel >= 1.4.1 +%endif + +URL: http://www.asterisk.org +%define build_h323 0 +Summary: The Asterisk Open Source PBX +Version: 1.4.17 +Release: 1 +License: BSD License and BSD-like, GNU General Public License (GPL) +PreReq: /usr/sbin/useradd +Group: Productivity/Telephony/Servers +Source0: %name-%version.tar.gz +Source1: %name-spandsp.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch0: asterisk-1.4-h323.patch +Patch1: asterisk-1.4-chan_h323-moduleinfo.patch +Patch2: asterisk-1.4-guiconfchanges.patch +Patch4: asterisk.patch + + +%description +Asterisk is a complete PBX in software. It provides all of the features +you would expect from a PBX and more. Asterisk does voice over IP in +three protocols and can interoperate with almost all standards-based +telephony equipment using relatively inexpensive hardware. + +Asterisk provides voicemail services with directory, call conferencing, +interactive voice response, and call queuing. It has support for +three-way calling, caller ID services, ADSI, SIP, and H.323 (as both +client and gateway). + +Documentation is available on the Asterisk home page +(http://www.asterisk.org) and on the Asterisk wiki +(http://www.voip-info.org/wiki-Asterisk). + + + +Authors: +-------- + Mark Spencer <markster@digium.com> + +%if %{build_h323} +BuildRequires: cyrus-sasl-devel +BuildRequires: openh323-devel +BuildRequires: openldap-devel +BuildRequires: SDL-devel +%endif + +#%debug_package +%package alsa +Summary: Soundcard Module for Asterisk +Group: Productivity/Telephony/Servers +PreReq: asterisk + +%description alsa +This package allows Asterisk to use a soundcard supported by ALSA as a +telephone. + + + +Authors: +-------- + Mark Spencer <markster@digium.com> + +%if %build_h323 +%package h323 +Summary: Voice over IP Module for Asterisk +Group: Productivity/Telephony/Servers +PreReq: asterisk + +%description h323 +This package adds support for the H.323 voice over IP (VoIP) protocol +to Asterisk. + +Support for the SIP and IAX2 protocols is included in the asterisk base +package. + + + +Authors: +-------- + Mark Spencer <markster@digium.com> + +%endif +%package odbc +Summary: Database Module for Asterisk +Group: Productivity/Telephony/Servers +PreReq: asterisk + +%description odbc +This package allows Asterisk to use read configuration data from, and +write call logs to ODBC databases. + + + +Authors: +-------- + Mark Spencer <markster@digium.com> + +%if ! 0%{?suse_version} == 1010 +%package pgsql +Summary: Database Module for Asterisk +Group: Productivity/Telephony/Servers +PreReq: asterisk + +%description pgsql +This package allows Asterisk to use read configuration data from, and +write call logs to PostgreSQL databases. + + + +Authors: +-------- + Mark Spencer <markster@digium.com> +%endif + +%package spandsp +Summary: Softfax Module for Asterisk +Group: Productivity/Telephony/Servers +PreReq: asterisk + +%description spandsp +This package allows Asterisk to send/receive faxes. + + + +Authors: +-------- + Steve Underwood <steveu@coppice.org> + +%package zaptel +Summary: Telephony Hardware Module for Asterisk +Group: Productivity/Telephony/Servers +PreReq: asterisk + +%description zaptel +This module allows Asterisk to use telephony hardware that is supported +by the zaptel kernel drivers. Supported hardware ranges from FXO and +FXS cards over ISDN BRI cards to T1, and E1 cards with up to four +interfaces. + +See the zaptel package for details. + + + +Authors: +-------- + Mark Spencer <markster@digium.com> +%package devel +Summary: Development files for Asterisk +Group: Development/Libraries +PreReq: asterisk + +%description devel +Development files for Asterisk + +Authors: +-------- + Mark Spencer <markster@digium.com> + +%prep +%setup -n asterisk-%{version} -a 1 +%if %{build_h323} +%patch0 -p1 -b .h323rpm +%patch1 -p1 -b .h323moduleinfo