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

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

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

Revision 1.2 by unnilennium, Fri May 6 08:30:17 2016 UTC Revision 1.20 by unnilennium, Mon Oct 24 02:58:18 2016 UTC
# Line 1  Line 1 
1  # $Id: smeserver-freepbx.spec,v 1.1 2016/05/06 07:58:15 unnilennium Exp $  # $Id: smeserver-freepbx.spec,v 1.19 2016/07/26 16:24:23 unnilennium 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 0.1  %define version 13
7  %define release 34  %define release 3
8  %define name smeserver-freepbx  %define name smeserver-freepbx
9    
10  Summary: Asterisk web GUI  Summary: Asterisk web GUI
# Line 15  License: GPL Line 15  License: GPL
15  Group: System/Servers  Group: System/Servers
16  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
17    
18  Patch0: smeserver-freepbx-0.1-fop_link.patch  Patch0: smeserver-freepbx-13.bz9702.udpports.patch
19  Patch1: smeserver-freepbx-0.1-genzaptelconf.patch  Patch1: smeserver-freepbx-13.bz9744.patch
 Patch2: smeserver-freepbx-0.1-logrotate.patch  
 Patch3: smeserver-freepbx-0.1-asterisk_logrotate.patch  
 Patch4: smeserver-freepbx-0.1-userpanels.patch  
 Patch5: smeserver-freepbx-0.1-trunk_alert_mail.patch  
 Patch6: smeserver-freepbx-0.1-trunk_name_in_alert.patch  
 Patch7: smeserver-freepbx-0.1-postupgrade_to_bootstrap.patch  
 Patch8: smeserver-freepbx-0.1-zap2dahdi.patch  
 Patch9: smeserver-freepbx-0.1-full_dahdi_support.patch  
 Patch10: smeserver-freepbx-0.1-fix_logrotate_event.patch  
 Patch11: smeserver-freepbx-0.1-retry_install.patch  
 Patch12: smeserver-freepbx-0.1-recordings_security.patch  
 Patch13: smeserver-freepbx-0.1-remove_admin_alias.patch  
 Patch14: smeserver-freepbx-0.1-recordingsfix2bootstrap.patch  
 Patch15: smeserver-freepbx-0.1-templatize_cdr_mysql.patch  
 Patch16: smeserver-freepbx-0.1-templatize_manager.patch  
 Patch17: smeserver-freepbx-0.1-cdr_mysql_template_begin.patch  
 Patch18: smeserver-freepbx-0.1-clean_crontab.patch  
 Patch19: smeserver-freepbx-0.1-crontab_script_fixe.patch  
 Patch20: smeserver-freepbx-0.1-http_cleanup.patch  
 Patch21: smeserver-freepbx-0.1-cdr_passwd.patch  
 Patch22: smeserver-freepbx-0.1-fop_separate_service.patch  
 Patch23: smeserver-freepbx-0.1-check_referer.patch  
 Patch24: smeserver-freepbx-0.1-dump_astdb_include_functions.patch  
 Patch25: smeserver-freepbx-0.1-disable_dynamic_hints.patch  
 Patch26: smeserver-freepbx-0.1-remove_logrotate_conf.patch  
 Patch27: smeserver-freepbx-0.1-ari_password_from_db.patch  
 Patch28: smeserver-freepbx-0.1-create_mysql.patch  
 Patch29: smeserver-freepbx-0.1-template_asterisk_conf.patch  
 Patch30: smeserver-freepbx-0.1-datadir_in_var_lib.patch  
 Patch31: smeserver-freepbx-0.1-templates_logrotate.patch  
 Patch32: smeserver-freepbx-0.1-session_path.patch  
 Patch33: smeserver-freepbx-0.1-logrotate_misdn.patch  
 Patch34: smeserver-freepbx-0.1-protect_by_location.patch  
   
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/
22    
# Line 61  Requires: mysql Line 27  Requires: mysql
27  Requires: httpd  Requires: httpd
28  Requires: php-pear  Requires: php-pear
29  Requires: /usr/sbin/asterisk  Requires: /usr/sbin/asterisk
30  Requires: %{_libdir}/asterisk/modules/app_addon_sql_mysql.so  Requires: asterisk-addons
31  Requires: dahdi-tools  Requires: dahdi-tools
32  Requires: dahdi-linux  Requires: dahdi-linux
33  Requires: sox  Requires: sox
34  Requires: mod_auth_tkt  Requires: mod_auth_tkt
35  Requires: e-smith-base  Requires: e-smith-base
36  Requires: freepbx-src  Requires: freepbx-src
37    Requires: asterisk-sounds-core-en-ulaw  
38    Requires: asterisk-sounds-extra-en-ulaw
39    Requires: asterisk-voicemail
40    Requires: asterisk-configs
41  #Buildarch: noarch  #Buildarch: noarch
42  AutoReqProv: no  AutoReqProv: no
43    
# Line 78  FreePBX is a Standardised Implementation Line 47  FreePBX is a Standardised Implementation
47  This package provide the integration of FreePBX on SME Server.  This package provide the integration of FreePBX on SME Server.
48    
49    
50  %changelogi  %changelog
51  * Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> -34.sme  * Sun Oct 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> -3.sme
52    - fix [SME: 9744]
53    - fix wrong /tmp folder permission after update
54    - Thank you Hsing-Foo Wang.
55    
56    * Tue Jul 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-2.sme
57    - fix wrong UDP ports change 1000:2000 to 10000:20000 [SME: 9702]
58    
59    * Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-1.sme
60    - bump version to current Freepbx version 13
61    
62    * Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> -47.sme
63    - add all needed port for Freepbx sip pjsip and RTP [SME: 9495]
64    
65    * Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> -46.sme
66    - fix missing config files (requires asterisk-configs) [SME: 9577]
67    - fix recuring reconfiguration error while installing digium phone module [SME: 9575]
68    - added port 5061 for tls to TCP ports [SME: 9576]
69    
70    * Thu Jun 09 2016 Jean-Philipe Pialasse <tests@pialasse.com> -45.sme
71    - fix wrong logrotate pattern [SME: 9516]
72    - as the contrib is only in smedev, i do not fix existing log files badly rotated
73    
74    * Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-44.sme
75    - remove fop db [SME: 9495]
76    - add some mysql setting for freepbxdb (user, email)
77    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-7.patch
78    
79    * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-43.sme
80    - add path to ucp module [SME: 9495]
81    - add 256Mo as default for freepbx php Memory
82    - add AllowOveride All for .htaccess
83    - remove httpd config to old FOP panel
84    - add port 5061 for freepbx
85    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-5.patch
86    - configuration of amportal.conf and its mysql equivalent
87    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-6.patch
88    
89    * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-42.sme
90    - remove FOP patches [SME: 9495]
91    - deleted link to expand amportal.conf
92    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-4.patch
93    
94    * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-41.sme
95    - remove heading of /etc/asterisk/asterisk.conf [SME: 9495]
96    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-3.patch
97    - bump
98    
99    * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-38.sme
100    - remove expand template amportal.conf [SME: 9495]
101    - chown /var/lib/asterisk
102    - installation configuration options
103    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-2.patch
104    - Requires: asterisk-sounds-core-en-ulaw  asterisk-sounds-extra-en-ulaw asterisk-voicemail
105    
106    * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-37.sme
107    - new path to sql files [SME: 9495]
108    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-1.patch
109    
110    * Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-36.sme
111    - adapt script to  fpbx13 and asterisk 13 [SME: 9495]
112    - change Requires Requires: %{_libdir}/asterisk/modules/app_addon_sql_mysql.so to
113    - Requires: asterisk-addons as this is the paquet providing it, and it changed name to app_mysql.so
114    
115    * Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-35.sme
116    - adapt script to  fpbx13 and asterisk 13 [SME: 9495]
117    - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-0.patch
118    
119    * Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-34.sme
120  - first import to SME9 [SME: 9495]  - first import to SME9 [SME: 9495]
121    
122  * Sun May 12 2013 JP Pialasse <tests@pialasse.com> 0.1-33.sme  * Sun May 12 2013 JP Pialasse <tests@pialasse.com> 0.1-33.sme
# Line 209  This package provide the integration of Line 246  This package provide the integration of
246  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
247  %patch0 -p1  %patch0 -p1
248  %patch1 -p1  %patch1 -p1
 %patch2 -p1  
 %patch3 -p1  
 %patch4 -p1  
 %patch5 -p1  
 %patch6 -p1  
 %patch7 -p1  
 %patch8 -p1  
 %patch9 -p1  
 %patch10 -p1  
 %patch11 -p1  
 %patch12 -p1  
 %patch13 -p1  
 %patch14 -p1  
 %patch15 -p1  
 %patch16 -p1  
 %patch17 -p1  
 %patch18 -p1  
 %patch19 -p1  
 %patch20 -p1  
 %patch21 -p1  
 %patch22 -p1  
 %patch23 -p1  
 %patch24 -p1  
 %patch25 -p1  
 %patch26 -p1  
 %patch27 -p1  
 %patch28 -p1  
 %patch29 -p1  
 %patch30 -p1  
 %patch31 -p1  
 %patch32 -p1  
 %patch33 -p1  
 %patch34 -p1  
249    
250  %build  %build
251  # Build symlinks  # Build symlinks
# Line 278  rm -rf $RPM_BUILD_ROOT Line 282  rm -rf $RPM_BUILD_ROOT
282    
283  %post  %post
284    
285    #bug 9744, restore tmp permissions
286    if [ `stat -c %U /tmp` == "asterisk"  ]; then
287            chmod o+rwxt /tmp/
288            chown root:root /tmp/
289    fi
290    
291  %preun  %preun
292  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
293    /etc/rc.d/init.d/freepbx stop >& /dev/null || :    /etc/rc.d/init.d/freepbx stop >& /dev/null || :


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