/[smecontribs]/rpms/freepbx-src/contribs9/freepbx-src.spec
ViewVC logotype

Diff of /rpms/freepbx-src/contribs9/freepbx-src.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by unnilennium, Mon May 16 07:06:26 2016 UTC Revision 1.5 by unnilennium, Mon May 16 09:40:55 2016 UTC
# Line 1  Line 1 
1  # $Id: freepbx-src.spec,v 1.2 2016/05/06 08:41:37 unnilennium Exp $  # $Id: freepbx-src.spec,v 1.4 2016/05/16 08:00:17 unnilennium Exp $
2  # Authority: vip-ire  # Authority: vip-ire
3  # Name: Daniel Berteaud  # Name: Daniel Berteaud
4    
5  %define version 13.0  %define version 13.0
6  %define release 2  %define release 3
7  %define name freepbx-src  %define name freepbx-src
8    
9    
# Line 16  Group:          System/Servers Line 16  Group:          System/Servers
16    
17  Source0:        freepbx-%{version}.tgz  Source0:        freepbx-%{version}.tgz
18  Source1:        panel-0.1.tgz  Source1:        panel-0.1.tgz
 Patch0: freepbx-13.0-MemoryLimit.patch  
19    
20  BuildRoot:      /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot:      /var/tmp/%{name}-%{version}-%{release}-buildroot
21  URL:            http://www.freepbx.org/  URL:            http://www.freepbx.org/
# Line 33  FreePBX is a Standardised Implementation Line 32  FreePBX is a Standardised Implementation
32  This package only contains the sources, and should be installed with smeserver-freepbx  This package only contains the sources, and should be installed with smeserver-freepbx
33    
34  %changelog  %changelog
35    * Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-3.sme
36    - revert chnage for memory
37    
38  * Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-2.sme  * Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-2.sme
39  - fix error while installing because of memory limit reached [SME: 9515]  - fix error while installing because of memory limit reached [SME: 9515]
40    - remove panel module from build
41    
42  * Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-1.sme  * Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-1.sme
43  - new version for SME9 [SME: 9493]  - new version for SME9 [SME: 9493]
# Line 52  This package only contains the sources, Line 55  This package only contains the sources,
55  %prep  %prep
56    
57  %setup -q -n freepbx-%{version}  %setup -q -n freepbx-%{version}
 %patch0 -p1  
58    
59  %build  
60    #%build
61  # Extract freePBX archive  # Extract freePBX archive
62  %{__mkdir_p} root/usr/share/freepbx/sources  %{__mkdir_p} root/usr/share/freepbx/sources
63  tar xzf %{SOURCE0} -C root/usr/share/freepbx/sources  tar xzf %{SOURCE0} -C root/usr/share/freepbx/sources
64  # Extract panel module (not an official module yet)  # Extract panel module (not an official module yet)
65  tar xzf %{SOURCE1} -C root/usr/share/freepbx/sources/freepbx-%{version}/amp_conf/htdocs/admin/modules  # rem by JP not compatible anymore
66  ln -s /usr/share/freepbx/sources/freepbx-%{version} root/usr/share/freepbx/sources/freepbx  #tar xzf %{SOURCE1} -C root/usr/share/freepbx/sources/freepbx-%{version}/amp_conf/htdocs/admin/modules
67    ln -s freepbx-%{version} root/usr/share/freepbx/sources/freepbx
68    %build
69    
70  %install  %install
71  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed