/[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.10 - (hide annotations) (download)
Thu Apr 16 07:48:24 2009 UTC (15 years, 6 months ago) by vip-ire
Branch: MAIN
Changes since 1.9: +8 -2 lines
cleanup in httpd config

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

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