1 |
# $Id: smeserver-freepbx.spec,v 1.5 2022/03/28 03:13:09 jpp Exp $ |
# $Id: smeserver-freepbx.spec,v 1.8 2022/04/17 02:09:01 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 |
|
- allow access to sounds folder for gui [SME: 11924] |
80 |
|
|
81 |
* 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 |
82 |
- first version 14 [SME: 11613] |
- first version 14 [SME: 11613] |
83 |
|
|
100 |
* 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 |
101 |
- 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] |
102 |
- add requires lame [SME: 9859] |
- add requires lame [SME: 9859] |
103 |
|
- fix sounds ownership so they can be handled via gui [SME: 11924] |
104 |
|
|
105 |
* 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 |
106 |
- fix warning tampered files in GUI [SME: 10496] |
- fix warning tampered files in GUI [SME: 10496] |
336 |
|
|
337 |
%prep |
%prep |
338 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
339 |
|
%patch0 -p1 |
340 |
|
%patch1 -p1 |
341 |
|
|
342 |
%build |
%build |
343 |
# Build symlinks |
# Build symlinks |
385 |
|
|
386 |
%preun |
%preun |
387 |
if [ $1 = 0 ] ; then |
if [ $1 = 0 ] ; then |
388 |
/etc/rc.d/init.d/freepbx stop >& /dev/null || : |
/usr/bin/systemctl stop freepbx >& /dev/null || : |
389 |
fi |
fi |
|
|
|
390 |
true |
true |
391 |
|
%postun |
392 |
|
if [ $1 = 0 ] ; then |
393 |
|
#remove cron for asterisk on uninstallation to avoid noise |
394 |
|
/usr/bin/crontab -u asterisk -r >& /dev/null || : |
395 |
|
fi |
396 |
|
true |
397 |
|
|
398 |
|
|
399 |
|
|