/[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.5 - (hide annotations) (download)
Wed Mar 18 19:39:37 2009 UTC (15 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-freepbx-0_1-14_el4_sme
Changes since 1.4: +5 -3 lines
remove speex dependency

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

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