97 lines
3.1 KiB
RPMSpec
97 lines
3.1 KiB
RPMSpec
# $Id: freepbx-src.spec,v 1.5 2022/12/13 07:12:49 jpp Exp $
|
|
# Authority: vip-ire
|
|
# Name: Daniel Berteaud
|
|
|
|
%define version 16.0
|
|
%define release 1
|
|
%define name freepbx-src
|
|
|
|
|
|
Summary: FreePBX Sources
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: %{release}%{?dist}
|
|
License: GPL
|
|
Group: System/Servers
|
|
|
|
Source0: freepbx-%{version}.tgz
|
|
#Source1: panel-0.1.tgz
|
|
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
|
URL: http://www.freepbx.org/
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: e-smith-devtools
|
|
Requires: php-process
|
|
|
|
AutoReqProv: no
|
|
|
|
%description
|
|
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.
|
|
This package only contains the sources, and should be installed with smeserver-freepbx
|
|
|
|
%changelog
|
|
* Thu Oct 09 2025 BogusDateBot
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
|
by assuming the date is correct and changing the weekday.
|
|
|
|
* Tue Dec 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 16.0-1.sme
|
|
- import version 16.0 to SME 10.0
|
|
|
|
* Tue Dec 13 2022 Jean-Philippe Pialasse <tests@pialasse.com> 15.0-1.sme
|
|
- import version 15.0 to SME 10.0
|
|
|
|
* Thu Nov 11 2021 Jean-Philipe Pialasse <tests@pialasse.com> 14.0-1.sme
|
|
- import version 14.0 to SME 10.0
|
|
|
|
* Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-3.sme
|
|
- revert chnage for memory
|
|
|
|
* Mon May 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-2.sme
|
|
- fix error while installing because of memory limit reached [SME: 9515]
|
|
- remove panel module from build
|
|
|
|
* Fri May 06 2016 Jean-Philipe Pialasse <tests@pialasse.com> 13.0-1.sme
|
|
- new version for SME9 [SME: 9493]
|
|
|
|
* Tue May 21 2013 JP Pialasse <tests@pialasse.com> [2.5.1-2]
|
|
- add php-process requirement bug [SME: 7382]
|
|
|
|
* Tue Mar 03 2009 daniel B. <daniel@firewall-services.com> [2.5.1-1]
|
|
- Add missing changelog section in spec file
|
|
- Add e-smith-devtools as a build dependency
|
|
|
|
* Mon Aug 04 2008 daniel B. <daniel@firewall-services.com> [2.5.1-0]
|
|
- initial release based on freepbx 2.5.1
|
|
|
|
%prep
|
|
|
|
%setup -q -c -n freepbx-%{version}
|
|
|
|
|
|
#%build
|
|
# Extract freePBX archive
|
|
%{__mkdir_p} root/usr/share/freepbx/sources
|
|
tar xzf %{SOURCE0} -C root/usr/share/freepbx/sources
|
|
# Extract panel module (not an official module yet)
|
|
# rem by JP not compatible anymore
|
|
#tar xzf %{SOURCE1} -C root/usr/share/freepbx/sources/freepbx-%{version}/amp_conf/htdocs/admin/modules
|
|
ln -s freepbx-%{version} root/usr/share/freepbx/sources/freepbx
|
|
%build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
|
| grep -vE "\.pyc|\.pyo"\
|
|
> %{name}-%{version}-%{release}-filelist
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %{name}-%{version}-%{release}-filelist
|
|
%defattr(-,root,root)
|
|
|
|
|