Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
asterisk16-addons
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
asterisk16-addons.spec
@@ -0,0 +1,112 @@ +# +# spec file for package asterisk16-addons (Version 1.6.0-beta3) +# +# + +# 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 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 + +%define origname asterisk-addons + +Name: asterisk16-addons +BuildRequires: alsa-devel curl-devel expat gcc-c++ libgsm-devel libpri16 libtiff-devel postgresql-devel spandsp speex-devel unixODBC-devel wget +BuildRequires: libpri16 >= 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 bluez-libs +BuildRequires: spandsp spandsp-devel +BuildRequires: autoconf openldap2 openldap2-devel +Buildrequires: iksemel unixODBC termcap asterisk16-devel >= 1.6.0 +Buildrequires: mysql mysql-client mysql-devel + +Requires: newt ncurses postgresql-libs speex openldap2 + +%ifnarch s390 s390x +BuildRequires: zaptel >= 1.4.1 +%endif + +URL: http://www.asterisk.org +Summary: The Asterisk Open Source PBX +Version: 1.6.0 +Release: 1 +License: BSD License and BSD-like, GNU General Public License (GPL) +Group: Productivity/Telephony/Servers +Source0: %origname-%version-beta3.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + + +%description +Asterisk is a complete PBX in software. It runs on Linux and 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. +This package contains additional addons for asterisk. + + + +Authors: +-------- + Mark Spencer <markster@digium.com> + +BuildRequires: cyrus-sasl-devel +BuildRequires: openh323-devel +BuildRequires: openldap-devel +BuildRequires: SDL-devel + +%prep +%setup -n %origname-%{version}-beta3 + + +%build +./bootstrap.sh +%configure --prefix=/usr --libdir=%{_libdir} +%{__make} menuselect.makeopts +%{__make} %{?_smp_mflags} DESTDIR=%{buildroot} libdir=%{_libdir} + + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}/%{_libdir}/asterisk/modules/ +%{__make} install DESTDIR=%{buildroot} libdir=%{_libdir} +%{__make} samples DESTDIR=%{buildroot} libdir=%{_libdir} + + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%config(noreplace)%attr(640,asterisk,root)/etc/asterisk/cdr_mysql.conf +%config(noreplace)%attr(640,asterisk,root)/etc/asterisk/mobile.conf +%config(noreplace)%attr(640,asterisk,root)/etc/asterisk/res_mysql.conf +%config(noreplace)%attr(640,asterisk,root)/etc/asterisk/ooh323.conf +%{_libdir}/asterisk/modules/app_addon_sql_mysql.so +%{_libdir}/asterisk/modules/app_fax.so +%{_libdir}/asterisk/modules/app_saycountpl.so +%{_libdir}/asterisk/modules/cdr_addon_mysql.so +%{_libdir}/asterisk/modules/chan_mobile.so +%{_libdir}/asterisk/modules/chan_ooh323.so +%{_libdir}/asterisk/modules/format_mp3.so +%{_libdir}/asterisk/modules/res_config_mysql.so + + +%changelog -n asterisk16-addons +* Fri Apr 04 2008 - vittorio@vitsoft.bz +- New release asterisk-addons 1.6-beta3 +* Mon Mar 03 2008 - vittorio@vitsoft.bz +- New release asterisk-addons 1.6-beta2 +* Mon Jan 21 2008 - vittorio@vitsoft.bz +- Modified for asterisk-addons 1.6.0 +- Modified for new asterisk-addons options \ No newline at end of file