1 |
# $Id: smeserver-freepbx.spec,v 1.5 2022/03/28 03:13:09 jpp Exp $ |
# $Id: smeserver-freepbx.spec,v 1.14 2022/07/30 17:54:15 brianr 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 14 |
%define version 14 |
7 |
%define release 1 |
%define release 6 |
8 |
%define name smeserver-freepbx |
%define name smeserver-freepbx |
9 |
|
|
10 |
Summary: Asterisk web GUI |
Summary: Asterisk web GUI |
14 |
License: GPL |
License: GPL |
15 |
Group: System/Servers |
Group: System/Servers |
16 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
17 |
|
Patch0: smeserver-freepbx-14-bz11940-bz9756-cron.patch |
18 |
|
Patch1: smeserver-freepbx-14-bz11924-sounds.patch |
19 |
|
Patch2: smeserver-freepbx-14-bz11986-service-fwconsole.patch |
20 |
|
Patch3: smeserver-freepbx-14-bz12009-backup.patch |
21 |
|
Patch4: smeserver-freepbx-14-bz12046-httpd24.patch |
22 |
|
Patch5: smeserver-freepbx-14-bz12226.patch |
23 |
|
|
24 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
25 |
URL: http://www.freepbx.org/ |
URL: http://www.freepbx.org/ |
65 |
# Requires: asterisk-sounds-core-fr-alaw asterisk-sounds-core-fr-g722 asterisk-sounds-core-fr-g729 asterisk-sounds-core-fr-gsm asterisk-sounds-core-fr-siren14 asterisk-sounds-core-fr-siren7 asterisk-sounds-core-fr-sln16 asterisk-sounds-core-fr-ulaw asterisk-sounds-core-fr-wav |
# Requires: asterisk-sounds-core-fr-alaw asterisk-sounds-core-fr-g722 asterisk-sounds-core-fr-g729 asterisk-sounds-core-fr-gsm asterisk-sounds-core-fr-siren14 asterisk-sounds-core-fr-siren7 asterisk-sounds-core-fr-sln16 asterisk-sounds-core-fr-ulaw asterisk-sounds-core-fr-wav |
66 |
# Requires: asterisk-sounds-core-it-alaw asterisk-sounds-core-it-g722 asterisk-sounds-core-it-g729 asterisk-sounds-core-it-gsm asterisk-sounds-core-it-siren14 asterisk-sounds-core-it-siren7 asterisk-sounds-core-it-sln16 asterisk-sounds-core-it-ulaw asterisk-sounds-core-it-wav |
# Requires: asterisk-sounds-core-it-alaw asterisk-sounds-core-it-g722 asterisk-sounds-core-it-g729 asterisk-sounds-core-it-gsm asterisk-sounds-core-it-siren14 asterisk-sounds-core-it-siren7 asterisk-sounds-core-it-sln16 asterisk-sounds-core-it-ulaw asterisk-sounds-core-it-wav |
67 |
# Requires: asterisk-sounds-core-es-alaw asterisk-sounds-core-es-g722 asterisk-sounds-core-es-g729 asterisk-sounds-core-es-gsm asterisk-sounds-core-es-siren14 asterisk-sounds-core-es-siren7 asterisk-sounds-core-es-sln16 asterisk-sounds-core-es-ulaw asterisk-sounds-core-es-wav |
# Requires: asterisk-sounds-core-es-alaw asterisk-sounds-core-es-g722 asterisk-sounds-core-es-g729 asterisk-sounds-core-es-gsm asterisk-sounds-core-es-siren14 asterisk-sounds-core-es-siren7 asterisk-sounds-core-es-sln16 asterisk-sounds-core-es-ulaw asterisk-sounds-core-es-wav |
68 |
|
Requires: e-smith-apache >= 2.6.0-19 |
69 |
|
Requires: smeserver-php >= 3.0.0-43 |
70 |
#Buildarch: noarch |
#Buildarch: noarch |
71 |
AutoReqProv: no |
AutoReqProv: no |
72 |
|
|
77 |
|
|
78 |
|
|
79 |
%changelog |
%changelog |
80 |
|
* Fri Nov 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-6.sme |
81 |
|
- fix creation of folder preventing migration [SME: 12226] |
82 |
|
|
83 |
|
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 14-5.sme |
84 |
|
- Re-build and link to latest devtools [SME: 11997] |
85 |
|
|
86 |
|
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-4.sme |
87 |
|
- add to core backup [SME: 12009] |
88 |
|
- httpd 2.4 syntax [SME: 12046] |
89 |
|
|
90 |
|
* Tue May 31 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-3.sme |
91 |
|
- Re-build and link to latest devtools service file fwconsole path [SME: 11986] |
92 |
|
|
93 |
|
* Sat Apr 16 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-2.sme |
94 |
|
- Re-build and link to latest devtools huge amount of error if asterisk disabled [SME: 9756] |
95 |
|
- Re-build and link to latest devtools multiple email sent because of asterisk cron php path [SME: 11940] |
96 |
|
- on uninstall remove asterisk crontab to avoid noise [SME: 10131] |
97 |
|
- allow access to sounds folder for gui [SME: 11924] |
98 |
|
|
99 |
* Sun Mar 27 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-1.sme |
* Sun Mar 27 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-1.sme |
100 |
- first version 14 [SME: 11613] |
- first version 14 [SME: 11613] |
101 |
|
|
118 |
* Mon Jan 20 2020 Jean-Philipe Pialasse <tests@pialasse.com> 13-16.sme |
* Mon Jan 20 2020 Jean-Philipe Pialasse <tests@pialasse.com> 13-16.sme |
119 |
- add required modules to enable cel and cdr logging and search [SME: 10620] |
- add required modules to enable cel and cdr logging and search [SME: 10620] |
120 |
- add requires lame [SME: 9859] |
- add requires lame [SME: 9859] |
121 |
|
- Re-build and link to latest devtools sounds ownership so they can be handled via gui [SME: 11924] |
122 |
|
|
123 |
* Mon Jan 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 13-15.sme |
* Mon Jan 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 13-15.sme |
124 |
- fix warning tampered files in GUI [SME: 10496] |
- Re-build and link to latest devtools warning tampered files in GUI [SME: 10496] |
125 |
- remove DeviceAndUser property [SME: 10503] |
- remove DeviceAndUser property [SME: 10503] |
126 |
|
|
127 |
* Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-14.sme |
* Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-14.sme |
128 |
- update TKT auth parameter for SME 9.2 [SME: 10268] |
- update TKT auth parameter for SME 9.2 [SME: 10268] |
129 |
|
|
130 |
* Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-13.sme |
* Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-13.sme |
131 |
- fix noise rebooting and restarting freepbx [SME: 10120] |
- Re-build and link to latest devtools noise rebooting and restarting freepbx [SME: 10120] |
132 |
|
|
133 |
* Wed Jan 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-11.sme |
* Wed Jan 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-11.sme |
134 |
- NFR: auto backup of whole FBX config during pre-backup event [SME: 9637] |
- NFR: auto backup of whole FBX config during pre-backup event [SME: 9637] |
137 |
- weekly backup is also done. |
- weekly backup is also done. |
138 |
|
|
139 |
* Mon Jan 23 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-10.sme |
* Mon Jan 23 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-10.sme |
140 |
- fix Missing HTML5 format converters [SME: 9859] |
- Re-build and link to latest devtools Missing HTML5 format converters [SME: 9859] |
141 |
- added requirement for mpg123 and ffmpeg available in smecontribs |
- added requirement for mpg123 and ffmpeg available in smecontribs |
142 |
|
|
143 |
* Mon Jan 23 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-9.sme |
* Mon Jan 23 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-9.sme |
147 |
- autoupgrade modules [SME: 9860] |
- autoupgrade modules [SME: 9860] |
148 |
|
|
149 |
* Mon Jan 09 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-7.sme |
* Mon Jan 09 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-7.sme |
150 |
- fix wrong default UDPPorts on new install [SME: 9918] |
- Re-build and link to latest devtools wrong default UDPPorts on new install [SME: 9918] |
151 |
|
|
152 |
* Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-6.sme |
* Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-6.sme |
153 |
- fix error while backup with workstation [SME: 9760] |
- Re-build and link to latest devtools error while backup with workstation [SME: 9760] |
154 |
|
|
155 |
* Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-5.sme |
* Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-5.sme |
156 |
-fix typo in smeserver-freepbx-13.bz9744.patch |
-fix typo in smeserver-freepbx-13.bz9744.patch |
157 |
|
|
158 |
* Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-4.sme |
* Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-4.sme |
159 |
- fix [SME: 9702] |
- Re-build and link to latest devtools [SME: 9702] |
160 |
- corrected syntax for port range |
- corrected syntax for port range |
161 |
|
|
162 |
* Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-3.sme |
* Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-3.sme |
163 |
- fix [SME: 9744] |
- Re-build and link to latest devtools [SME: 9744] |
164 |
- fix wrong /tmp folder permission after update |
- Re-build and link to latest devtools wrong /tmp folder permission after update |
165 |
- Thank you Hsing-Foo Wang. |
- Thank you Hsing-Foo Wang. |
166 |
|
|
167 |
* 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 |
168 |
- fix wrong UDP ports change 1000:2000 to 10000:20000 [SME: 9702] |
- Re-build and link to latest devtools wrong UDP ports change 1000:2000 to 10000:20000 [SME: 9702] |
169 |
|
|
170 |
* Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-1.sme |
* Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-1.sme |
171 |
- bump version to current Freepbx version 13 |
- bump version to current Freepbx version 13 |
174 |
- add all needed port for Freepbx sip pjsip and RTP [SME: 9495] |
- add all needed port for Freepbx sip pjsip and RTP [SME: 9495] |
175 |
|
|
176 |
* Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> -46.sme |
* Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> -46.sme |
177 |
- fix missing config files (requires asterisk-configs) [SME: 9577] |
- Re-build and link to latest devtools missing config files (requires asterisk-configs) [SME: 9577] |
178 |
- fix recuring reconfiguration error while installing digium phone module [SME: 9575] |
- Re-build and link to latest devtools recuring reconfiguration error while installing digium phone module [SME: 9575] |
179 |
- added port 5061 for tls to TCP ports [SME: 9576] |
- added port 5061 for tls to TCP ports [SME: 9576] |
180 |
|
|
181 |
* Thu Jun 09 2016 Jean-Philipe Pialasse <tests@pialasse.com> -45.sme |
* Thu Jun 09 2016 Jean-Philipe Pialasse <tests@pialasse.com> -45.sme |
182 |
- fix wrong logrotate pattern [SME: 9516] |
- Re-build and link to latest devtools wrong logrotate pattern [SME: 9516] |
183 |
- as the contrib is only in smedev, i do not fix existing log files badly rotated |
- as the contrib is only in smedev, i do not fix existing log files badly rotated |
184 |
|
|
185 |
* Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-44.sme |
* Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-44.sme |
334 |
- spec cleanup |
- spec cleanup |
335 |
|
|
336 |
* Thu Nov 13 2008 Daniel B. <daniel@firewall-services.com> [0.1-4] |
* Thu Nov 13 2008 Daniel B. <daniel@firewall-services.com> [0.1-4] |
337 |
- fix logrotate issue |
- Re-build and link to latest devtools logrotate issue |
338 |
|
|
339 |
* Wed Nov 05 2008 Daniel B. <daniel@firewall-services.com> [0.1-3] |
* Wed Nov 05 2008 Daniel B. <daniel@firewall-services.com> [0.1-3] |
340 |
- split freepbx sources in a separate package (freepbx-src) |
- split freepbx sources in a separate package (freepbx-src) |
354 |
|
|
355 |
%prep |
%prep |
356 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
357 |
|
%patch0 -p1 |
358 |
|
%patch1 -p1 |
359 |
|
%patch2 -p1 |
360 |
|
%patch3 -p1 |
361 |
|
%patch4 -p1 |
362 |
|
%patch5 -p1 |
363 |
|
|
364 |
%build |
%build |
365 |
# Build symlinks |
# Build symlinks |
407 |
|
|
408 |
%preun |
%preun |
409 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
410 |
/etc/rc.d/init.d/freepbx stop >& /dev/null || : |
/usr/bin/systemctl stop freepbx >& /dev/null || : |
411 |
|
fi |
412 |
|
true |
413 |
|
%postun |
414 |
|
if [ $1 = 0 ] ; then |
415 |
|
#remove cron for asterisk on uninstallation to avoid noise |
416 |
|
/usr/bin/crontab -u asterisk -r >& /dev/null || : |
417 |
fi |
fi |
|
|
|
418 |
true |
true |
419 |
|
|
420 |
|
|
421 |
|
|