1 |
jpp |
1.5 |
# $Id: freepbx-src.spec,v 1.4 2022/12/13 07:04:32 jpp Exp $ |
2 |
jpp |
1.1 |
# Authority: vip-ire |
3 |
|
|
# Name: Daniel Berteaud |
4 |
|
|
|
5 |
jpp |
1.5 |
%define version 16.0 |
6 |
jpp |
1.2 |
%define release 1 |
7 |
jpp |
1.1 |
%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 |
jpp |
1.2 |
#Source1: panel-0.1.tgz |
19 |
jpp |
1.1 |
|
20 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
|
|
URL: http://www.freepbx.org/ |
22 |
|
|
|
23 |
|
|
BuildArch: noarch |
24 |
|
|
|
25 |
|
|
BuildRequires: e-smith-devtools |
26 |
|
|
Requires: php-process |
27 |
|
|
|
28 |
|
|
AutoReqProv: no |
29 |
|
|
|
30 |
|
|
%description |
31 |
|
|
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. |
32 |
|
|
This package only contains the sources, and should be installed with smeserver-freepbx |
33 |
|
|
|
34 |
|
|
%changelog |
35 |
jpp |
1.5 |
* Tue Dec 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 16.0-1.sme |
36 |
|
|
- import version 16.0 to SME 10.0 |
37 |
|
|
|
38 |
|
|
* Tue Dec 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 15.0-1.sme |
39 |
jpp |
1.4 |
- import version 15.0 to SME 10.0 |
40 |
|
|
|
41 |
jpp |
1.2 |
* Thu Nov 11 2021 Jean-Philipe Pialasse <tests@pialasse.com> 14.0-1.sme |
42 |
|
|
- import version 14.0 to SME 10.0 |
43 |
|
|
|
44 |
jpp |
1.1 |
* Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-3.sme |
45 |
|
|
- revert chnage for memory |
46 |
|
|
|
47 |
|
|
* Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-2.sme |
48 |
|
|
- fix error while installing because of memory limit reached [SME: 9515] |
49 |
|
|
- remove panel module from build |
50 |
|
|
|
51 |
|
|
* Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-1.sme |
52 |
|
|
- new version for SME9 [SME: 9493] |
53 |
|
|
|
54 |
|
|
* Tue May 21 2013 JP Pialasse <tests@pialasse.com> [2.5.1-2] |
55 |
|
|
- add php-process requirement bug [SME: 7382] |
56 |
|
|
|
57 |
|
|
* Tue Mar 03 2009 daniel B. <daniel@firewall-services.com> [2.5.1-1] |
58 |
|
|
- Add missing changelog section in spec file |
59 |
|
|
- Add e-smith-devtools as a build dependency |
60 |
|
|
|
61 |
|
|
* Mon Aug 04 2008 daniel B. <daniel@firewall-services.com> [2.5.1-0] |
62 |
|
|
- initial release based on freepbx 2.5.1 |
63 |
|
|
|
64 |
|
|
%prep |
65 |
|
|
|
66 |
jpp |
1.3 |
%setup -q -c -n freepbx-%{version} |
67 |
jpp |
1.1 |
|
68 |
|
|
|
69 |
|
|
#%build |
70 |
|
|
# Extract freePBX archive |
71 |
|
|
%{__mkdir_p} root/usr/share/freepbx/sources |
72 |
|
|
tar xzf %{SOURCE0} -C root/usr/share/freepbx/sources |
73 |
|
|
# Extract panel module (not an official module yet) |
74 |
|
|
# rem by JP not compatible anymore |
75 |
|
|
#tar xzf %{SOURCE1} -C root/usr/share/freepbx/sources/freepbx-%{version}/amp_conf/htdocs/admin/modules |
76 |
|
|
ln -s freepbx-%{version} root/usr/share/freepbx/sources/freepbx |
77 |
|
|
%build |
78 |
|
|
|
79 |
|
|
%install |
80 |
|
|
rm -rf $RPM_BUILD_ROOT |
81 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
82 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
83 |
jpp |
1.3 |
| grep -vE "\.pyc|\.pyo"\ |
84 |
jpp |
1.1 |
> %{name}-%{version}-%{release}-filelist |
85 |
|
|
|
86 |
|
|
%clean |
87 |
|
|
rm -rf $RPM_BUILD_ROOT |
88 |
|
|
|
89 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
90 |
|
|
%defattr(-,root,root) |
91 |
|
|
|
92 |
|
|
|