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

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

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


Revision 1.19 - (hide annotations) (download)
Tue Jul 26 16:24:23 2016 UTC (7 years, 10 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-freepbx-13-2_el6_sme
Changes since 1.18: +7 -97 lines
* Tue Jul 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-2.sme
- fix wrong UDP ports change 1000:2000 to 10000:20000 [SME: 9702]

1 unnilennium 1.19 # $Id: smeserver-freepbx.spec,v 1.18 2016/06/13 12:16:46 unnilennium Exp $
2 unnilennium 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     #%define fpbxversion 2.5.0
6 unnilennium 1.18 %define version 13
7 unnilennium 1.19 %define release 2
8 unnilennium 1.1 %define name smeserver-freepbx
9    
10     Summary: Asterisk web GUI
11     Name: %{name}
12     Version: %{version}
13     Release: %{release}%{?dist}
14     License: GPL
15     Group: System/Servers
16     Source: %{name}-%{version}.tar.gz
17    
18 unnilennium 1.19 Patch0: smeserver-freepbx-13.bz9702.udpports.patch
19 unnilennium 1.6
20 unnilennium 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21     URL: http://www.freepbx.org/
22    
23     BuildRequires: e-smith-devtools
24     BuildRequires: tar
25    
26     Requires: mysql
27     Requires: httpd
28     Requires: php-pear
29     Requires: /usr/sbin/asterisk
30 unnilennium 1.4 Requires: asterisk-addons
31 unnilennium 1.1 Requires: dahdi-tools
32     Requires: dahdi-linux
33     Requires: sox
34     Requires: mod_auth_tkt
35     Requires: e-smith-base
36     Requires: freepbx-src
37 unnilennium 1.6 Requires: asterisk-sounds-core-en-ulaw
38     Requires: asterisk-sounds-extra-en-ulaw
39     Requires: asterisk-voicemail
40 unnilennium 1.15 Requires: asterisk-configs
41 unnilennium 1.1 #Buildarch: noarch
42     AutoReqProv: no
43    
44    
45     %description
46     FreePBX is a Standardised Implementation of Asterisk that gives you a GUI to manage your system. If you have looked into Asterisk, you would know that it does not come with any built in programming. You cannot plug a phone into it and make it work without editing configuration files, writing dialplans, and various messing about. FreePBX simplifies this by giving you a pre-written set of dialplans that allow you to have a fully functional PBX pretty much straight away.
47     This package provide the integration of FreePBX on SME Server.
48    
49    
50 unnilennium 1.3 %changelog
51 unnilennium 1.19 * Tue Jul 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-2.sme
52     - fix wrong UDP ports change 1000:2000 to 10000:20000 [SME: 9702]
53    
54 unnilennium 1.18 * Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13-1.sme
55     - bump version to current Freepbx version 13
56    
57 unnilennium 1.17 * Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> -47.sme
58     - add all needed port for Freepbx sip pjsip and RTP [SME: 9495]
59    
60 unnilennium 1.15 * Sat Jun 11 2016 Jean-Philipe Pialasse <tests@pialasse.com> -46.sme
61     - fix missing config files (requires asterisk-configs) [SME: 9577]
62 unnilennium 1.16 - fix recuring reconfiguration error while installing digium phone module [SME: 9575]
63     - added port 5061 for tls to TCP ports [SME: 9576]
64 unnilennium 1.15
65 unnilennium 1.14 * Thu Jun 09 2016 Jean-Philipe Pialasse <tests@pialasse.com> -45.sme
66     - fix wrong logrotate pattern [SME: 9516]
67     - as the contrib is only in smedev, i do not fix existing log files badly rotated
68    
69 unnilennium 1.13 * Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-44.sme
70     - remove fop db [SME: 9495]
71     - add some mysql setting for freepbxdb (user, email)
72     - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-7.patch
73    
74 unnilennium 1.12 * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-43.sme
75     - add path to ucp module [SME: 9495]
76     - add 256Mo as default for freepbx php Memory
77     - add AllowOveride All for .htaccess
78     - remove httpd config to old FOP panel
79     - add port 5061 for freepbx
80     - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-5.patch
81     - configuration of amportal.conf and its mysql equivalent
82     - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-6.patch
83    
84 unnilennium 1.10 * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-42.sme
85     - remove FOP patches [SME: 9495]
86     - deleted link to expand amportal.conf
87     - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-4.patch
88    
89 unnilennium 1.9 * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-41.sme
90 unnilennium 1.7 - remove heading of /etc/asterisk/asterisk.conf [SME: 9495]
91 unnilennium 1.9 - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-3.patch
92     - bump
93 unnilennium 1.7
94 unnilennium 1.6 * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-38.sme
95     - remove expand template amportal.conf [SME: 9495]
96     - chown /var/lib/asterisk
97     - installation configuration options
98     - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-2.patch
99     - Requires: asterisk-sounds-core-en-ulaw asterisk-sounds-extra-en-ulaw asterisk-voicemail
100    
101     * Sun May 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-37.sme
102 unnilennium 1.5 - new path to sql files [SME: 9495]
103     - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-1.patch
104    
105 unnilennium 1.4 * Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-36.sme
106     - adapt script to fpbx13 and asterisk 13 [SME: 9495]
107     - change Requires Requires: %{_libdir}/asterisk/modules/app_addon_sql_mysql.so to
108     - Requires: asterisk-addons as this is the paquet providing it, and it changed name to app_mysql.so
109    
110     * Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-35.sme
111 unnilennium 1.3 - adapt script to fpbx13 and asterisk 13 [SME: 9495]
112     - smeserver-freepbx-0.1-Sme9Ast13Fpbx13-0.patch
113    
114     * Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-34.sme
115 unnilennium 1.2 - first import to SME9 [SME: 9495]
116 unnilennium 1.1
117     * Sun May 12 2013 JP Pialasse <tests@pialasse.com> 0.1-33.sme
118     - buildarch removed in order to find the correct %{_libdir}/asterisk/modules/app_addon_sql_mysql.so
119    
120     * Thu Oct 20 2011 Daniel B. <daniel@firewall-services.com> 0.1-32.sme
121     - Protect by locations (so other alias can be defined to protect with LL::NG for example)
122    
123     * Mon Oct 17 2011 Daniel B. <daniel@firewall-services.com> 0.1-31.sme
124     - Add misdn.log to logrotate
125    
126     * Thu Oct 13 2011 Daniel B. <daniel@firewall-services.com> 0.1-30.sme
127     - Change session path [SME: 6661]
128    
129     * Wed Jan 05 2011 Daniel B. <daniel@firewall-services.com> 0.1-29.sme
130     - astdatadir is /var/lib/asterisk
131     - templates for /etc/logrotate.d/asterisk
132    
133     * Mon Sep 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-28.sme
134     - Create and populate the mysql databases in mysql.init
135     - Templates for /etc/asterisk/asterisk.conf
136    
137     * Thu Jul 15 2010 Daniel B. <daniel@firewall-services.com> [0.1-27]
138     - Read ARI password from the DB (and initialize a random one)
139    
140     * Mon Feb 22 2010 Daniel B. <daniel@firewall-services.com> [0.1-26]
141     - Remove hard-coded dependencies on asterisk and asterisk-addons14
142     Depends now on asterisk binary and app_addon_sql_mysql.so files
143     (so it can work with asterisk or asterisk14)
144    
145     * Mon Feb 15 2010 Daniel B. <daniel@firewall-services.com> [0.1-25]
146     - Remove /etc/logrotate.d/asterisk which is now included in asterisk14
147    
148     * Tue Feb 09 2010 Daniel B. <daniel@firewall-services.com> [0.1-24]
149     - Depends now on asterisk14 and asterisk-addons14
150    
151     * Wed Jan 06 2010 Daniel B. <daniel@firewall-services.com> [0.1-23]
152     - disable dynamic hints
153    
154     * Tue Oct 06 2009 Daniel B. <daniel@firewall-services.com> [0.1-22]
155     - include /opt/freepbx/admin/functions.inc.php in freepbx-dump-astdb
156     action script for FreePBX 2.6 compatibility
157    
158     * Tue May 19 2009 Daniel B. <daniel@firewall-services.com> [0.1-21]
159     - Add CHECKREFERER=FALSE in amportal.conf to repvent error message in some
160     modules (due to the ProxyPass configuration)
161    
162     * Tue Apr 28 2009 Daniel B. <daniel@firewall-services.com> [0.1-20]
163     - Fix CDR db password in cdr_mysql.conf template
164     - Use a separate service in SME db for FOP
165    
166     * Thu Apr 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-19]
167     - remove scoreboard directive from httpd-fpbx config
168     - remove some modules (mod_ssl, mod_proxy)
169    
170     * Sat Apr 11 2009 Daniel B. <daniel@firewall-services.com> [0.1-18]
171     - templatize cdr_mysql.conf [SME: 5153]
172     - templatize manager.conf
173     - remove freepbx-cron-scheduler.php from root crontab so only
174     asterisk user runs it (prevent email error sent from cron)
175    
176     * Fri Mar 27 2009 Daniel B. <daniel@firewall-services.com> [0.1-17]
177     - Remove obsolete /admin Alias from apache
178     - Run the security script on bootsrape-console-save event
179    
180     * Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-16]
181     - Security Fixe: put a random password for ARI admin (this should be documented)
182    
183     * Thu Mar 19 2009 Daniel B. <daniel@firewall-services.com> [0.1-15]
184     - Check if /opt/freepbx/admin exists (retry the install if a first one failed)
185     - Remove tabs from spec
186    
187     * Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [0.1-14]
188     - Remove speex from dependencies
189    
190     * Thu Mar 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-13]
191     - Remove zaptel dependency, replaced with dahdi-tools and dahdi-linux
192    
193     * Mon Feb 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-12]
194     - Fix logrotate issue (send a sigusr1 signal to httpd-fpbx)
195    
196     * Thu Feb 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-11]
197     - Full support for the new DAHDI driver, droping zaptel
198    
199     * Mon Feb 09 2009 Daniel B. <daniel@firewall-services.com> [0.1-10]
200     - add support for DAHDI channel
201    
202     * Mon Dec 08 2008 Daniel B. <daniel@firewall-services.com> [0.1-9]
203     - move expand-templates from post-upgrade event to bootstrap-console-save
204    
205     * Thu Nov 27 2008 Daniel B. <daniel@firewall-services.com> [0.1-8]
206     - Add support for trunk name in mail alerts
207    
208     * Wed Nov 26 2008 Daniel B. <daniel@firewall-services.com> [0.1-7]
209     - Add a simple script to alert admin by mail on trunk errors
210    
211     * Thu Nov 20 2008 Daniel B. <daniel@firewall-services.com> [0.1-6]
212     - Use AdminPanels props so access can be configured using
213     smeserver-userpanels contrib. AdminUsers and FopUsers
214     props aren't used anymore
215    
216     * Wed Nov 19 2008 Daniel B. <daniel@firewall-services.com> [0.1-5]
217     - add logrotate default config file for asterisk's logs
218     - spec cleanup
219    
220     * Thu Nov 13 2008 Daniel B. <daniel@firewall-services.com> [0.1-4]
221     - fix logrotate issue
222    
223     * Wed Nov 05 2008 Daniel B. <daniel@firewall-services.com> [0.1-3]
224     - split freepbx sources in a separate package (freepbx-src)
225     - alternative genzaptelconf
226    
227     * Mon Oct 13 2008 Daniel B. <daniel@firewall-services.com> [0.1-2]
228     - Fix fop not being displayed in admin page
229    
230     * Sat Sep 20 2008 Daniel B. <daniel@firewall-services.com> [0.1-1]
231     - updated to 2.5.0 final
232     - spec cleaning
233     - templates cleaning
234     - templates to update mysql informations
235    
236     * Mon Aug 04 2008 daniel B. <daniel@firewall-services.com> [0.1-0]
237     - initial release
238    
239     %prep
240    
241     %setup -q -n %{name}-%{version}
242 unnilennium 1.19 %patch0 -p1
243 unnilennium 1.1
244     %build
245     # Build symlinks
246     perl createlinks
247    
248    
249     %install
250     rm -rf $RPM_BUILD_ROOT
251    
252     %{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/fpbx-session
253    
254     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
255     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
256     --file /usr/share/freepbx/scripts/uninstall.sh 'attr(0750,root,root)' \
257     --file /usr/share/freepbx/scripts/restore-astdb.php 'attr(0750,root,root)' \
258     --dir /var/service/httpd-fpbx 'attr(01755,root,root)' \
259     --dir /var/service/httpd-fpbx/supervise 'attr(0700,root,root)' \
260     --dir /var/service/httpd-fpbx/log 'attr(0755,root,root)' \
261     --file /var/service/httpd-fpbx/log/run 'attr(0755,root,root)' \
262     --dir /var/service/httpd-fpbx/log/supervise 'attr(0700,root,root)' \
263     --dir /var/log/httpd-fpbx 'attr(0750,smelog,smelog)' \
264     --file /var/lib/asterisk/bin/genzaptelconf 'attr(0750,root,root)' \
265     --file /var/lib/asterisk/agi-bin/trunk_alert_mail.agi 'attr(0750,asterisk,asterisk)' \
266     --file /etc/logrotate.d/asterisk 'config(noreplace)' \
267     --dir /var/lib/php/fpbx-session 'attr(0770,root,asterisk)' \
268     > %{name}-%{version}-%{release}-filelist
269    
270     %clean
271     rm -rf $RPM_BUILD_ROOT
272    
273     %files -f %{name}-%{version}-%{release}-filelist
274     %defattr(-,root,root)
275    
276    
277     %post
278    
279     %preun
280     if [ $1 = 0 ] ; then
281     /etc/rc.d/init.d/freepbx stop >& /dev/null || :
282     fi
283    
284     true
285    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed