2024-01-05 20:35:52 +01:00
|
|
|
Name: asterisk
|
2024-01-05 20:35:52 +01:00
|
|
|
Version: 18.2.2
|
2024-01-05 20:35:52 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 20:35:52 +01:00
|
|
|
Summary: Asterisk PBX
|
|
|
|
Group: System/Telephony
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 20:35:52 +01:00
|
|
|
URL: https://www.asterisk.org
|
2024-01-05 20:35:52 +01:00
|
|
|
Source: http://downloads.digium.com/pub/asterisk/releases/asterisk-%{version}.tar.gz
|
|
|
|
Patch0: %{name}-1.6.1.1-BOOL_typedef.patch
|
|
|
|
Patch1: %{name}-1.6.1.6-lua.patch
|
|
|
|
Patch2: %{name}-1.8.0-fix_build.patch
|
|
|
|
Patch3: asterisk-11.2.1-libpt-2.10.9.patch
|
|
|
|
Patch4: asterisk-11.2.1-libpt-2.10.9-1.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libSDL-devel
|
|
|
|
BuildRequires: libSDL_image-devel
|
|
|
|
BuildRequires: libX11-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: libcurl-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libe2fs-devel
|
|
|
|
BuildRequires: libedit-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libfreetds-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgmime-devel
|
|
|
|
BuildRequires: libgsm-devel
|
|
|
|
BuildRequires: libical-devel
|
|
|
|
BuildRequires: libjansson-devel
|
|
|
|
BuildRequires: libkrb5-devel
|
|
|
|
BuildRequires: liblua-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: liblzma-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libmISDN-devel
|
|
|
|
BuildRequires: libneon-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libnetsnmp-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libnl-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libodbc-devel
|
|
|
|
BuildRequires: libogg-devel
|
|
|
|
BuildRequires: libopenldap-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libpci-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libpcre-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libportaudio-devel
|
|
|
|
BuildRequires: libpostgresql-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libproxy-devel
|
|
|
|
BuildRequires: libradiusclient-ng-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: librpm-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libspeex-devel
|
|
|
|
BuildRequires: libsqlite-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libsqlite2-devel
|
|
|
|
BuildRequires: libsrtp-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libtermcap-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libunbound-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libuuid-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libvorbis-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libvpx-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libwrap-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: librpm-devel >= 4.16.1.2-1mamba
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: ptlib-devel
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libncurses-devel >= 5.4
|
|
|
|
BuildRequires: libopenh323-devel >= 1.17.3
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libnetsnmp-devel >= 5.9
|
2024-01-05 20:35:52 +01:00
|
|
|
BuildRequires: libmISDN-devel
|
|
|
|
|
|
|
|
# FIXME: need mpg123 to enable MusicOnHold
|
|
|
|
|
|
|
|
%description
|
|
|
|
Asterisk is an Open Source PBX and telephony development platform that can both replace a conventional PBX and act as a platform for developing custom telephony applications for delivering dynamic content over a telephone similarly to how one can deliver dynamic content through a web browser using CGI and a web server.
|
|
|
|
Asterisk talks to a variety of telephony hardware including BRI, PRI, POTS, and IP telephony clients using the Inter-Asterisk eXchange protocol (e.g. gnophone or miniphone).
|
|
|
|
For more information and a current list of supported hardware, see www.asteriskpbx.com.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the Asterisk software PBX
|
|
|
|
Group: Development/Libraries
|
2024-01-05 20:35:52 +01:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2024-01-05 20:35:52 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Asterisk is an Open Source PBX and telephony development platform that can both replace a conventional PBX and act as a platform for developing custom telephony applications for delivering dynamic content over a telephone similarly to how one can deliver dynamic content through a web browser using CGI and a web server.
|
|
|
|
Asterisk talks to a variety of telephony hardware including BRI, PRI, POTS, and IP telephony clients using the Inter-Asterisk eXchange protocol (e.g. gnophone or miniphone).
|
|
|
|
For more information and a current list of supported hardware, see www.asteriskpbx.com.
|
2024-01-05 20:35:52 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-05 20:35:52 +01:00
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 20:35:52 +01:00
|
|
|
#-D -T
|
2024-01-05 20:35:52 +01:00
|
|
|
#%patch0 -p1
|
2024-01-05 20:35:52 +01:00
|
|
|
#%patch1 -p1
|
2024-01-05 20:35:52 +01:00
|
|
|
#%patch2 -p1
|
2024-01-05 20:35:52 +01:00
|
|
|
#%patch3 -p0
|
|
|
|
#%patch4 -p0
|
|
|
|
#./bootstrap.sh
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-misdn
|
2024-01-05 20:35:52 +01:00
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
%makeinstall samples
|
|
|
|
##make install INSTALL_PREFIX=%{buildroot}
|
|
|
|
#make samples INSTALL_PREFIX=%{buildroot}
|
|
|
|
# make progdocs INSTALL_PREFIX=%{buildroot}
|
|
|
|
|
|
|
|
install -D -m 755 contrib/init.d/rc.redhat.asterisk %{buildroot}%{_initrddir}/asterisk
|
|
|
|
|
|
|
|
ln -sf /var/spool/asterisk/vm %{buildroot}/var/lib/asterisk/sounds/vm
|
|
|
|
ln -sf /var/spool/asterisk/voicemail %{buildroot}/var/lib/asterisk/sounds/voicemail
|
|
|
|
ln -sf /var/spool/asterisk/voicemail/default %{buildroot}/var/spool/asterisk/vm
|
|
|
|
|
|
|
|
ln -sf libasteriskssl.so.1 %{buildroot}%{_libdir}/libasteriskssl.so
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
#upgrade
|
|
|
|
[ -e /var/lock/subsys/asterisk ] && service asterisk restart
|
|
|
|
fi
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
#erase
|
|
|
|
service asterisk stop
|
|
|
|
/sbin/chkconfig --del asterisk
|
|
|
|
fi
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_initrddir}/asterisk
|
|
|
|
%dir %{_sysconfdir}/asterisk
|
|
|
|
%config(noreplace) %{_sysconfdir}/asterisk/*
|
|
|
|
%{_sbindir}/*
|
|
|
|
%{_libdir}/libasteriskssl.so.*
|
2024-01-05 20:35:52 +01:00
|
|
|
%{_libdir}/libasteriskpj.so.*
|
2024-01-05 20:35:52 +01:00
|
|
|
%dir %{_libdir}/asterisk/
|
|
|
|
%{_libdir}/asterisk/*
|
|
|
|
%dir %{_localstatedir}/lib/asterisk
|
|
|
|
%{_localstatedir}/lib/asterisk/*
|
|
|
|
%dir %{_localstatedir}/log/asterisk
|
|
|
|
%{_localstatedir}/log/asterisk/*
|
|
|
|
%dir %{_localstatedir}/spool/asterisk
|
|
|
|
%{_localstatedir}/spool/asterisk/*
|
2024-01-05 20:35:52 +01:00
|
|
|
%{_mandir}/man8/astdb2*.8*
|
|
|
|
%{_mandir}/man8/asterisk.8*
|
|
|
|
%{_mandir}/man8/astgenkey.8*
|
|
|
|
%{_mandir}/man8/autosupport.8*
|
|
|
|
%{_mandir}/man8/safe_asterisk.8*
|
2024-01-05 20:35:52 +01:00
|
|
|
%doc CREDITS LICENSE
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libasteriskssl.so
|
2024-01-05 20:35:52 +01:00
|
|
|
%{_libdir}/libasteriskpj.so
|
2024-01-05 20:35:52 +01:00
|
|
|
#%{_includedir}/asterisk.h
|
|
|
|
#%dir %{_includedir}/asterisk
|
|
|
|
#%{_includedir}/asterisk/*
|
|
|
|
%doc BUGS ChangeLog
|
2024-01-05 20:35:52 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:35:52 +01:00
|
|
|
* Sun Mar 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 18.2.2-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: librpm-devel>=4.16.1.2-1mamba
|
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
* Fri Mar 05 2021 Automatic Build System <autodist@mambasoft.it> 18.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
* Fri Feb 19 2021 Automatic Build System <autodist@mambasoft.it> 18.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 18.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
* Sun Dec 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 17.9.0-1mamba
|
|
|
|
- update to 17.9.0
|
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
* Mon May 18 2020 Automatic Build System <autodist@mambasoft.it> 17.4.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 15.1.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 15.1.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
* Sun Sep 11 2016 Automatic Build System <autodist@mambasoft.it> 13.9.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
* Sun Jan 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 13.7.0-1mamba
|
|
|
|
- update to 13.7.0
|
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
* Thu May 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 11.6.0-2mamba
|
|
|
|
- ffmpeg 2.2 rebuild
|
|
|
|
|
2024-01-05 20:35:52 +01:00
|
|
|
* Sat Dec 14 2013 Automatic Build System <autodist@mambasoft.it> 11.6.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Aug 29 2013 Automatic Build System <autodist@mambasoft.it> 11.5.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 22 2013 Automatic Build System <autodist@mambasoft.it> 11.5.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun May 19 2013 Automatic Build System <autodist@mambasoft.it> 11.4.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Apr 01 2013 Automatic Build System <autodist@mambasoft.it> 11.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Mar 01 2013 Automatic Build System <autodist@mambasoft.it> 11.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 11 2012 Automatic Build System <autodist@mambasoft.it> 10.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 10.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 26 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.11.1-1mamba
|
|
|
|
- update to 1.8.11.1
|
|
|
|
|
|
|
|
* Sun Oct 02 2011 Automatic Build System <autodist@mambasoft.it> 1.8.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 1.8.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 24 2011 Automatic Build System <autodist@mambasoft.it> 1.8.4.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 1.8.4.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri May 20 2011 Automatic Build System <autodist@mambasoft.it> 1.8.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 14 2011 Automatic Build System <autodist@mambasoft.it> 1.8.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 24 2011 Automatic Build System <autodist@mambasoft.it> 1.8.2.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Feb 01 2011 Automatic Build System <autodist@mambasoft.it> 1.8.2.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Dec 19 2010 Automatic Build System <autodist@mambasoft.it> 1.8.1.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Dec 15 2010 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 29 2010 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 22 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.2.10-2mamba
|
|
|
|
- rebuilt with net-snmp 5.6
|
|
|
|
|
|
|
|
* Sun Aug 08 2010 Automatic Build System <autodist@mambasoft.it> 1.6.2.10-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Jun 28 2010 Automatic Build System <autodist@mambasoft.it> 1.6.2.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jun 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.2.8-1mamba
|
|
|
|
- update to 1.6.2.8
|
|
|
|
|
|
|
|
* Tue Oct 13 2009 Automatic Build System <autodist@mambasoft.it> 1.6.1.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 28 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1.4-2mamba
|
|
|
|
- rebuilt with mISDN support
|
|
|
|
|
|
|
|
* Tue Aug 11 2009 Automatic Build System <autodist@mambasoft.it> 1.6.1.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 04 2009 Automatic Build System <autodist@mambasoft.it> 1.6.1.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 16 2009 Automatic Build System <autodist@mambasoft.it> 1.6.1.1-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Thu Jul 16 2009 Automatic Build System <autodist@mambasoft.it> 1.6.1.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat May 16 2009 Automatic Build System <autodist@mambasoft.it> 1.6.0.8-1mamba
|
|
|
|
- automatic update to 1.6.0.8 by autodist
|
|
|
|
|
|
|
|
* Mon Nov 24 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-1mamba
|
|
|
|
- update to 1.6.0
|
|
|
|
|
|
|
|
* Fri Oct 31 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.22-1mamba
|
|
|
|
- update to 1.4.22
|
|
|
|
|
|
|
|
* Sun May 20 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-1mamba
|
|
|
|
- update to 1.4.4
|
|
|
|
|
|
|
|
* Wed Aug 31 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.9-1qilnx
|
|
|
|
- update to version 1.0.9 by autospec
|
|
|
|
- also fix CAN-2005-2081 (fixed in version 1.0.8)
|
|
|
|
|
|
|
|
* Tue Apr 26 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.7-1qilnx
|
|
|
|
- update to version 1.0.7 by autospec
|
|
|
|
|
|
|
|
* Tue Mar 09 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.7.2-1qilnx
|
|
|
|
- new version rebuild
|
|
|
|
|
|
|
|
* Tue Dec 30 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-1qilnx
|
|
|
|
- new version rebuild
|
|
|
|
|
|
|
|
* Wed May 07 2003 Silvan Calarco <silvan.calarco@qinet.it> 0.4.0-3qilnx
|
|
|
|
- added fixing code for /etc/asterisk.conf which is installed with
|
|
|
|
$RPM_BUILD_ROOT content
|
|
|
|
|
|
|
|
* Wed May 07 2003 Silvan Calarco <silvan.calarco@qinet.it> 0.4.0-2qilnx
|
|
|
|
- added make samples
|
|
|
|
|
|
|
|
* Mon May 05 2003 Silvan Calarco <silvan.calarco@qinet.it> 0.4.0-1qilnx
|
|
|
|
- creation of asterisk package
|