/[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.4 by jpp, Sun Mar 27 20:13:44 2022 UTC Revision 1.11 by jpp, Fri Jul 22 06:39:08 2022 UTC
# Line 1  Line 1 
1  # $Id: smeserver-freepbx.spec,v 1.3 2022/03/25 04:44:48 jpp Exp $  # $Id: smeserver-freepbx.spec,v 1.10 2022/05/31 04:17:50 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 13  %define version 14
7  %define release 17  %define release 4
8  %define name smeserver-freepbx  %define name smeserver-freepbx
9    
10  Summary: Asterisk web GUI  Summary: Asterisk web GUI
# Line 14  Release: %{release}%{?dist} Line 14  Release: %{release}%{?dist}
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  Patch0: smeserver-freepbx-13.bz9702.udpports.patch  Patch1: smeserver-freepbx-14-bz11924-sounds.patch
19  Patch1: smeserver-freepbx-13.bz9744.patch  Patch2: smeserver-freepbx-14-bz11986-service-fwconsole.patch
20  Patch2: smeserver-freepbx-13.bz9702-2.patch  Patch3: smeserver-freepbx-14-bz12009-backup.patch
 Patch3: smeserver-freepbx-13.bz9760.patch  
 Patch4: smeserver-freepbx-13.bz9918.defaultUDPports.patch  
 Patch5: smeserver-freepbx-13.bz9860.AutoUpgradeModules.patch  
 Patch6: smeserver-freepbx-13.bz9637.backupFBX.patch  
 Patch7: smeserver-freepbx-13.bz10120.noiseAmportal.patch  
 Patch8: smeserver-freepbx-13.bz10268.updatetktauth.patch  
 Patch9: smeserver-freepbx-13.bz10496.missing-tampered-files.patch  
 Patch10: smeserver-freepbx-13.bz10503.DeviceAndUser.patch  
 #### start SME10 patch  
 Patch11: smeserver-freepbx-bz11613-sme10.patch  
21    
22  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
23  URL: http://www.freepbx.org/  URL: http://www.freepbx.org/
# Line 40  Requires: nodejs >= 10 Line 30  Requires: nodejs >= 10
30  #Requires: php-pear php-cgi php-common php-curl php-mbstring php-gd php-mysql php-gettext php-bcmath php-zip php-xml php-imap php-json php-process php-snmp  #Requires: php-pear php-cgi php-common php-curl php-mbstring php-gd php-mysql php-gettext php-bcmath php-zip php-xml php-imap php-json php-process php-snmp
31  # freepbx 14 requires php56  # freepbx 14 requires php56
32  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
 #Requires: php70-php-pear php70-php-cgi php70-php-common php70-php-curl php70-php-mbstring php70-php-gd php70-php-mysql php70-php-gettext php70-php-bcmath php70-php-zip php70-php-xml php70-php-imap php70-php-json php70-php-process php70-php-snmp  
33  #Requires: php74-php-pear php74-php-cgi php74-php-common php74-php-curl php74-php-mbstring php74-php-gd php74-php-mysql php74-php-gettext php74-php-bcmath php74-php-zip php74-php-xml php74-php-imap php74-php-json php74-php-process php74-php-snmp  #Requires: php74-php-pear php74-php-cgi php74-php-common php74-php-curl php74-php-mbstring php74-php-gd php74-php-mysql php74-php-gettext php74-php-bcmath php74-php-zip php74-php-xml php74-php-imap php74-php-json php74-php-process php74-php-snmp
34  Requires: httpd  Requires: httpd
35  Requires: php-pear  Requires: php-pear
# Line 85  This package provide the integration of Line 74  This package provide the integration of
74    
75    
76  %changelog  %changelog
77    * Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-4.sme
78    - add to core backup [SME: 12009]
79    
80    * Tue May 31 2022 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-3.sme
81    - fix service file fwconsole path [SME: 11986]
82    
83    * Sat Apr 16 2022 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-2.sme
84    - fix huge amount of error if asterisk disabled [SME: 9756]
85    - fix multiple email sent because of asterisk cron php path [SME: 11940]
86    - on uninstall remove asterisk crontab to avoid noise [SME: 10131]
87    - allow access to sounds folder for gui [SME: 11924]
88    
89    * Sun Mar 27 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-1.sme
90    - first version 14 [SME: 11613]
91    
92  * Wed Nov 10 2021 Jean-Philippe Pialasse <tests@pialasse.com> 13-17.sme  * Wed Nov 10 2021 Jean-Philippe Pialasse <tests@pialasse.com> 13-17.sme
93  - first import to SME10 [SME: 11613]  - first import to SME10 [SME: 11613]
94  - make it Freepbx 14 compatible [SME: 10705]   - make it Freepbx 14 compatible [SME: 10705] 
# Line 95  This package provide the integration of Line 99  This package provide the integration of
99    smeserver-freepbx-update event created NEED TEST    smeserver-freepbx-update event created NEED TEST
100    php70-php-fpm fragment    php70-php-fpm fragment
101    update httpd-fpbx template for php-fpm use    update httpd-fpbx template for php-fpm use
102    TODO : update httpd-e-smith to use php-fpm for fpbx    update httpd-e-smith to use php-fpm for fpbx
103    update install script for php74    update install script for php74
104    add a copy of safe_asterisk    add a copy of safe_asterisk
105    TODO : create php folders and set rights    create php folders and set rights
106    improve logrotate    improve logrotate
107    
108  * 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
109  - 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]
110  - add requires lame [SME: 9859]  - add requires lame [SME: 9859]
111    - fix sounds ownership so they can be handled via gui [SME: 11924]
112    
113  * 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
114  - fix warning tampered files in GUI [SME: 10496]  - fix warning tampered files in GUI [SME: 10496]
# Line 338  This package provide the integration of Line 343  This package provide the integration of
343  - initial release  - initial release
344    
345  %prep  %prep
   
346  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
347  %patch0 -p1  %patch0 -p1
348  %patch1 -p1  %patch1 -p1
349  %patch2 -p1  %patch2 -p1
350  %patch3 -p1  %patch3 -p1
 %patch4 -p1  
 %patch5 -p1  
 %patch6 -p1  
 %patch7 -p1  
 %patch8 -p1  
 %patch9 -p1  
 %patch10 -p1  
   
 # until rebuilt of a smeserver-freepbx tar file:  
 rm -rf root/etc/e-smith/db/configuration/defaults/freepbx/DeviceAndUser  
 rm -rf root/var/log/httpd-fpbx  
 %patch11 -p1  
 mkdir -p  root/var/log/php/freepbx  
 mkdir -p  root/var/lib/php/freepbx/sessions root/var/lib/php/freepbx/temp  
351    
352  %build  %build
353  # Build symlinks  # Build symlinks
# Line 405  fi Line 395  fi
395    
396  %preun  %preun
397  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
398    /etc/rc.d/init.d/freepbx stop >& /dev/null || :    /usr/bin/systemctl stop  freepbx  >& /dev/null || :
399    fi
400    true
401    %postun
402    if [ $1 = 0 ] ; then
403       #remove cron for asterisk on uninstallation to avoid noise
404       /usr/bin/crontab -u asterisk -r  >& /dev/null || :
405  fi  fi
   
406  true  true
407    
408    
409    


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