-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsipxcallqueue.spec.in
50 lines (39 loc) · 1.04 KB
/
sipxcallqueue.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Name: @PACKAGE@
Version: @VERSION@
Release: @PACKAGE_REVISION@
Summary: sipXcallQueue Call Center for sipXecs
License: LGPL
Group: Telcommunications
Vendor: SIPfoundry
Packager: Douglas Hubler <dhubler@ezuce.com>
Url: http://www.sipfoundry.org
%define __jar_repack %{nil}
BuildRequires: automake
BuildRequires: libxml2
BuildRequires: java-devel >= 1.6
BuildRequires: sipxcommons >= %version
BuildRequires: sipxconfig >= %version
Requires: sipxconfig >= %version
Source: %name-%version.tar.gz
Prefix: %_prefix
BuildRoot: %{_tmppath}/%name-%version-root
%description
Call Center based on freeswitch
%prep
%setup -q
%build
%configure --enable-rpmbuild @SIPX_RPM_CONFIGURE_OPTIONS@
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%{_sysconfdir}/sipxpbx/sipxcallqueue/*
%{_sysconfdir}/sipxpbx/freeswitch/*
%{_sysconfdir}/sipxpbx/database/plugin.d/*
%{_datadir}/sipxecs/cfinputs/plugin.d/*.cf
%{_datadir}/java/sipXecs/sipXconfig/plugins/sipxcallqueue-config.jar
%post