1 |
# $Id: smeserver-freepbx.spec,v 1.5 2022/03/28 03:13:09 jpp Exp $ |
# $Id: smeserver-freepbx.spec,v 1.7 2022/04/17 01:46:29 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 1 |
%define release 2 |
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 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
URL: http://www.freepbx.org/ |
URL: http://www.freepbx.org/ |
72 |
|
|
73 |
|
|
74 |
%changelog |
%changelog |
75 |
|
* Sat Apr 16 2022 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-2.sme |
76 |
|
- fix huge amount of error if asterisk disabled [SME: 9756] |
77 |
|
- fix multiple email sent because of asterisk cron php path [SME: 11940] |
78 |
|
- on uninstall remove asterisk crontab to avoid noise [SME: 10131] |
79 |
|
|
80 |
* 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 |
81 |
- first version 14 [SME: 11613] |
- first version 14 [SME: 11613] |
82 |
|
|
99 |
* 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 |
100 |
- 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] |
101 |
- add requires lame [SME: 9859] |
- add requires lame [SME: 9859] |
102 |
|
- fix sounds ownership so they can be handled via gui [SME: 11924] |
103 |
|
|
104 |
* 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 |
105 |
- fix warning tampered files in GUI [SME: 10496] |
- fix warning tampered files in GUI [SME: 10496] |
335 |
|
|
336 |
%prep |
%prep |
337 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
338 |
|
%patch0 -p1 |
339 |
|
%patch1 -p1 |
340 |
|
|
341 |
%build |
%build |
342 |
# Build symlinks |
# Build symlinks |
384 |
|
|
385 |
%preun |
%preun |
386 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
387 |
/etc/rc.d/init.d/freepbx stop >& /dev/null || : |
/usr/bin/systemctl stop freepbx >& /dev/null || : |
388 |
fi |
fi |
|
|
|
389 |
true |
true |
390 |
|
%postun |
391 |
|
if [ $1 = 0 ] ; then |
392 |
|
#remove cron for asterisk on uninstallation to avoid noise |
393 |
|
/usr/bin/crontab -u asterisk -r >& /dev/null || : |
394 |
|
fi |
395 |
|
true |
396 |
|
|
397 |
|
|
398 |
|
|