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

Contents of /rpms/freepbx-src/contribs8/freepbx-src.spec

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


Revision 1.1 - (show annotations) (download)
Wed May 8 03:44:13 2013 UTC (11 years, 6 months ago) by unnilennium
Branch: MAIN
CVS Tags: freepbx-src-2_5_1-1_el5_sme
Initial import

1 # $Id: freepbx-src.spec,v 1.3 2009/03/03 18:55:00 vip-ire Exp $
2 # Authority: vip-ire
3 # Name: Daniel Berteaud
4
5 %define version 2.5.1
6 %define release 1
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 BuildRequires: e-smith-devtools
26
27 AutoReqProv: no
28
29 %description
30 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.
31 This package only contains the sources, and should be installed with smeserver-freepbx
32
33 %changelog
34 * Tue Mar 03 2009 daniel B. <daniel@firewall-services.com> [2.5.1-1]
35 - Add missing %changelog section in spec file
36 - Add e-smith-devtools as a build dependency
37
38 * Mon Aug 04 2008 daniel B. <daniel@firewall-services.com> [2.5.1-0]
39 - initial release based on freepbx 2.5.1
40
41 %prep
42
43 %setup -q -n freepbx-%{version}
44
45 %build
46 # Extract freePBX archive
47 %{__mkdir_p} root/usr/share/freepbx/sources
48 tar xzf %{SOURCE0} -C root/usr/share/freepbx/sources
49 # Extract panel module (not an official module yet)
50 tar xzf %{SOURCE1} -C root/usr/share/freepbx/sources/freepbx-%{version}/amp_conf/htdocs/admin/modules
51 ln -s /usr/share/freepbx/sources/freepbx-%{version} root/usr/share/freepbx/sources/freepbx
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
56 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
57 > %{name}-%{version}-%{release}-filelist
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files -f %{name}-%{version}-%{release}-filelist
63 %defattr(-,root,root)
64
65

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