1 |
# $Id: smeserver-freepbx.spec,v 1.2 2016/05/06 08:30:17 unnilennium Exp $ |
# $Id: smeserver-freepbx.spec,v 1.13 2016/05/16 10:44:02 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 0.1 |
7 |
%define release 35 |
%define release 45 |
8 |
%define name smeserver-freepbx |
%define name smeserver-freepbx |
9 |
|
|
10 |
Summary: Asterisk web GUI |
Summary: Asterisk web GUI |
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 |
|
|
63 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
64 |
URL: http://www.freepbx.org/ |
URL: http://www.freepbx.org/ |
70 |
Requires: httpd |
Requires: httpd |
71 |
Requires: php-pear |
Requires: php-pear |
72 |
Requires: /usr/sbin/asterisk |
Requires: /usr/sbin/asterisk |
73 |
Requires: %{_libdir}/asterisk/modules/app_addon_sql_mysql.so |
Requires: asterisk-addons |
74 |
Requires: dahdi-tools |
Requires: dahdi-tools |
75 |
Requires: dahdi-linux |
Requires: dahdi-linux |
76 |
Requires: sox |
Requires: sox |
77 |
Requires: mod_auth_tkt |
Requires: mod_auth_tkt |
78 |
Requires: e-smith-base |
Requires: e-smith-base |
79 |
Requires: freepbx-src |
Requires: freepbx-src |
80 |
|
Requires: asterisk-sounds-core-en-ulaw |
81 |
|
Requires: asterisk-sounds-extra-en-ulaw |
82 |
|
Requires: asterisk-voicemail |
83 |
|
|
84 |
#Buildarch: noarch |
#Buildarch: noarch |
85 |
AutoReqProv: no |
AutoReqProv: no |
91 |
|
|
92 |
|
|
93 |
%changelog |
%changelog |
94 |
* Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-34.sme |
* Thu Jun 09 2016 Jean-Philipe Pialasse <tests@pialasse.com> -45.sme |
95 |
|
- fix wrong logrotate pattern [SME: 9516] |
96 |
|
- as the contrib is only in smedev, i do not fix existing log files badly rotated |
97 |
|
|
98 |
|
* Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-44.sme |
99 |
|
- remove fop db [SME: 9495] |
100 |
|
- add some mysql setting for freepbxdb (user, email) |
101 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-7.patch |
102 |
|
|
103 |
|
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-43.sme |
104 |
|
- add path to ucp module [SME: 9495] |
105 |
|
- add 256Mo as default for freepbx php Memory |
106 |
|
- add AllowOveride All for .htaccess |
107 |
|
- remove httpd config to old FOP panel |
108 |
|
- add port 5061 for freepbx |
109 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-5.patch |
110 |
|
- configuration of amportal.conf and its mysql equivalent |
111 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-6.patch |
112 |
|
|
113 |
|
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-42.sme |
114 |
|
- remove FOP patches [SME: 9495] |
115 |
|
- deleted link to expand amportal.conf |
116 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-4.patch |
117 |
|
|
118 |
|
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-41.sme |
119 |
|
- remove heading of /etc/asterisk/asterisk.conf [SME: 9495] |
120 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-3.patch |
121 |
|
- bump |
122 |
|
|
123 |
|
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-38.sme |
124 |
|
- remove expand template amportal.conf [SME: 9495] |
125 |
|
- chown /var/lib/asterisk |
126 |
|
- installation configuration options |
127 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-2.patch |
128 |
|
- Requires: asterisk-sounds-core-en-ulaw asterisk-sounds-extra-en-ulaw asterisk-voicemail |
129 |
|
|
130 |
|
* Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-37.sme |
131 |
|
- new path to sql files [SME: 9495] |
132 |
|
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-1.patch |
133 |
|
|
134 |
|
* Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-36.sme |
135 |
|
- adapt script to fpbx13 and asterisk 13 [SME: 9495] |
136 |
|
- change Requires Requires: %{_libdir}/asterisk/modules/app_addon_sql_mysql.so to |
137 |
|
- Requires: asterisk-addons as this is the paquet providing it, and it changed name to app_mysql.so |
138 |
|
|
139 |
|
* Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-35.sme |
140 |
- adapt script to fpbx13 and asterisk 13 [SME: 9495] |
- adapt script to fpbx13 and asterisk 13 [SME: 9495] |
141 |
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-0.patch |
- smeserver-freepbx-0.1-Sme9Ast13Fpbx13-0.patch |
142 |
|
|
304 |
%patch33 -p1 |
%patch33 -p1 |
305 |
%patch34 -p1 |
%patch34 -p1 |
306 |
%patch35 -p1 |
%patch35 -p1 |
307 |
|
%patch36 -p1 |
308 |
|
%patch37 -p1 |
309 |
|
%patch38 -p1 |
310 |
|
%patch39 -p1 |
311 |
|
%patch40 -p1 |
312 |
|
%patch41 -p1 |
313 |
|
%patch42 -p1 |
314 |
|
%patch43 -p1 |
315 |
|
|
316 |
|
|
317 |
|
#dirty temp fix to remove file that should not be there |
318 |
|
rm root/etc/e-smith/events/freepbx-update/templates2expand/etc/amportal.conf |
319 |
|
|
320 |
%build |
%build |
321 |
# Build symlinks |
# Build symlinks |