/[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.2 by jpp, Thu Nov 11 04:56:32 2021 UTC Revision 1.3 by jpp, Fri Mar 25 04:44:48 2022 UTC
# Line 1  Line 1 
1  # $Id: smeserver-freepbx.spec,v 1.1 2021/11/11 04:44:32 jpp Exp $  # $Id: smeserver-freepbx.spec,v 1.2 2021/11/11 04:56:32 jpp Exp $
2  # Authority: vip-ire  # Authority: vip-ire
3  # Name: Daniel Berteaud  # Name: Daniel Berteaud
4    
# Line 26  Patch7: smeserver-freepbx-13.bz10120.noi Line 26  Patch7: smeserver-freepbx-13.bz10120.noi
26  Patch8: smeserver-freepbx-13.bz10268.updatetktauth.patch  Patch8: smeserver-freepbx-13.bz10268.updatetktauth.patch
27  Patch9: smeserver-freepbx-13.bz10496.missing-tampered-files.patch  Patch9: smeserver-freepbx-13.bz10496.missing-tampered-files.patch
28  Patch10: smeserver-freepbx-13.bz10503.DeviceAndUser.patch  Patch10: smeserver-freepbx-13.bz10503.DeviceAndUser.patch
29    #### start SME10 patch
30    Patch11: smeserver-freepbx-bz11613-sme10.patch
31    
32  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
33  URL: http://www.freepbx.org/  URL: http://www.freepbx.org/
# Line 40  Requires: php74-php-pear php74-php-cgi p Line 42  Requires: php74-php-pear php74-php-cgi p
42  Requires: httpd  Requires: httpd
43  Requires: php-pear  Requires: php-pear
44  Requires: /usr/sbin/asterisk  Requires: /usr/sbin/asterisk
45  Requires: asterisk-addons  # not available for SME10 need to find module for mysql Requires: asterisk-addons
46  #Requires: dahdi-tools  #Requires: dahdi-tools
47  #Requires: dahdi-linux  #Requires: dahdi-linux
48  Requires: sox  Requires: sox
# Line 48  Requires: mod_auth_tkt Line 50  Requires: mod_auth_tkt
50  Requires: e-smith-base  Requires: e-smith-base
51  Requires: freepbx-src  Requires: freepbx-src
52  Requires: asterisk-sounds-core-en-ulaw    Requires: asterisk-sounds-core-en-ulaw  
53  Requires: asterisk-sounds-extra-en-ulaw  # not available for sme10 Requires: asterisk-sounds-extra-en-ulaw
54  Requires: asterisk-resample  # not available for sme10 Requires: asterisk-resample
55  Requires: asterisk-voicemail  Requires: asterisk-voicemail
56  Requires: asterisk-configs  Requires: asterisk-configs
57    #SME10
58    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
59    # conlicts with imap asterisk-voicemail-odbc asterisk-voicemail-plain
60  Requires: ffmpeg  Requires: ffmpeg
61  Requires: mpg123  Requires: mpg123
62  Requires: mysql-connector-odbc  Requires: mysql-connector-odbc
63  Requires: unixODBC  Requires: unixODBC
64  Requires: asterisk-odbc  Requires: asterisk-odbc
65  Requires: lame  Requires: lame
66    Requires: xz
67    
68  #Buildarch: noarch  #Buildarch: noarch
69  AutoReqProv: no  AutoReqProv: no
# Line 70  This package provide the integration of Line 76  This package provide the integration of
76    
77  %changelog  %changelog
78  * 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
79  - first import to SME10 [SME: ]  - first import to SME10 [SME: 11613]
80    add dependencies for SME10  - make it Freepbx 14 compatible [SME: 10705] 
81      add dependencies for SME10 mariadb nodejs >= 10 php74*
82      remove missing rpms asterisk-sounds-extra-en-ulaw asterisk-resample asterisk-addons
83      remove double owned folders /etc/asterisk /var/lib/asterisk
84      systemd ready for asterisk(disabled), freepbx, httpd-fpbx
85      smeserver-freepbx-update event created NEED TEST
86      php74-php-fpm fragment
87      update httpd-fpbx template for php-fpm use
88      TODO : update httpd-e-smith to use php-fpm for fpbx
89      TODO : update install script for php74
90      add a copy of safe_asterisk
91      TODO : create php folders and set rights
92      improve logrotate
93    
94  * 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
95  - 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]
# Line 326  This package provide the integration of Line 344  This package provide the integration of
344    
345  # until rebuilt of a smeserver-freepbx tar file:  # until rebuilt of a smeserver-freepbx tar file:
346  rm -rf root/etc/e-smith/db/configuration/defaults/freepbx/DeviceAndUser  rm -rf root/etc/e-smith/db/configuration/defaults/freepbx/DeviceAndUser
347    %patch11 -p1
348    
349  %build  %build
350  # Build symlinks  # Build symlinks
# Line 350  rm -rf $RPM_BUILD_ROOT Line 369  rm -rf $RPM_BUILD_ROOT
369          --file /var/lib/asterisk/agi-bin/trunk_alert_mail.agi 'attr(0750,asterisk,asterisk)' \          --file /var/lib/asterisk/agi-bin/trunk_alert_mail.agi 'attr(0750,asterisk,asterisk)' \
370          --file /etc/logrotate.d/asterisk 'config(noreplace)' \          --file /etc/logrotate.d/asterisk 'config(noreplace)' \
371          --dir /var/lib/php/fpbx-session 'attr(0770,root,asterisk)' \          --dir /var/lib/php/fpbx-session 'attr(0770,root,asterisk)' \
372            --file /usr/local/bin/safe_asterisk  'attr(0755,root,root)' \
373    |grep -v '/var/lib/asterisk$'| grep -v '/etc/asterisk$' \
374           > %{name}-%{version}-%{release}-filelist           > %{name}-%{version}-%{release}-filelist
375    
376  %clean  %clean


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