/[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.4 by unnilennium, Mon May 16 08:00:17 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.3 2016/05/16 07:06:26 unnilennium Exp $
2  # Authority: vip-ire  # Authority: vip-ire
3  # Name: Daniel Berteaud  # Name: Daniel Berteaud
4    
# Line 52  This package only contains the sources, Line 52  This package only contains the sources,
52  %prep  %prep
53    
54  %setup -q -n freepbx-%{version}  %setup -q -n freepbx-%{version}
 %patch0 -p1  
55    
56  %build  
57    #%build
58  # Extract freePBX archive  # Extract freePBX archive
59  %{__mkdir_p} root/usr/share/freepbx/sources  %{__mkdir_p} root/usr/share/freepbx/sources
60  tar xzf %{SOURCE0} -C root/usr/share/freepbx/sources  tar xzf %{SOURCE0} -C root/usr/share/freepbx/sources
61  # Extract panel module (not an official module yet)  # Extract panel module (not an official module yet)
62  tar xzf %{SOURCE1} -C root/usr/share/freepbx/sources/freepbx-%{version}/amp_conf/htdocs/admin/modules  # rem by JP not compatible anymore
63  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
64    ln -s freepbx-%{version} root/usr/share/freepbx/sources/freepbx
65    %patch0 -p1
66    %build
67    
68  %install  %install
69  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