/[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.12 by jpp, Fri Jul 22 06:47:36 2022 UTC Revision 1.20 by jpp, Thu Dec 15 05:08:55 2022 UTC
# Line 1  Line 1 
1  # $Id: smeserver-freepbx.spec,v 1.11 2022/07/22 06:39:08 jpp Exp $  # $Id: smeserver-freepbx.spec,v 1.19 2022/12/13 06:51:21 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 4  %define release 11
8  %define name smeserver-freepbx  %define name smeserver-freepbx
9    
10  Summary: Asterisk web GUI  Summary: Asterisk web GUI
# Line 19  Patch1: smeserver-freepbx-14-bz11924-sou Line 19  Patch1: smeserver-freepbx-14-bz11924-sou
19  Patch2: smeserver-freepbx-14-bz11986-service-fwconsole.patch  Patch2: smeserver-freepbx-14-bz11986-service-fwconsole.patch
20  Patch3: smeserver-freepbx-14-bz12009-backup.patch  Patch3: smeserver-freepbx-14-bz12009-backup.patch
21  Patch4: smeserver-freepbx-14-bz12046-httpd24.patch  Patch4: smeserver-freepbx-14-bz12046-httpd24.patch
22    Patch5: smeserver-freepbx-14-bz12226.patch
23    Patch6: smeserver-freepbx-14-bz10703-backup.patch
24    Patch7: smeserver-freepbx-14-bz11923-bz12256.patch
25    Patch8: smeserver-freepbx-14-go15.patch
26    
27  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
28  URL: http://www.freepbx.org/  URL: http://www.freepbx.org/
# Line 28  BuildRequires: tar Line 32  BuildRequires: tar
32    
33  Requires: mariadb  Requires: mariadb
34  Requires: nodejs >= 10  Requires: nodejs >= 10
 #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  
35  # freepbx 14 requires php56  # freepbx 14 requires php56
36  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
37  #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  # freepbx 15 and 16
38    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
39    # freepbx 16
40    Requires: php80-php-pear php80-php-cgi php80-php-common php80-php-curl php80-php-mbstring php80-php-gd php80-php-mysql php80-php-gettext php80-php-bcmath php80-php-zip php80-php-xml php80-php-imap php80-php-json php80-php-process php80-php-snmp
41    
42  Requires: httpd  Requires: httpd
43  Requires: php-pear  Requires: php-pear
44  Requires: /usr/sbin/asterisk  Requires: /usr/sbin/asterisk
 # not available for SME10 need to find module for mysql Requires: asterisk-addons  
45  #Requires: dahdi-tools  #Requires: dahdi-tools
46  #Requires: dahdi-linux  #Requires: dahdi-linux
47  Requires: sox  Requires: sox
# Line 43  Requires: mod_auth_tkt Line 49  Requires: mod_auth_tkt
49  Requires: e-smith-base  Requires: e-smith-base
50  Requires: freepbx-src  Requires: freepbx-src
51  Requires: asterisk-sounds-core-en-ulaw    Requires: asterisk-sounds-core-en-ulaw  
 # not available for sme10 Requires: asterisk-sounds-extra-en-ulaw  
 # not available for sme10 Requires: asterisk-resample  
52  Requires: asterisk-voicemail  Requires: asterisk-voicemail
53  Requires: asterisk-configs  Requires: asterisk-configs
54  #SME10  #SME10
55  Requires: asterisk-mysql asterisk-odbc asterisk-pjsip asterisk-sip  asterisk-festival asterisk-moh-opsound asterisk-snmp asterisk-mp3 asterisk-sounds-core-en asterisk-moh-opsound  Requires: asterisk-mysql asterisk-odbc asterisk-pjsip asterisk-sip  asterisk-festival asterisk-moh-opsound asterisk-snmp asterisk-mp3 asterisk-sounds-core-en asterisk-moh-opsound
56    Requires: asterisk-voicemail-plain
57  # conlicts with imap asterisk-voicemail-odbc asterisk-voicemail-plain  # conlicts with imap asterisk-voicemail-odbc asterisk-voicemail-plain
58  Requires: ffmpeg  Requires: ffmpeg
59  Requires: mpg123  Requires: mpg123
# Line 76  This package provide the integration of Line 81  This package provide the integration of
81    
82    
83  %changelog  %changelog
84  * Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-4.sme  * Wed Dec 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-11.sme
85    - fix bugs installing FPBX 15
86    
87    * Tue Dec 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-10.sme
88    - fix backup for FreePBX 15 and higher [SME: 12256]
89    - make compatible up to FreePBX 16 [SME: 11923]
90    
91    * Wed Dec 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-9.sme
92    - improve backup  [SME: 10703]
93    
94    * Wed Dec 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-8.sme
95    - fix patch for asterisk crontab [SME: 12227]
96    
97    * Wed Dec 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-7.sme
98    - fix voicemail not visible in UCP [SME: 12254]
99      force asterisk-voicemail-plain
100    
101    * Fri Nov 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-6.sme
102    - fix creation of folder preventing migration [SME: 12226]
103    
104    * Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 14-5.sme
105    - Re-build and link to latest devtools [SME: 11997]
106    
107    * Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-4.sme
108  - add to core backup [SME: 12009]  - add to core backup [SME: 12009]
109  - httpd 2.4 syntax [SME: 12046]  - httpd 2.4 syntax [SME: 12046]
110    
111  * Tue May 31 2022 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-3.sme  * Tue May 31 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-3.sme
112  - fix service file fwconsole path [SME: 11986]  - Re-build and link to latest devtools service file fwconsole path [SME: 11986]
113    
114  * Sat Apr 16 2022 Jean-Philippe Pialasse <tests@pialasse.com> %{version}-2.sme  * Sat Apr 16 2022 Jean-Philippe Pialasse <tests@pialasse.com> 14-2.sme
115  - fix huge amount of error if asterisk disabled [SME: 9756]  - Re-build and link to latest devtools huge amount of error if asterisk disabled [SME: 9756]
116  - fix multiple email sent because of asterisk cron php path [SME: 11940]  - Re-build and link to latest devtools multiple email sent because of asterisk cron php path [SME: 11940]
117  - on uninstall remove asterisk crontab to avoid noise [SME: 10131]  - on uninstall remove asterisk crontab to avoid noise [SME: 10131]
118  - allow access to sounds folder for gui [SME: 11924]  - allow access to sounds folder for gui [SME: 11924]
119    
# Line 111  This package provide the integration of Line 139  This package provide the integration of
139  * 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
140  - 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]
141  - add requires lame [SME: 9859]  - add requires lame [SME: 9859]
142  - fix sounds ownership so they can be handled via gui [SME: 11924]  - Re-build and link to latest devtools sounds ownership so they can be handled via gui [SME: 11924]
143    
144  * 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
145  - fix warning tampered files in GUI [SME: 10496]  - Re-build and link to latest devtools warning tampered files in GUI [SME: 10496]
146  - remove DeviceAndUser property [SME: 10503]  - remove DeviceAndUser property [SME: 10503]
147    
148  * Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-14.sme  * Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-14.sme
149  - update TKT auth parameter for SME 9.2 [SME: 10268]  - update TKT auth parameter for SME 9.2 [SME: 10268]
150    
151  * Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-13.sme  * Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-13.sme
152  - fix noise rebooting and restarting freepbx [SME: 10120]  - Re-build and link to latest devtools noise rebooting and restarting freepbx [SME: 10120]
153    
154  * Wed Jan 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-11.sme  * Wed Jan 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-11.sme
155  - NFR: auto backup of whole FBX config during pre-backup event [SME: 9637]  - NFR: auto backup of whole FBX config during pre-backup event [SME: 9637]
# Line 130  This package provide the integration of Line 158  This package provide the integration of
158  - weekly backup is also done.  - weekly backup is also done.
159    
160  * Mon Jan 23 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-10.sme  * Mon Jan 23 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-10.sme
161  - fix Missing HTML5 format converters  [SME: 9859]  - Re-build and link to latest devtools Missing HTML5 format converters  [SME: 9859]
162  - added requirement for mpg123 and ffmpeg available in smecontribs  - added requirement for mpg123 and ffmpeg available in smecontribs
163    
164  * Mon Jan 23 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-9.sme  * Mon Jan 23 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-9.sme
# Line 140  This package provide the integration of Line 168  This package provide the integration of
168  - autoupgrade modules [SME: 9860]  - autoupgrade modules [SME: 9860]
169    
170  * Mon Jan 09 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-7.sme  * Mon Jan 09 2017 Jean-Philipe Pialasse <tests@pialasse.com> 13-7.sme
171  - fix wrong default UDPPorts on new install [SME: 9918]  - Re-build and link to latest devtools wrong default UDPPorts on new install [SME: 9918]
172    
173  * Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-6.sme  * Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-6.sme
174  - fix error while backup with workstation [SME: 9760]  - Re-build and link to latest devtools error while backup with workstation [SME: 9760]
175    
176  * Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-5.sme  * Mon Oct 24 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-5.sme
177  -fix typo in smeserver-freepbx-13.bz9744.patch  -fix typo in smeserver-freepbx-13.bz9744.patch
178    
179  * Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-4.sme  * Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-4.sme
180  - fix [SME: 9702]  - Re-build and link to latest devtools [SME: 9702]
181  - corrected syntax for port range  - corrected syntax for port range
182    
183  * Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-3.sme  * Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-3.sme
184  - fix [SME: 9744]  - Re-build and link to latest devtools [SME: 9744]
185  - fix wrong /tmp folder permission after update  - Re-build and link to latest devtools wrong /tmp folder permission after update
186  - Thank you Hsing-Foo Wang.  - Thank you Hsing-Foo Wang.
187    
188  * Tue Jul 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-2.sme  * Tue Jul 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-2.sme
189  - fix wrong UDP ports change 1000:2000 to 10000:20000 [SME: 9702]  - Re-build and link to latest devtools wrong UDP ports change 1000:2000 to 10000:20000 [SME: 9702]
190    
191  * Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-1.sme  * Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-1.sme
192  - bump version to current Freepbx version 13  - bump version to current Freepbx version 13
# Line 167  This package provide the integration of Line 195  This package provide the integration of
195  - add all needed port for Freepbx sip pjsip and RTP [SME: 9495]  - add all needed port for Freepbx sip pjsip and RTP [SME: 9495]
196    
197  * Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> -46.sme  * Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> -46.sme
198  - fix missing config files (requires asterisk-configs) [SME: 9577]  - Re-build and link to latest devtools missing config files (requires asterisk-configs) [SME: 9577]
199  - fix recuring reconfiguration error while installing digium phone module [SME: 9575]  - Re-build and link to latest devtools recuring reconfiguration error while installing digium phone module [SME: 9575]
200  - added port 5061 for tls to TCP ports [SME: 9576]  - added port 5061 for tls to TCP ports [SME: 9576]
201    
202  * Thu Jun 09 2016 Jean-Philipe Pialasse <tests@pialasse.com> -45.sme  * Thu Jun 09 2016 Jean-Philipe Pialasse <tests@pialasse.com> -45.sme
203  - fix wrong logrotate pattern [SME: 9516]  - Re-build and link to latest devtools wrong logrotate pattern [SME: 9516]
204  - as the contrib is only in smedev, i do not fix existing log files badly rotated  - as the contrib is only in smedev, i do not fix existing log files badly rotated
205    
206  * Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-44.sme  * Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-44.sme
# Line 327  This package provide the integration of Line 355  This package provide the integration of
355  - spec cleanup  - spec cleanup
356    
357  * Thu Nov 13 2008 Daniel B. <daniel@firewall-services.com> [0.1-4]  * Thu Nov 13 2008 Daniel B. <daniel@firewall-services.com> [0.1-4]
358  - fix logrotate issue  - Re-build and link to latest devtools logrotate issue
359    
360  * Wed Nov 05 2008 Daniel B. <daniel@firewall-services.com> [0.1-3]  * Wed Nov 05 2008 Daniel B. <daniel@firewall-services.com> [0.1-3]
361  - split freepbx sources in a separate package (freepbx-src)  - split freepbx sources in a separate package (freepbx-src)
# Line 352  This package provide the integration of Line 380  This package provide the integration of
380  %patch2 -p1  %patch2 -p1
381  %patch3 -p1  %patch3 -p1
382  %patch4 -p1  %patch4 -p1
383    %patch5 -p1
384    %patch6 -p1
385    %patch7 -p1
386    %patch8 -p1
387    
388  %build  %build
389  # Build symlinks  # Build symlinks
# Line 364  rm -rf $RPM_BUILD_ROOT Line 396  rm -rf $RPM_BUILD_ROOT
396    
397  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
398  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
399            --file /sbin/e-smith/fwconsole 'attr(0755,root,root)' \
400          --file /usr/share/freepbx/scripts/uninstall.sh 'attr(0750,root,root)' \          --file /usr/share/freepbx/scripts/uninstall.sh 'attr(0750,root,root)' \
401          --file /usr/share/freepbx/scripts/restore-astdb.php 'attr(0750,root,root)' \          --file /usr/share/freepbx/scripts/restore-astdb.php 'attr(0750,root,root)' \
402          --dir /var/service/httpd-fpbx 'attr(01755,root,root)' \          --dir /var/service/httpd-fpbx 'attr(01755,root,root)' \


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