--- rpms/freepbx-src/contribs9/freepbx-src.spec 2016/05/06 01:51:35 1.1 +++ rpms/freepbx-src/contribs9/freepbx-src.spec 2016/05/16 08:00:17 1.4 @@ -1,8 +1,8 @@ -# $Id: freepbx-src.spec,v 1.2 2013/05/22 02:40:06 unnilennium Exp $ +# $Id: freepbx-src.spec,v 1.3 2016/05/16 07:06:26 unnilennium Exp $ # Authority: vip-ire # Name: Daniel Berteaud -%define version 2.5.1 +%define version 13.0 %define release 2 %define name freepbx-src @@ -14,8 +14,9 @@ Release: %{release}%{?dist} License: GPL Group: System/Servers -Source0: freepbx-%{version}.tar.gz +Source0: freepbx-%{version}.tgz Source1: panel-0.1.tgz +Patch0: freepbx-13.0-MemoryLimit.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot URL: http://www.freepbx.org/ @@ -32,11 +33,17 @@ FreePBX is a Standardised Implementation This package only contains the sources, and should be installed with smeserver-freepbx %changelog +* Mon May 16 2016 Jean-Philipe Pialasse 13.0-2.sme +- fix error while installing because of memory limit reached [SME: 9515] + +* Fri May 06 2016 Jean-Philipe Pialasse 13.0-1.sme +- new version for SME9 [SME: 9493] + * Tue May 21 2013 JP Pialasse [2.5.1-2] - add php-process requirement bug [SME: 7382] * Tue Mar 03 2009 daniel B. [2.5.1-1] -- Add missing %changelog section in spec file +- Add missing changelog section in spec file - Add e-smith-devtools as a build dependency * Mon Aug 04 2008 daniel B. [2.5.1-0] @@ -46,13 +53,17 @@ This package only contains the sources, %setup -q -n freepbx-%{version} -%build + +#%build # Extract freePBX archive %{__mkdir_p} root/usr/share/freepbx/sources tar xzf %{SOURCE0} -C root/usr/share/freepbx/sources # Extract panel module (not an official module yet) -tar xzf %{SOURCE1} -C root/usr/share/freepbx/sources/freepbx-%{version}/amp_conf/htdocs/admin/modules -ln -s /usr/share/freepbx/sources/freepbx-%{version} root/usr/share/freepbx/sources/freepbx +# rem by JP not compatible anymore +#tar xzf %{SOURCE1} -C root/usr/share/freepbx/sources/freepbx-%{version}/amp_conf/htdocs/admin/modules +ln -s freepbx-%{version} root/usr/share/freepbx/sources/freepbx +%patch0 -p1 +%build %install rm -rf $RPM_BUILD_ROOT