/[smecontribs]/rpms/smeserver-freepbx/contribs10/smeserver-freepbx.spec
ViewVC logotype

Diff of /rpms/smeserver-freepbx/contribs10/smeserver-freepbx.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.20 by jpp, Thu Dec 15 05:08:55 2022 UTC Revision 1.26 by jpp, Tue Apr 23 03:09:23 2024 UTC
# Line 1  Line 1 
1  # $Id: smeserver-freepbx.spec,v 1.19 2022/12/13 06:51:21 jpp Exp $  # $Id: smeserver-freepbx.spec,v 1.25 2023/02/05 16:54:49 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 11  %define release 14
8  %define name smeserver-freepbx  %define name smeserver-freepbx
9    
10  Summary: Asterisk web GUI  Summary: Asterisk web GUI
# Line 23  Patch5: smeserver-freepbx-14-bz12226.pat Line 23  Patch5: smeserver-freepbx-14-bz12226.pat
23  Patch6: smeserver-freepbx-14-bz10703-backup.patch  Patch6: smeserver-freepbx-14-bz10703-backup.patch
24  Patch7: smeserver-freepbx-14-bz11923-bz12256.patch  Patch7: smeserver-freepbx-14-bz11923-bz12256.patch
25  Patch8: smeserver-freepbx-14-go15.patch  Patch8: smeserver-freepbx-14-go15.patch
26    Patch9: smeserver-freepbx-14-bz12481-bz12506.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/
# Line 32  BuildRequires: tar Line 33  BuildRequires: tar
33    
34  Requires: mariadb  Requires: mariadb
35  Requires: nodejs >= 10  Requires: nodejs >= 10
36    Requires: jq
37  # freepbx 14 requires php56  # freepbx 14 requires php56
38  Requires: php56-php-pear php56-php-cgi php56-php-common php56-php-curl php56-php-mbstring php56-php-gd php56-php-mysql php56-php-gettext php56-php-bcmath php56-php-zip php56-php-xml php56-php-imap php56-php-json php56-php-process php56-php-snmp  Requires: php56-php-pear php56-php-cgi php56-php-common php56-php-curl php56-php-mbstring php56-php-gd php56-php-mysql php56-php-gettext php56-php-bcmath php56-php-zip php56-php-xml php56-php-imap php56-php-json php56-php-process php56-php-snmp
39  # freepbx 15 and 16  # freepbx 15 and 16
# Line 81  This package provide the integration of Line 83  This package provide the integration of
83    
84    
85  %changelog  %changelog
86    * Mon Apr 22 2024 Jean-Philippe Pialasse <jpp@koozali.org> 14-14.sme
87    - some logs not rotated [SME: 12506]
88    - moving freepbx php error log from /var/log/php [SME: 12481]
89    
90    * Wed Jan 04 2023 Jean-Philippe Pialasse <tests@pialasse.com> 14-13.sme
91    - fix permission denied on /usr/local/sbin/fwconsole from cron
92    
93  * Wed Dec 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-11.sme  * Wed Dec 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-11.sme
94  - fix bugs installing FPBX 15  - fix bugs installing FPBX 15
95    - fix amportal alerts [SME: 12259]
96    - compatible FBX 16 [SME: 12276]
97    - fix duplicate logrotate [SME: 12237]
98    - force php memory on install [SME: 10221]
99    
100  * Tue Dec 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-10.sme  * Tue Dec 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-10.sme
101  - fix backup for FreePBX 15 and higher [SME: 12256]  - fix backup for FreePBX 15 and higher [SME: 12256]
# Line 384  This package provide the integration of Line 397  This package provide the integration of
397  %patch6 -p1  %patch6 -p1
398  %patch7 -p1  %patch7 -p1
399  %patch8 -p1  %patch8 -p1
400    %patch9 -p1
401    
402  %build  %build
403  # Build symlinks  # Build symlinks
# Line 409  rm -rf $RPM_BUILD_ROOT Line 423  rm -rf $RPM_BUILD_ROOT
423          --file /etc/logrotate.d/asterisk 'config(noreplace)' \          --file /etc/logrotate.d/asterisk 'config(noreplace)' \
424          --dir /var/lib/php/fpbx-session 'attr(0770,root,asterisk)' \          --dir /var/lib/php/fpbx-session 'attr(0770,root,asterisk)' \
425          --file /usr/sbin/safe_asterisk  'attr(0755,root,root)' \          --file /usr/sbin/safe_asterisk  'attr(0755,root,root)' \
426          --dir /var/log/php/freepbx 'attr(0770,root,asterisk)' \          --dir /var/log/freepbx 'attr(0770,root,asterisk)' \
427          --dir /var/lib/php/freepbx/sessions 'attr(0770,root,asterisk)' \          --dir /var/lib/php/freepbx/sessions 'attr(0770,root,asterisk)' \
428          --dir /var/lib/php/freepbx/temp 'attr(0770,root,asterisk)' \          --dir /var/lib/php/freepbx/temp 'attr(0770,root,asterisk)' \
429  |grep -v '/var/lib/asterisk$'| grep -v '/etc/asterisk$' \  |grep -v '/var/lib/asterisk$'| grep -v '/etc/asterisk$' \
# Line 429  if [ `stat -c %U /tmp` == "asterisk"  ]; Line 443  if [ `stat -c %U /tmp` == "asterisk"  ];
443          chmod o+rwxt /tmp/          chmod o+rwxt /tmp/
444          chown root:root /tmp/          chown root:root /tmp/
445  fi  fi
446    if [ -f /var/log/php/freepbx/error.log ]; then
447            mv /var/log/php/freepbx/* /var/log/freepbx/  >& /dev/null || :
448    fi
449    
450  %preun  %preun
451  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed