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

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

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


Revision 1.2 - (hide annotations) (download)
Mon Mar 2 17:43:46 2009 UTC (15 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: freepbx-src-2_5_1-0_el4_sme
Changes since 1.1: +1 -0 lines
Update specs

1 slords 1.2 # $Id$
2 slords 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     %define version 2.5.1
6     %define release 0
7     %define name freepbx-src
8    
9    
10     Summary: FreePBX Sources
11     Name: %{name}
12     Version: %{version}
13     Release: %{release}%{?dist}
14     License: GPL
15     Group: System/Servers
16    
17     Source0: freepbx-%{version}.tar.gz
18     Source1: panel-0.1.tgz
19    
20     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21     URL: http://www.freepbx.org/
22    
23     BuildArch: noarch
24    
25     AutoReqProv: no
26    
27     %description
28     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.
29     This package only contains the sources, and should be installed with smeserver-freepbx
30    
31    
32     * Mon Aug 04 2008 daniel B. <daniel@firewall-services.com> [2.5.1-0]
33     - initial release based on freepbx 2.5.1
34    
35     %prep
36    
37     %setup -q -n freepbx-%{version}
38    
39     %build
40     # Extract freePBX archive
41     %{__mkdir_p} root/usr/share/freepbx/sources
42     tar xzf %{SOURCE0} -C root/usr/share/freepbx/sources
43     # Extract panel module (not an official module yet)
44     tar xzf %{SOURCE1} -C root/usr/share/freepbx/sources/freepbx-%{version}/amp_conf/htdocs/admin/modules
45     ln -s /usr/share/freepbx/sources/freepbx-%{version} root/usr/share/freepbx/sources/freepbx
46    
47     %install
48     rm -rf $RPM_BUILD_ROOT
49     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
50     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
51     > %{name}-%{version}-%{release}-filelist
52    
53     %clean
54     rm -rf $RPM_BUILD_ROOT
55    
56     %files -f %{name}-%{version}-%{release}-filelist
57     %defattr(-,root,root)
58    
59    

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