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

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

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


Revision 1.15 - (hide annotations) (download)
Wed Jan 6 12:16:20 2010 UTC (14 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-freepbx-0_1-23_el4_sme
Changes since 1.14: +7 -2 lines
disable dynamic hints

1 vip-ire 1.15 # $Id: smeserver-freepbx.spec,v 1.14 2009/10/06 11:34:19 vip-ire Exp $
2 slords 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     #%define fpbxversion 2.5.0
6     %define version 0.1
7 vip-ire 1.15 %define release 23
8 slords 1.1 %define name smeserver-freepbx
9    
10 vip-ire 1.6 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     Patch0: smeserver-freepbx-0.1-fop_link.patch
19     Patch1: smeserver-freepbx-0.1-genzaptelconf.patch
20     Patch2: smeserver-freepbx-0.1-logrotate.patch
21     Patch3: smeserver-freepbx-0.1-asterisk_logrotate.patch
22     Patch4: smeserver-freepbx-0.1-userpanels.patch
23     Patch5: smeserver-freepbx-0.1-trunk_alert_mail.patch
24     Patch6: smeserver-freepbx-0.1-trunk_name_in_alert.patch
25     Patch7: smeserver-freepbx-0.1-postupgrade_to_bootstrap.patch
26     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 vip-ire 1.7 Patch12: smeserver-freepbx-0.1-recordings_security.patch
31 vip-ire 1.8 Patch13: smeserver-freepbx-0.1-remove_admin_alias.patch
32     Patch14: smeserver-freepbx-0.1-recordingsfix2bootstrap.patch
33 vip-ire 1.9 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 vip-ire 1.10 Patch20: smeserver-freepbx-0.1-http_cleanup.patch
39 vip-ire 1.11 Patch21: smeserver-freepbx-0.1-cdr_passwd.patch
40     Patch22: smeserver-freepbx-0.1-fop_separate_service.patch
41 vip-ire 1.12 Patch23: smeserver-freepbx-0.1-check_referer.patch
42 vip-ire 1.13 Patch24: smeserver-freepbx-0.1-dump_astdb_include_functions.patch
43 vip-ire 1.15 Patch25: smeserver-freepbx-0.1-disable_dynamic_hints.patch
44 vip-ire 1.3
45 vip-ire 1.6 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
46     URL: http://www.freepbx.org/
47 slords 1.1
48     BuildRequires: e-smith-devtools
49     BuildRequires: tar
50    
51 vip-ire 1.6 Requires: mysql
52     Requires: httpd
53     Requires: php-pear
54     Requires: asterisk
55     Requires: asterisk-addons
56     Requires: dahdi-tools
57     Requires: dahdi-linux
58     Requires: sox
59     Requires: mod_auth_tkt
60     Requires: e-smith-base
61     Requires: freepbx-src
62 vip-ire 1.4
63 vip-ire 1.6 Buildarch: noarch
64     AutoReqProv: no
65 slords 1.1
66    
67     %description
68     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.
69     This package provide the integration of FreePBX on SME Server.
70    
71    
72     %changelog
73 vip-ire 1.15 * Wed Jan 06 2010 Daniel B. <daniel@firewall-services.com> [0.1-23]
74     - disable dynamic hints
75    
76 vip-ire 1.14 * Tue Oct 06 2009 Daniel B. <daniel@firewall-services.com> [0.1-22]
77 vip-ire 1.13 - include /opt/freepbx/admin/functions.inc.php in freepbx-dump-astdb
78     action script for FreePBX 2.6 compatibility
79    
80 vip-ire 1.12 * Tue May 19 2009 Daniel B. <daniel@firewall-services.com> [0.1-21]
81     - Add CHECKREFERER=FALSE in amportal.conf to repvent error message in some
82     modules (due to the ProxyPass configuration)
83    
84 vip-ire 1.11 * Tue Apr 28 2009 Daniel B. <daniel@firewall-services.com> [0.1-20]
85     - Fix CDR db password in cdr_mysql.conf template
86     - Use a separate service in SME db for FOP
87    
88 vip-ire 1.10 * Thu Apr 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-19]
89     - remove scoreboard directive from httpd-fpbx config
90     - remove some modules (mod_ssl, mod_proxy)
91    
92 vip-ire 1.9 * Sat Apr 11 2009 Daniel B. <daniel@firewall-services.com> [0.1-18]
93     - templatize cdr_mysql.conf [SME: 5153]
94     - templatize manager.conf
95     - remove freepbx-cron-scheduler.php from root crontab so only
96     asterisk user runs it (prevent email error sent from cron)
97    
98 vip-ire 1.8 * Fri Mar 27 2009 Daniel B. <daniel@firewall-services.com> [0.1-17]
99     - Remove obsolete /admin Alias from apache
100     - Run the security script on bootsrape-console-save event
101    
102 vip-ire 1.7 * Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-16]
103     - Security Fixe: put a random password for ARI admin (this should be documented)
104    
105 vip-ire 1.6 * Thu Mar 19 2009 Daniel B. <daniel@firewall-services.com> [0.1-15]
106     - Check if /opt/freepbx/admin exists (retry the install if a first one failed)
107     - Remove tabs from spec
108    
109 vip-ire 1.5 * Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [0.1-14]
110     - Remove speex from dependencies
111    
112 vip-ire 1.4 * Thu Mar 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-13]
113     - Remove zaptel dependency, replaced with dahdi-tools and dahdi-linux
114    
115 vip-ire 1.3 * Mon Feb 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-12]
116     - Fix logrotate issue (send a sigusr1 signal to httpd-fpbx)
117    
118     * Thu Feb 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-11]
119     - Full support for the new DAHDI driver, droping zaptel
120    
121     * Mon Feb 09 2009 Daniel B. <daniel@firewall-services.com> [0.1-10]
122     - add support for DAHDI channel
123    
124 slords 1.1 * Mon Dec 08 2008 Daniel B. <daniel@firewall-services.com> [0.1-9]
125     - move expand-templates from post-upgrade event to bootstrap-console-save
126    
127     * Thu Nov 27 2008 Daniel B. <daniel@firewall-services.com> [0.1-8]
128     - Add support for trunk name in mail alerts
129    
130     * Wed Nov 26 2008 Daniel B. <daniel@firewall-services.com> [0.1-7]
131     - Add a simple script to alert admin by mail on trunk errors
132    
133     * Thu Nov 20 2008 Daniel B. <daniel@firewall-services.com> [0.1-6]
134     - Use AdminPanels props so access can be configured using
135     smeserver-userpanels contrib. AdminUsers and FopUsers
136     props aren't used anymore
137    
138     * Wed Nov 19 2008 Daniel B. <daniel@firewall-services.com> [0.1-5]
139     - add logrotate default config file for asterisk's logs
140     - spec cleanup
141    
142     * Thu Nov 13 2008 Daniel B. <daniel@firewall-services.com> [0.1-4]
143     - fix logrotate issue
144    
145     * Wed Nov 05 2008 Daniel B. <daniel@firewall-services.com> [0.1-3]
146     - split freepbx sources in a separate package (freepbx-src)
147     - alternative genzaptelconf
148    
149     * Mon Oct 13 2008 Daniel B. <daniel@firewall-services.com> [0.1-2]
150     - Fix fop not being displayed in admin page
151    
152     * Sat Sep 20 2008 Daniel B. <daniel@firewall-services.com> [0.1-1]
153     - updated to 2.5.0 final
154     - spec cleaning
155     - templates cleaning
156     - templates to update mysql informations
157    
158     * Mon Aug 04 2008 daniel B. <daniel@firewall-services.com> [0.1-0]
159     - initial release
160    
161     %prep
162    
163     %setup -q -n %{name}-%{version}
164     %patch0 -p1
165     %patch1 -p1
166     %patch2 -p1
167     %patch3 -p1
168     %patch4 -p1
169     %patch5 -p1
170     %patch6 -p1
171     %patch7 -p1
172 vip-ire 1.3 %patch8 -p1
173     %patch9 -p1
174     %patch10 -p1
175 vip-ire 1.6 %patch11 -p1
176 vip-ire 1.7 %patch12 -p1
177 vip-ire 1.8 %patch13 -p1
178     %patch14 -p1
179 vip-ire 1.9 %patch15 -p1
180     %patch16 -p1
181     %patch17 -p1
182     %patch18 -p1
183     %patch19 -p1
184 vip-ire 1.10 %patch20 -p1
185 vip-ire 1.11 %patch21 -p1
186     %patch22 -p1
187 vip-ire 1.12 %patch23 -p1
188 vip-ire 1.13 %patch24 -p1
189 vip-ire 1.15 %patch25 -p1
190 slords 1.1
191     %build
192     # Build symlinks
193     perl createlinks
194    
195    
196     %install
197     rm -rf $RPM_BUILD_ROOT
198     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
199     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
200     --file /usr/share/freepbx/scripts/uninstall.sh 'attr(0750,root,root)' \
201     --file /usr/share/freepbx/scripts/restore-astdb.php 'attr(0750,root,root)' \
202     --dir /var/service/httpd-fpbx 'attr(01755,root,root)' \
203     --dir /var/service/httpd-fpbx/supervise 'attr(0700,root,root)' \
204     --dir /var/service/httpd-fpbx/log 'attr(0755,root,root)' \
205     --file /var/service/httpd-fpbx/log/run 'attr(0755,root,root)' \
206     --dir /var/service/httpd-fpbx/log/supervise 'attr(0700,root,root)' \
207     --dir /var/log/httpd-fpbx 'attr(0750,smelog,smelog)' \
208     --file /var/lib/asterisk/bin/genzaptelconf 'attr(0750,root,root)' \
209     --file /var/lib/asterisk/agi-bin/trunk_alert_mail.agi 'attr(0750,asterisk,asterisk)' \
210     --file /etc/logrotate.d/asterisk 'config(noreplace)' \
211     > %{name}-%{version}-%{release}-filelist
212    
213     %clean
214     rm -rf $RPM_BUILD_ROOT
215    
216     %files -f %{name}-%{version}-%{release}-filelist
217     %defattr(-,root,root)
218    
219    
220     %post
221    
222     %preun
223     if [ $1 = 0 ] ; then
224     /etc/rc.d/init.d/freepbx stop >& /dev/null || :
225     fi
226    
227     true
228    

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