/[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.7 - (hide annotations) (download)
Mon Mar 23 09:45:57 2009 UTC (15 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-freepbx-0_1-16_el4_sme
Changes since 1.6: +7 -2 lines
Recordings Security Patch

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

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