1 |
# $Id: freepbx-src.spec,v 1.3 2016/05/16 07:06:26 unnilennium Exp $ |
2 |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
4 |
|
5 |
%define version 13.0 |
6 |
%define release 2 |
7 |
%define name freepbx-src |
8 |
|
9 |
|
10 |
Summary: FreePBX Sources |
11 |
Name: %{name} |
12 |
Version: %{version} |
13 |
Release: %{release}%{?dist} |
14 |
License: GPL |
15 |
Group: System/Servers |
16 |
|
17 |
Source0: freepbx-%{version}.tgz |
18 |
Source1: panel-0.1.tgz |
19 |
Patch0: freepbx-13.0-MemoryLimit.patch |
20 |
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
URL: http://www.freepbx.org/ |
23 |
|
24 |
BuildArch: noarch |
25 |
|
26 |
BuildRequires: e-smith-devtools |
27 |
Requires: php-process |
28 |
|
29 |
AutoReqProv: no |
30 |
|
31 |
%description |
32 |
FreePBX is a Standardised Implementation of Asterisk that gives you a GUI to manage your system. If you have looked into Asterisk, you would know that it does not come with any built in programming. You cannot plug a phone into it and make it work without editing configuration files, writing dialplans, and various messing about. FreePBX simplifies this by giving you a pre-written set of dialplans that allow you to have a fully functional PBX pretty much straight away. |
33 |
This package only contains the sources, and should be installed with smeserver-freepbx |
34 |
|
35 |
%changelog |
36 |
* Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-2.sme |
37 |
- fix error while installing because of memory limit reached [SME: 9515] |
38 |
|
39 |
* Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-1.sme |
40 |
- new version for SME9 [SME: 9493] |
41 |
|
42 |
* Tue May 21 2013 JP Pialasse <tests@pialasse.com> [2.5.1-2] |
43 |
- add php-process requirement bug [SME: 7382] |
44 |
|
45 |
* Tue Mar 03 2009 daniel B. <daniel@firewall-services.com> [2.5.1-1] |
46 |
- Add missing changelog section in spec file |
47 |
- Add e-smith-devtools as a build dependency |
48 |
|
49 |
* Mon Aug 04 2008 daniel B. <daniel@firewall-services.com> [2.5.1-0] |
50 |
- initial release based on freepbx 2.5.1 |
51 |
|
52 |
%prep |
53 |
|
54 |
%setup -q -n freepbx-%{version} |
55 |
|
56 |
|
57 |
#%build |
58 |
# Extract freePBX archive |
59 |
%{__mkdir_p} root/usr/share/freepbx/sources |
60 |
tar xzf %{SOURCE0} -C root/usr/share/freepbx/sources |
61 |
# Extract panel module (not an official module yet) |
62 |
# rem by JP not compatible anymore |
63 |
#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 |
69 |
rm -rf $RPM_BUILD_ROOT |
70 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
71 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
72 |
> %{name}-%{version}-%{release}-filelist |
73 |
|
74 |
%clean |
75 |
rm -rf $RPM_BUILD_ROOT |
76 |
|
77 |
%files -f %{name}-%{version}-%{release}-filelist |
78 |
%defattr(-,root,root) |
79 |
|
80 |
|