1 |
# $Id: smeserver-freepbx.spec,v 1.18 2016/06/13 12:16:46 unnilennium Exp $ |
# $Id: smeserver-freepbx.spec,v 1.30 2017/02/25 22:06:29 unnilennium Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
5 |
#%define fpbxversion 2.5.0 |
#%define fpbxversion 2.5.0 |
6 |
%define version 13 |
%define version 13 |
7 |
%define release 2 |
%define release 14 |
8 |
%define name smeserver-freepbx |
%define name smeserver-freepbx |
9 |
|
|
10 |
Summary: Asterisk web GUI |
Summary: Asterisk web GUI |
16 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
17 |
|
|
18 |
Patch0: smeserver-freepbx-13.bz9702.udpports.patch |
Patch0: smeserver-freepbx-13.bz9702.udpports.patch |
19 |
|
Patch1: smeserver-freepbx-13.bz9744.patch |
20 |
|
Patch2: smeserver-freepbx-13.bz9702-2.patch |
21 |
|
Patch3: smeserver-freepbx-13.bz9760.patch |
22 |
|
Patch4: smeserver-freepbx-13.bz9918.defaultUDPports.patch |
23 |
|
Patch5: smeserver-freepbx-13.bz9860.AutoUpgradeModules.patch |
24 |
|
Patch6: smeserver-freepbx-13.bz9637.backupFBX.patch |
25 |
|
Patch7: smeserver-freepbx-13.bz10120.noiseAmportal.patch |
26 |
|
Patch8: smeserver-freepbx-13.bz10268.updatetktauth.patch |
27 |
|
|
28 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
29 |
URL: http://www.freepbx.org/ |
URL: http://www.freepbx.org/ |
46 |
Requires: asterisk-sounds-extra-en-ulaw |
Requires: asterisk-sounds-extra-en-ulaw |
47 |
Requires: asterisk-voicemail |
Requires: asterisk-voicemail |
48 |
Requires: asterisk-configs |
Requires: asterisk-configs |
49 |
|
Requires: ffmpeg |
50 |
|
Requires: mpg123 |
51 |
|
|
52 |
|
Requires: e-smith-manager >= 2.6.0-22 |
53 |
|
|
54 |
#Buildarch: noarch |
#Buildarch: noarch |
55 |
AutoReqProv: no |
AutoReqProv: no |
56 |
|
|
61 |
|
|
62 |
|
|
63 |
%changelog |
%changelog |
64 |
|
* Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> -14.sme |
65 |
|
- update TKT auth parameter for SME 9.2 [SME: 10268] |
66 |
|
|
67 |
|
* Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-13.sme |
68 |
|
- fix noise rebooting and restarting freepbx [SME: 10120] |
69 |
|
|
70 |
|
* Wed Jan 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-11.sme |
71 |
|
- NFR: auto backup of whole FBX config during pre-backup event [SME: 9637] |
72 |
|
- both asdb and fpbx, asterisk config files, freepbx folders, voicemails are part of backup |
73 |
|
- 2 versions are kepts |
74 |
|
- weekly backup is also done. |
75 |
|
|
76 |
|
* Mon Jan 23 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-10.sme |
77 |
|
- fix Missing HTML5 format converters [SME: 9859] |
78 |
|
- added requirement for mpg123 and ffmpeg available in smecontribs |
79 |
|
|
80 |
|
* Mon Jan 23 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-9.sme |
81 |
|
- update framework before other modules [SME: 9860] |
82 |
|
|
83 |
|
* Mon Jan 09 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-8.sme |
84 |
|
- autoupgrade modules [SME: 9860] |
85 |
|
|
86 |
|
* Mon Jan 09 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-7.sme |
87 |
|
- fix wrong default UDPPorts on new install [SME: 9918] |
88 |
|
|
89 |
|
* Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-6.sme |
90 |
|
- fix error while backup with workstation [SME: 9760] |
91 |
|
|
92 |
|
* Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-5.sme |
93 |
|
-fix typo in smeserver-freepbx-13.bz9744.patch |
94 |
|
|
95 |
|
* Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-4.sme |
96 |
|
- fix [SME: 9702] |
97 |
|
- corrected syntax for port range |
98 |
|
|
99 |
|
* Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-3.sme |
100 |
|
- fix [SME: 9744] |
101 |
|
- fix wrong /tmp folder permission after update |
102 |
|
- Thank you Hsing-Foo Wang. |
103 |
|
|
104 |
* Tue Jul 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-2.sme |
* Tue Jul 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-2.sme |
105 |
- fix wrong UDP ports change 1000:2000 to 10000:20000 [SME: 9702] |
- fix wrong UDP ports change 1000:2000 to 10000:20000 [SME: 9702] |
106 |
|
|
293 |
|
|
294 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
295 |
%patch0 -p1 |
%patch0 -p1 |
296 |
|
%patch1 -p1 |
297 |
|
%patch2 -p1 |
298 |
|
%patch3 -p1 |
299 |
|
%patch4 -p1 |
300 |
|
%patch5 -p1 |
301 |
|
%patch6 -p1 |
302 |
|
%patch7 -p1 |
303 |
|
%patch8 -p1 |
304 |
|
|
305 |
%build |
%build |
306 |
# Build symlinks |
# Build symlinks |
337 |
|
|
338 |
%post |
%post |
339 |
|
|
340 |
|
#bug 9744, restore tmp permissions |
341 |
|
if [ `stat -c %U /tmp` == "asterisk" ]; then |
342 |
|
chmod o+rwxt /tmp/ |
343 |
|
chown root:root /tmp/ |
344 |
|
fi |
345 |
|
|
346 |
%preun |
%preun |
347 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
348 |
/etc/rc.d/init.d/freepbx stop >& /dev/null || : |
/etc/rc.d/init.d/freepbx stop >& /dev/null || : |