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

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

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

Revision 1.2 by slords, Mon Mar 2 17:43:46 2009 UTC Revision 1.23 by vip-ire, Mon Oct 17 08:11:39 2011 UTC
# Line 1  Line 1 
1  # $Id$  # $Id: smeserver-freepbx.spec,v 1.22 2011/10/13 16:09:43 vip-ire Exp $
2  # Authority: vip-ire  # Authority: vip-ire
3  # Name: Daniel Berteaud  # Name: Daniel Berteaud
4    
5  #%define fpbxversion 2.5.0  #%define fpbxversion 2.5.0
6  %define version 0.1  %define version 0.1
7  %define release 9  %define release 31
8  %define name smeserver-freepbx  %define name smeserver-freepbx
9    
10  Summary:        Asterisk web GUI  Summary: Asterisk web GUI
11  Name:           %{name}  Name: %{name}
12  Version:        %{version}  Version: %{version}
13  Release:        %{release}%{?dist}  Release: %{release}%{?dist}
14  License:        GPL  License: GPL
15  Group:          System/Servers  Group: System/Servers
16  Source:         %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
17  Patch0:         smeserver-freepbx-0.1-fop_link.patch  
18  Patch1:         smeserver-freepbx-0.1-genzaptelconf.patch  Patch0: smeserver-freepbx-0.1-fop_link.patch
19  Patch2:         smeserver-freepbx-0.1-logrotate.patch  Patch1: smeserver-freepbx-0.1-genzaptelconf.patch
20  Patch3:         smeserver-freepbx-0.1-asterisk_logrotate.patch  Patch2: smeserver-freepbx-0.1-logrotate.patch
21  Patch4:         smeserver-freepbx-0.1-userpanels.patch  Patch3: smeserver-freepbx-0.1-asterisk_logrotate.patch
22  Patch5:         smeserver-freepbx-0.1-trunk_alert_mail.patch  Patch4: smeserver-freepbx-0.1-userpanels.patch
23  Patch6:         smeserver-freepbx-0.1-trunk_name_in_alert.patch  Patch5: smeserver-freepbx-0.1-trunk_alert_mail.patch
24  Patch7:         smeserver-freepbx-0.1-postupgrade_to_bootstrap.patch  Patch6: smeserver-freepbx-0.1-trunk_name_in_alert.patch
25  BuildRoot:      /var/tmp/%{name}-%{version}-%{release}-buildroot  Patch7: smeserver-freepbx-0.1-postupgrade_to_bootstrap.patch
26  URL:            http://www.freepbx.org/  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    Patch12: smeserver-freepbx-0.1-recordings_security.patch
31    Patch13: smeserver-freepbx-0.1-remove_admin_alias.patch
32    Patch14: smeserver-freepbx-0.1-recordingsfix2bootstrap.patch
33    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    Patch20: smeserver-freepbx-0.1-http_cleanup.patch
39    Patch21: smeserver-freepbx-0.1-cdr_passwd.patch
40    Patch22: smeserver-freepbx-0.1-fop_separate_service.patch
41    Patch23: smeserver-freepbx-0.1-check_referer.patch
42    Patch24: smeserver-freepbx-0.1-dump_astdb_include_functions.patch
43    Patch25: smeserver-freepbx-0.1-disable_dynamic_hints.patch
44    Patch26: smeserver-freepbx-0.1-remove_logrotate_conf.patch
45    Patch27: smeserver-freepbx-0.1-ari_password_from_db.patch
46    Patch28: smeserver-freepbx-0.1-create_mysql.patch
47    Patch29: smeserver-freepbx-0.1-template_asterisk_conf.patch
48    Patch30: smeserver-freepbx-0.1-datadir_in_var_lib.patch
49    Patch31: smeserver-freepbx-0.1-templates_logrotate.patch
50    Patch32: smeserver-freepbx-0.1-session_path.patch
51    Patch33: smeserver-freepbx-0.1-logrotate_misdn.patch
52    
53    BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
54    URL: http://www.freepbx.org/
55    
56  BuildRequires:  e-smith-devtools  BuildRequires:  e-smith-devtools
57  BuildRequires:  tar  BuildRequires:  tar
58    
59  Requires:       mysql  Requires: mysql
60  Requires:       httpd  Requires: httpd
61  Requires:       php-pear  Requires: php-pear
62  Requires:       asterisk  Requires: /usr/sbin/asterisk
63  Requires:       asterisk-addons  Requires: %{_libdir}/asterisk/modules/app_addon_sql_mysql.so
64  Requires:       zaptel  Requires: dahdi-tools
65  Requires:       speex  Requires: dahdi-linux
66  Requires:       sox  Requires: sox
67  Requires:       mod_auth_tkt  Requires: mod_auth_tkt
68  Requires:       e-smith-base  Requires: e-smith-base
69  Requires:       freepbx-src  Requires: freepbx-src
70  Buildarch:      noarch  
71  AutoReqProv:    no  Buildarch: noarch
72    AutoReqProv: no
73    
74    
75  %description  %description
# Line 49  This package provide the integration of Line 78  This package provide the integration of
78    
79    
80  %changelog  %changelog
81    * Mon Oct 17 2011 Daniel B. <daniel@firewall-services.com> 0.1-31.sme
82    - Add misdn.log to logrotate
83    
84    * Thu Oct 13 2011 Daniel B. <daniel@firewall-services.com> 0.1-30.sme
85    - Change session path [SME: 6661]
86    
87    * Wed Jan 05 2011 Daniel B. <daniel@firewall-services.com> 0.1-29.sme
88    - astdatadir is /var/lib/asterisk
89    - templates for /etc/logrotate.d/asterisk
90    
91    * Mon Sep 20 2010 Daniel B. <daniel@firewall-services.com> 0.1-28.sme
92    - Create and populate the mysql databases in mysql.init
93    - Templates for /etc/asterisk/asterisk.conf
94    
95    * Thu Jul 15 2010 Daniel B. <daniel@firewall-services.com> [0.1-27]
96    - Read ARI password from the DB (and initialize a random one)
97    
98    * Mon Feb 22 2010 Daniel B. <daniel@firewall-services.com> [0.1-26]
99    - Remove hard-coded dependencies on asterisk and asterisk-addons14
100      Depends now on asterisk binary and app_addon_sql_mysql.so files
101      (so it can work with asterisk or asterisk14)
102    
103    * Mon Feb 15 2010 Daniel B. <daniel@firewall-services.com> [0.1-25]
104    - Remove /etc/logrotate.d/asterisk which is now included in asterisk14
105    
106    * Tue Feb 09 2010 Daniel B. <daniel@firewall-services.com> [0.1-24]
107    - Depends now on asterisk14 and asterisk-addons14
108    
109    * Wed Jan 06 2010 Daniel B. <daniel@firewall-services.com> [0.1-23]
110    - disable dynamic hints
111    
112    * Tue Oct 06 2009 Daniel B. <daniel@firewall-services.com> [0.1-22]
113    - include /opt/freepbx/admin/functions.inc.php in freepbx-dump-astdb
114      action script for FreePBX 2.6 compatibility
115    
116    * Tue May 19 2009 Daniel B. <daniel@firewall-services.com> [0.1-21]
117    - Add CHECKREFERER=FALSE in amportal.conf to repvent error message in some
118      modules (due to the ProxyPass configuration)
119    
120    * Tue Apr 28 2009 Daniel B. <daniel@firewall-services.com> [0.1-20]
121    - Fix CDR db password in cdr_mysql.conf template
122    - Use a separate service in SME db for FOP
123    
124    * Thu Apr 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-19]
125    - remove scoreboard directive from httpd-fpbx config
126    - remove some modules (mod_ssl, mod_proxy)
127    
128    * Sat Apr 11 2009 Daniel B. <daniel@firewall-services.com> [0.1-18]
129    - templatize cdr_mysql.conf [SME: 5153]
130    - templatize manager.conf
131    - remove freepbx-cron-scheduler.php from root crontab so only
132      asterisk user runs it (prevent email error sent from cron)
133    
134    * Fri Mar 27 2009 Daniel B. <daniel@firewall-services.com> [0.1-17]
135    - Remove obsolete /admin Alias from apache
136    - Run the security script on bootsrape-console-save event
137    
138    * Mon Mar 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-16]
139    - Security Fixe: put a random password for ARI admin (this should be documented)
140    
141    * Thu Mar 19 2009 Daniel B. <daniel@firewall-services.com> [0.1-15]
142    - Check if /opt/freepbx/admin exists (retry the install if a first one failed)
143    - Remove tabs from spec
144    
145    * Wed Mar 18 2009 Daniel B. <daniel@firewall-services.com> [0.1-14]
146    - Remove speex from dependencies
147    
148    * Thu Mar 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-13]
149    - Remove zaptel dependency, replaced with dahdi-tools and dahdi-linux
150    
151    * Mon Feb 23 2009 Daniel B. <daniel@firewall-services.com> [0.1-12]
152    - Fix logrotate issue (send a sigusr1 signal to httpd-fpbx)
153    
154    * Thu Feb 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-11]
155    - Full support for the new DAHDI driver, droping zaptel
156    
157    * Mon Feb 09 2009 Daniel B. <daniel@firewall-services.com> [0.1-10]
158    - add support for DAHDI channel
159    
160  * Mon Dec 08 2008 Daniel B. <daniel@firewall-services.com> [0.1-9]  * Mon Dec 08 2008 Daniel B. <daniel@firewall-services.com> [0.1-9]
161  - move expand-templates from post-upgrade event to bootstrap-console-save  - move expand-templates from post-upgrade event to bootstrap-console-save
162    
# Line 97  This package provide the integration of Line 205  This package provide the integration of
205  %patch5 -p1  %patch5 -p1
206  %patch6 -p1  %patch6 -p1
207  %patch7 -p1  %patch7 -p1
208    %patch8 -p1
209    %patch9 -p1
210    %patch10 -p1
211    %patch11 -p1
212    %patch12 -p1
213    %patch13 -p1
214    %patch14 -p1
215    %patch15 -p1
216    %patch16 -p1
217    %patch17 -p1
218    %patch18 -p1
219    %patch19 -p1
220    %patch20 -p1
221    %patch21 -p1
222    %patch22 -p1
223    %patch23 -p1
224    %patch24 -p1
225    %patch25 -p1
226    %patch26 -p1
227    %patch27 -p1
228    %patch28 -p1
229    %patch29 -p1
230    %patch30 -p1
231    %patch31 -p1
232    %patch32 -p1
233    %patch33 -p1
234    
235  %build  %build
236  # Build symlinks  # Build symlinks
# Line 105  perl createlinks Line 239  perl createlinks
239    
240  %install  %install
241  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
242    
243    %{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/fpbx-session
244    
245  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
246  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
247          --file /usr/share/freepbx/scripts/uninstall.sh 'attr(0750,root,root)' \          --file /usr/share/freepbx/scripts/uninstall.sh 'attr(0750,root,root)' \
# Line 118  rm -rf $RPM_BUILD_ROOT Line 255  rm -rf $RPM_BUILD_ROOT
255          --file /var/lib/asterisk/bin/genzaptelconf 'attr(0750,root,root)' \          --file /var/lib/asterisk/bin/genzaptelconf 'attr(0750,root,root)' \
256          --file /var/lib/asterisk/agi-bin/trunk_alert_mail.agi 'attr(0750,asterisk,asterisk)' \          --file /var/lib/asterisk/agi-bin/trunk_alert_mail.agi 'attr(0750,asterisk,asterisk)' \
257          --file /etc/logrotate.d/asterisk 'config(noreplace)' \          --file /etc/logrotate.d/asterisk 'config(noreplace)' \
258            --dir /var/lib/php/fpbx-session 'attr(0770,root,asterisk)' \
259           > %{name}-%{version}-%{release}-filelist           > %{name}-%{version}-%{release}-filelist
260    
261  %clean  %clean


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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