1 |
# $Id$ |
# $Id: smeserver-freepbx.spec,v 1.17 2010/02/15 08:09:53 vip-ire 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 9 |
%define release 26 |
8 |
%define name smeserver-freepbx |
%define name smeserver-freepbx |
9 |
|
|
10 |
Summary: Asterisk web GUI |
Summary: Asterisk web GUI |
11 |
Name: %{name} |
Name: %{name} |
12 |
Version: %{version} |
Version: %{version} |
13 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
14 |
License: GPL |
License: GPL |
15 |
Group: System/Servers |
Group: System/Servers |
16 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
17 |
Patch0: smeserver-freepbx-0.1-fop_link.patch |
|
18 |
Patch1: smeserver-freepbx-0.1-genzaptelconf.patch |
Patch0: smeserver-freepbx-0.1-fop_link.patch |
19 |
Patch2: smeserver-freepbx-0.1-logrotate.patch |
Patch1: smeserver-freepbx-0.1-genzaptelconf.patch |
20 |
Patch3: smeserver-freepbx-0.1-asterisk_logrotate.patch |
Patch2: smeserver-freepbx-0.1-logrotate.patch |
21 |
Patch4: smeserver-freepbx-0.1-userpanels.patch |
Patch3: smeserver-freepbx-0.1-asterisk_logrotate.patch |
22 |
Patch5: smeserver-freepbx-0.1-trunk_alert_mail.patch |
Patch4: smeserver-freepbx-0.1-userpanels.patch |
23 |
Patch6: smeserver-freepbx-0.1-trunk_name_in_alert.patch |
Patch5: smeserver-freepbx-0.1-trunk_alert_mail.patch |
24 |
Patch7: smeserver-freepbx-0.1-postupgrade_to_bootstrap.patch |
Patch6: smeserver-freepbx-0.1-trunk_name_in_alert.patch |
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
Patch7: smeserver-freepbx-0.1-postupgrade_to_bootstrap.patch |
26 |
URL: http://www.freepbx.org/ |
Patch8: smeserver-freepbx-0.1-zap2dahdi.patch |
27 |
|
Patch9: smeserver-freepbx-0.1-full_dahdi_support.patch |
28 |
|
Patch10: smeserver-freepbx-0.1-fix_logrotate_event.patch |
29 |
|
Patch11: smeserver-freepbx-0.1-retry_install.patch |
30 |
|
Patch12: smeserver-freepbx-0.1-recordings_security.patch |
31 |
|
Patch13: smeserver-freepbx-0.1-remove_admin_alias.patch |
32 |
|
Patch14: smeserver-freepbx-0.1-recordingsfix2bootstrap.patch |
33 |
|
Patch15: smeserver-freepbx-0.1-templatize_cdr_mysql.patch |
34 |
|
Patch16: smeserver-freepbx-0.1-templatize_manager.patch |
35 |
|
Patch17: smeserver-freepbx-0.1-cdr_mysql_template_begin.patch |
36 |
|
Patch18: smeserver-freepbx-0.1-clean_crontab.patch |
37 |
|
Patch19: smeserver-freepbx-0.1-crontab_script_fixe.patch |
38 |
|
Patch20: smeserver-freepbx-0.1-http_cleanup.patch |
39 |
|
Patch21: smeserver-freepbx-0.1-cdr_passwd.patch |
40 |
|
Patch22: smeserver-freepbx-0.1-fop_separate_service.patch |
41 |
|
Patch23: smeserver-freepbx-0.1-check_referer.patch |
42 |
|
Patch24: smeserver-freepbx-0.1-dump_astdb_include_functions.patch |
43 |
|
Patch25: smeserver-freepbx-0.1-disable_dynamic_hints.patch |
44 |
|
Patch26: smeserver-freepbx-0.1-remove_logrotate_conf.patch |
45 |
|
|
46 |
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
47 |
|
URL: http://www.freepbx.org/ |
48 |
|
|
49 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
50 |
BuildRequires: tar |
BuildRequires: tar |
51 |
|
|
52 |
Requires: mysql |
Requires: mysql |
53 |
Requires: httpd |
Requires: httpd |
54 |
Requires: php-pear |
Requires: php-pear |
55 |
Requires: asterisk |
Requires: /usr/sbin/asterisk |
56 |
Requires: asterisk-addons |
Requires: %{_libdir}/asterisk/modules/app_addon_sql_mysql.so |
57 |
Requires: zaptel |
Requires: dahdi-tools |
58 |
Requires: speex |
Requires: dahdi-linux |
59 |
Requires: sox |
Requires: sox |
60 |
Requires: mod_auth_tkt |
Requires: mod_auth_tkt |
61 |
Requires: e-smith-base |
Requires: e-smith-base |
62 |
Requires: freepbx-src |
Requires: freepbx-src |
63 |
Buildarch: noarch |
|
64 |
AutoReqProv: no |
Buildarch: noarch |
65 |
|
AutoReqProv: no |
66 |
|
|
67 |
|
|
68 |
%description |
%description |
71 |
|
|
72 |
|
|
73 |
%changelog |
%changelog |
74 |
|
* Mon Feb 22 2010 Daniel B. <daniel@firewall-services.com> [0.1-26] |
75 |
|
- Remove hard-coded dependencies on asterisk and asterisk-addons14 |
76 |
|
Depends now on asterisk binary and app_addon_sql_mysql.so files |
77 |
|
(so it can work with asterisk or asterisk14) |
78 |
|
|
79 |
|
* Mon Feb 15 2010 Daniel B. <daniel@firewall-services.com> [0.1-25] |
80 |
|
- Remove /etc/logrotate.d/asterisk which is now included in asterisk14 |
81 |
|
|
82 |
|
* Tue Feb 09 2010 Daniel B. <daniel@firewall-services.com> [0.1-24] |
83 |
|
- Depends now on asterisk14 and asterisk-addons14 |
84 |
|
|
85 |
|
* Wed Jan 06 2010 Daniel B. <daniel@firewall-services.com> [0.1-23] |
86 |
|
- disable dynamic hints |
87 |
|
|
88 |
|
* Tue Oct 06 2009 Daniel B. <daniel@firewall-services.com> [0.1-22] |
89 |
|
- include /opt/freepbx/admin/functions.inc.php in freepbx-dump-astdb |
90 |
|
action script for FreePBX 2.6 compatibility |
91 |
|
|
92 |
|
* Tue May 19 2009 Daniel B. <daniel@firewall-services.com> [0.1-21] |
93 |
|
- Add CHECKREFERER=FALSE in amportal.conf to repvent error message in some |
94 |
|
modules (due to the ProxyPass configuration) |
95 |
|
|
96 |
|
* Tue Apr 28 2009 Daniel B. <daniel@firewall-services.com> [0.1-20] |
97 |
|
- Fix CDR db password in cdr_mysql.conf template |
98 |
|
- Use a separate service in SME db for FOP |
99 |
|
|
100 |
|
* Thu Apr 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-19] |
101 |
|
- remove scoreboard directive from httpd-fpbx config |
102 |
|
- remove some modules (mod_ssl, mod_proxy) |
103 |
|
|
104 |
|
* Sat Apr 11 2009 Daniel B. <daniel@firewall-services.com> [0.1-18] |
105 |
|
- templatize cdr_mysql.conf [SME: 5153] |
106 |
|
- templatize manager.conf |
107 |
|
- remove freepbx-cron-scheduler.php from root crontab so only |
108 |
|
asterisk user runs it (prevent email error sent from cron) |
109 |
|
|
110 |
|
* Fri Mar 27 2009 Daniel B. <daniel@firewall-services.com> [0.1-17] |
111 |
|
- Remove obsolete /admin Alias from apache |
112 |
|
- Run the security script on bootsrape-console-save event |
113 |
|
|
114 |
|
* Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-16] |
115 |
|
- Security Fixe: put a random password for ARI admin (this should be documented) |
116 |
|
|
117 |
|
* Thu Mar 19 2009 Daniel B. <daniel@firewall-services.com> [0.1-15] |
118 |
|
- Check if /opt/freepbx/admin exists (retry the install if a first one failed) |
119 |
|
- Remove tabs from spec |
120 |
|
|
121 |
|
* Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [0.1-14] |
122 |
|
- Remove speex from dependencies |
123 |
|
|
124 |
|
* Thu Mar 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-13] |
125 |
|
- Remove zaptel dependency, replaced with dahdi-tools and dahdi-linux |
126 |
|
|
127 |
|
* Mon Feb 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-12] |
128 |
|
- Fix logrotate issue (send a sigusr1 signal to httpd-fpbx) |
129 |
|
|
130 |
|
* Thu Feb 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-11] |
131 |
|
- Full support for the new DAHDI driver, droping zaptel |
132 |
|
|
133 |
|
* Mon Feb 09 2009 Daniel B. <daniel@firewall-services.com> [0.1-10] |
134 |
|
- add support for DAHDI channel |
135 |
|
|
136 |
* Mon Dec 08 2008 Daniel B. <daniel@firewall-services.com> [0.1-9] |
* Mon Dec 08 2008 Daniel B. <daniel@firewall-services.com> [0.1-9] |
137 |
- move expand-templates from post-upgrade event to bootstrap-console-save |
- move expand-templates from post-upgrade event to bootstrap-console-save |
138 |
|
|
181 |
%patch5 -p1 |
%patch5 -p1 |
182 |
%patch6 -p1 |
%patch6 -p1 |
183 |
%patch7 -p1 |
%patch7 -p1 |
184 |
|
%patch8 -p1 |
185 |
|
%patch9 -p1 |
186 |
|
%patch10 -p1 |
187 |
|
%patch11 -p1 |
188 |
|
%patch12 -p1 |
189 |
|
%patch13 -p1 |
190 |
|
%patch14 -p1 |
191 |
|
%patch15 -p1 |
192 |
|
%patch16 -p1 |
193 |
|
%patch17 -p1 |
194 |
|
%patch18 -p1 |
195 |
|
%patch19 -p1 |
196 |
|
%patch20 -p1 |
197 |
|
%patch21 -p1 |
198 |
|
%patch22 -p1 |
199 |
|
%patch23 -p1 |
200 |
|
%patch24 -p1 |
201 |
|
%patch25 -p1 |
202 |
|
%patch26 -p1 |
203 |
|
|
204 |
%build |
%build |
205 |
# Build symlinks |
# Build symlinks |