1 |
# $Id: smeserver-freepbx.spec,v 1.3 2016/05/06 11:09:30 unnilennium Exp $ |
# $Id: smeserver-freepbx.spec,v 1.17 2016/06/13 10:28:17 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 36 |
%define release 1 |
8 |
%define name smeserver-freepbx |
%define name smeserver-freepbx |
9 |
|
|
10 |
Summary: Asterisk web GUI |
Summary: Asterisk web GUI |
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-0.1-fop_link.patch |
19 |
Patch1: smeserver-freepbx-0.1-genzaptelconf.patch |
#Patch1: smeserver-freepbx-0.1-genzaptelconf.patch |
20 |
Patch2: smeserver-freepbx-0.1-logrotate.patch |
#Patch2: smeserver-freepbx-0.1-logrotate.patch |
21 |
Patch3: smeserver-freepbx-0.1-asterisk_logrotate.patch |
#Patch3: smeserver-freepbx-0.1-asterisk_logrotate.patch |
22 |
Patch4: smeserver-freepbx-0.1-userpanels.patch |
#Patch4: smeserver-freepbx-0.1-userpanels.patch |
23 |
Patch5: smeserver-freepbx-0.1-trunk_alert_mail.patch |
#Patch5: smeserver-freepbx-0.1-trunk_alert_mail.patch |
24 |
Patch6: smeserver-freepbx-0.1-trunk_name_in_alert.patch |
#Patch6: smeserver-freepbx-0.1-trunk_name_in_alert.patch |
25 |
Patch7: smeserver-freepbx-0.1-postupgrade_to_bootstrap.patch |
#Patch7: smeserver-freepbx-0.1-postupgrade_to_bootstrap.patch |
26 |
Patch8: smeserver-freepbx-0.1-zap2dahdi.patch |
#Patch8: smeserver-freepbx-0.1-zap2dahdi.patch |
27 |
Patch9: smeserver-freepbx-0.1-full_dahdi_support.patch |
#Patch9: smeserver-freepbx-0.1-full_dahdi_support.patch |
28 |
Patch10: smeserver-freepbx-0.1-fix_logrotate_event.patch |
#Patch10: smeserver-freepbx-0.1-fix_logrotate_event.patch |
29 |
Patch11: smeserver-freepbx-0.1-retry_install.patch |
#Patch11: smeserver-freepbx-0.1-retry_install.patch |
30 |
Patch12: smeserver-freepbx-0.1-recordings_security.patch |
#Patch12: smeserver-freepbx-0.1-recordings_security.patch |
31 |
Patch13: smeserver-freepbx-0.1-remove_admin_alias.patch |
#Patch13: smeserver-freepbx-0.1-remove_admin_alias.patch |
32 |
Patch14: smeserver-freepbx-0.1-recordingsfix2bootstrap.patch |
#Patch14: smeserver-freepbx-0.1-recordingsfix2bootstrap.patch |
33 |
Patch15: smeserver-freepbx-0.1-templatize_cdr_mysql.patch |
#Patch15: smeserver-freepbx-0.1-templatize_cdr_mysql.patch |
34 |
Patch16: smeserver-freepbx-0.1-templatize_manager.patch |
#Patch16: smeserver-freepbx-0.1-templatize_manager.patch |
35 |
Patch17: smeserver-freepbx-0.1-cdr_mysql_template_begin.patch |
#Patch17: smeserver-freepbx-0.1-cdr_mysql_template_begin.patch |
36 |
Patch18: smeserver-freepbx-0.1-clean_crontab.patch |
#Patch18: smeserver-freepbx-0.1-clean_crontab.patch |
37 |
Patch19: smeserver-freepbx-0.1-crontab_script_fixe.patch |
#Patch19: smeserver-freepbx-0.1-crontab_script_fixe.patch |
38 |
Patch20: smeserver-freepbx-0.1-http_cleanup.patch |
#Patch20: smeserver-freepbx-0.1-http_cleanup.patch |
39 |
Patch21: smeserver-freepbx-0.1-cdr_passwd.patch |
#Patch21: smeserver-freepbx-0.1-cdr_passwd.patch |
40 |
Patch22: smeserver-freepbx-0.1-fop_separate_service.patch |
#Patch22: smeserver-freepbx-0.1-fop_separate_service.patch |
41 |
Patch23: smeserver-freepbx-0.1-check_referer.patch |
#Patch23: smeserver-freepbx-0.1-check_referer.patch |
42 |
Patch24: smeserver-freepbx-0.1-dump_astdb_include_functions.patch |
#Patch24: smeserver-freepbx-0.1-dump_astdb_include_functions.patch |
43 |
Patch25: smeserver-freepbx-0.1-disable_dynamic_hints.patch |
#Patch25: smeserver-freepbx-0.1-disable_dynamic_hints.patch |
44 |
Patch26: smeserver-freepbx-0.1-remove_logrotate_conf.patch |
#Patch26: smeserver-freepbx-0.1-remove_logrotate_conf.patch |
45 |
Patch27: smeserver-freepbx-0.1-ari_password_from_db.patch |
#Patch27: smeserver-freepbx-0.1-ari_password_from_db.patch |
46 |
Patch28: smeserver-freepbx-0.1-create_mysql.patch |
#Patch28: smeserver-freepbx-0.1-create_mysql.patch |
47 |
Patch29: smeserver-freepbx-0.1-template_asterisk_conf.patch |
#Patch29: smeserver-freepbx-0.1-template_asterisk_conf.patch |
48 |
Patch30: smeserver-freepbx-0.1-datadir_in_var_lib.patch |
#Patch30: smeserver-freepbx-0.1-datadir_in_var_lib.patch |
49 |
Patch31: smeserver-freepbx-0.1-templates_logrotate.patch |
#Patch31: smeserver-freepbx-0.1-templates_logrotate.patch |
50 |
Patch32: smeserver-freepbx-0.1-session_path.patch |
#Patch32: smeserver-freepbx-0.1-session_path.patch |
51 |
Patch33: smeserver-freepbx-0.1-logrotate_misdn.patch |
#Patch33: smeserver-freepbx-0.1-logrotate_misdn.patch |
52 |
Patch34: smeserver-freepbx-0.1-protect_by_location.patch |
#Patch34: smeserver-freepbx-0.1-protect_by_location.patch |
53 |
Patch35: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-0.patch |
#Patch35: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-0.patch |
54 |
|
#Patch36: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-1.patch |
55 |
|
#Patch37: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-2.patch |
56 |
|
#Patch38: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-3.patch |
57 |
|
#Patch39: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-4.patch |
58 |
|
#Patch40: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-5.patch |
59 |
|
#Patch41: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-6.patch |
60 |
|
#Patch42: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-7.patch |
61 |
|
#Patch43: smeserver-freepbx-0.1-logrotate1.patch |
62 |
|
#Patch44: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-TcpPort-DigiumPhones.patch |
63 |
|
#Patch45: smeserver-freepbx-0.1-Sme9Ast13Fpbx13-moreUDPPorts.patch |
64 |
|
|
65 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
66 |
URL: http://www.freepbx.org/ |
URL: http://www.freepbx.org/ |
79 |
Requires: mod_auth_tkt |
Requires: mod_auth_tkt |
80 |
Requires: e-smith-base |
Requires: e-smith-base |
81 |
Requires: freepbx-src |
Requires: freepbx-src |
82 |
|
Requires: asterisk-sounds-core-en-ulaw |
83 |
|
Requires: asterisk-sounds-extra-en-ulaw |
84 |
|
Requires: asterisk-voicemail |
85 |
|
Requires: asterisk-configs |
86 |
#Buildarch: noarch |
#Buildarch: noarch |
87 |
AutoReqProv: no |
AutoReqProv: no |
88 |
|
|
93 |
|
|
94 |
|
|
95 |
%changelog |
%changelog |
96 |
|
* Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-1.sme |
97 |
|
- bump version to current Freepbx version 13 |
98 |
|
|
99 |
|
* Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> -47.sme |
100 |
|
- add all needed port for Freepbx sip pjsip and RTP [SME: 9495] |
101 |
|
|
102 |
|
* Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> -46.sme |
103 |
|
- fix missing config files (requires asterisk-configs) [SME: 9577] |
104 |
|
- fix recuring reconfiguration error while installing digium phone module [SME: 9575] |
105 |
|
- added port 5061 for tls to TCP ports [SME: 9576] |
106 |
|
|
107 |
|
* Thu Jun 09 2016 Jean-Philipe Pialasse <tests@pialasse.com> -45.sme |
108 |
|
- fix wrong logrotate pattern [SME: 9516] |
109 |
|
- as the contrib is only in smedev, i do not fix existing log files badly rotated |
110 |
|
|
111 |
|
* Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-44.sme |
112 |
|
- remove fop db [SME: 9495] |
113 |
|
- add some mysql setting for freepbxdb (user, email) |
114 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-7.patch |
115 |
|
|
116 |
|
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-43.sme |
117 |
|
- add path to ucp module [SME: 9495] |
118 |
|
- add 256Mo as default for freepbx php Memory |
119 |
|
- add AllowOveride All for .htaccess |
120 |
|
- remove httpd config to old FOP panel |
121 |
|
- add port 5061 for freepbx |
122 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-5.patch |
123 |
|
- configuration of amportal.conf and its mysql equivalent |
124 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-6.patch |
125 |
|
|
126 |
|
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-42.sme |
127 |
|
- remove FOP patches [SME: 9495] |
128 |
|
- deleted link to expand amportal.conf |
129 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-4.patch |
130 |
|
|
131 |
|
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-41.sme |
132 |
|
- remove heading of /etc/asterisk/asterisk.conf [SME: 9495] |
133 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-3.patch |
134 |
|
- bump |
135 |
|
|
136 |
|
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-38.sme |
137 |
|
- remove expand template amportal.conf [SME: 9495] |
138 |
|
- chown /var/lib/asterisk |
139 |
|
- installation configuration options |
140 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-2.patch |
141 |
|
- Requires: asterisk-sounds-core-en-ulaw asterisk-sounds-extra-en-ulaw asterisk-voicemail |
142 |
|
|
143 |
|
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-37.sme |
144 |
|
- new path to sql files [SME: 9495] |
145 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-1.patch |
146 |
|
|
147 |
* Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-36.sme |
* Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-36.sme |
148 |
- adapt script to fpbx13 and asterisk 13 [SME: 9495] |
- adapt script to fpbx13 and asterisk 13 [SME: 9495] |
149 |
- change Requires Requires: %{_libdir}/asterisk/modules/app_addon_sql_mysql.so to |
- change Requires Requires: %{_libdir}/asterisk/modules/app_addon_sql_mysql.so to |
281 |
%prep |
%prep |
282 |
|
|
283 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
284 |
%patch0 -p1 |
#%patch0 -p1 |
285 |
%patch1 -p1 |
#%patch1 -p1 |
286 |
%patch2 -p1 |
#%patch2 -p1 |
287 |
%patch3 -p1 |
#%patch3 -p1 |
288 |
%patch4 -p1 |
#%patch4 -p1 |
289 |
%patch5 -p1 |
#%patch5 -p1 |
290 |
%patch6 -p1 |
#%patch6 -p1 |
291 |
%patch7 -p1 |
#%patch7 -p1 |
292 |
%patch8 -p1 |
#%patch8 -p1 |
293 |
%patch9 -p1 |
#%patch9 -p1 |
294 |
%patch10 -p1 |
#%patch10 -p1 |
295 |
%patch11 -p1 |
#%patch11 -p1 |
296 |
%patch12 -p1 |
#%patch12 -p1 |
297 |
%patch13 -p1 |
#%patch13 -p1 |
298 |
%patch14 -p1 |
#%patch14 -p1 |
299 |
%patch15 -p1 |
#%patch15 -p1 |
300 |
%patch16 -p1 |
#%patch16 -p1 |
301 |
%patch17 -p1 |
#%patch17 -p1 |
302 |
%patch18 -p1 |
#%patch18 -p1 |
303 |
%patch19 -p1 |
#%patch19 -p1 |
304 |
%patch20 -p1 |
#%patch20 -p1 |
305 |
%patch21 -p1 |
#%patch21 -p1 |
306 |
%patch22 -p1 |
#%patch22 -p1 |
307 |
%patch23 -p1 |
#%patch23 -p1 |
308 |
%patch24 -p1 |
#%patch24 -p1 |
309 |
%patch25 -p1 |
#%patch25 -p1 |
310 |
%patch26 -p1 |
#%patch26 -p1 |
311 |
%patch27 -p1 |
#%patch27 -p1 |
312 |
%patch28 -p1 |
#%patch28 -p1 |
313 |
%patch29 -p1 |
#%patch29 -p1 |
314 |
%patch30 -p1 |
#%patch30 -p1 |
315 |
%patch31 -p1 |
#%patch31 -p1 |
316 |
%patch32 -p1 |
#%patch32 -p1 |
317 |
%patch33 -p1 |
#%patch33 -p1 |
318 |
%patch34 -p1 |
#%patch34 -p1 |
319 |
%patch35 -p1 |
#%patch35 -p1 |
320 |
|
#%patch36 -p1 |
321 |
|
#%patch37 -p1 |
322 |
|
#%patch38 -p1 |
323 |
|
#%patch39 -p1 |
324 |
|
#%patch40 -p1 |
325 |
|
#%patch41 -p1 |
326 |
|
#%patch42 -p1 |
327 |
|
#%patch43 -p1 |
328 |
|
#%patch44 -p1 |
329 |
|
#%patch45 -p1 |
330 |
|
|
331 |
|
##dirty temp fix to remove file that should not be there |
332 |
|
#rm root/etc/e-smith/events/freepbx-update/templates2expand/etc/amportal.conf |
333 |
|
|
334 |
%build |
%build |
335 |
# Build symlinks |
# Build symlinks |