Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
asterisk16
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Added
asterisk16.spec
@@ -0,0 +1,345 @@ +# +# spec file for package asterisk (Version 1.6.0) +# +# + +# 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 libpri16 libss7 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 sqlite sqlite-devel strace sysvinit tar tcpd tcpd-devel texinfo timezone udev unixODBC unixODBC-devel unzip util-linux vim zaptel zaptel-kmp-default zlib zlib-devel + +%define origname asterisk + +Name: asterisk16 +BuildRequires: alsa-devel curl-devel expat gcc-c++ libgsm-devel libtiff-devel speex-devel unixODBC-devel wget +BuildRequires: libpri16 +BuildRequires: zaptel >= 1.4.1 +BuildRequires: mISDN mISDN-devel mISDNuser mISDNuser-devel +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 iksemel-devel +Buildrequires: postgresql-devel postgresql-server tcpd tcpd-devel libss7-devel + +Requires: newt ncurses postgresql-libs speex openldap2 +Requires: postgresql-server + +PreReq: pwdutils coreutils sed grep + +%if 0%{?suse_version} >= 1100 +Requires: perl >= 5.10 +%endif + +%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.6.0 +Release: 1 +License: BSD License and BSD-like, GNU General Public License (GPL) +PreReq: /usr/sbin/useradd +Group: Productivity/Telephony/Servers +Source0: %origname-%version-beta9.tar.bz2 +Patch0: asterisk16.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + + + +%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: asterisk16 + +%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: asterisk16 + +%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: asterisk16 + +%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 zaptel +Summary: Telephony Hardware Module for Asterisk +Group: Productivity/Telephony/Servers +PreReq: asterisk16 + +%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: asterisk16 + +%description devel +This package contains the header files and libraries necessary for +developing applications which use asterisk. + +Install asterisk-devel if you want to develop applications which depend on +asterisk. + +Authors: +-------- + Mark Spencer <markster@digium.com> + +%prep +%setup -n %origname-%{version}-beta9 + +%patch0 -p0 + + +%build +./bootstrap.sh +%configure +%{__make} menuselect.makeopts