1 |
# $Id: smeserver-freepbx.spec,v 1.6 2022/03/28 03:56:02 jpp Exp $ |
# $Id: smeserver-freepbx.spec,v 1.9 2022/04/17 02:17:11 jpp 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 2 |
%define release 3 |
8 |
%define name smeserver-freepbx |
%define name smeserver-freepbx |
9 |
|
|
10 |
Summary: Asterisk web GUI |
Summary: Asterisk web GUI |
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 |
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 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
URL: http://www.freepbx.org/ |
URL: http://www.freepbx.org/ |
73 |
|
|
74 |
|
|
75 |
%changelog |
%changelog |
76 |
|
* Tue May 31 2022 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-3.sme |
77 |
|
- fix service file fwconsole path [SME: 11986] |
78 |
|
|
79 |
* Sat Apr 16 2022 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-2.sme |
* Sat Apr 16 2022 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-2.sme |
80 |
- fix huge amount of error if asterisk disabled [SME: 9756] |
- fix huge amount of error if asterisk disabled [SME: 9756] |
81 |
- fix multiple email sent because of asterisk cron php path [SME: 11940] |
- fix multiple email sent because of asterisk cron php path [SME: 11940] |
82 |
|
- on uninstall remove asterisk crontab to avoid noise [SME: 10131] |
83 |
|
- allow access to sounds folder for gui [SME: 11924] |
84 |
|
|
85 |
* 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 |
86 |
- first version 14 [SME: 11613] |
- first version 14 [SME: 11613] |
104 |
* 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 |
105 |
- 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] |
106 |
- add requires lame [SME: 9859] |
- add requires lame [SME: 9859] |
107 |
|
- fix sounds ownership so they can be handled via gui [SME: 11924] |
108 |
|
|
109 |
* 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 |
110 |
- fix warning tampered files in GUI [SME: 10496] |
- fix warning tampered files in GUI [SME: 10496] |
341 |
%prep |
%prep |
342 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
343 |
%patch0 -p1 |
%patch0 -p1 |
344 |
|
%patch1 -p1 |
345 |
|
%patch2 -p1 |
346 |
|
|
347 |
%build |
%build |
348 |
# Build symlinks |
# Build symlinks |
390 |
|
|
391 |
%preun |
%preun |
392 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
393 |
/etc/rc.d/init.d/freepbx stop >& /dev/null || : |
/usr/bin/systemctl stop freepbx >& /dev/null || : |
394 |
fi |
fi |
|
|
|
395 |
true |
true |
396 |
|
%postun |
397 |
|
if [ $1 = 0 ] ; then |
398 |
|
#remove cron for asterisk on uninstallation to avoid noise |
399 |
|
/usr/bin/crontab -u asterisk -r >& /dev/null || : |
400 |
|
fi |
401 |
|
true |
402 |
|
|
403 |
|
|
404 |
|
|