-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsipxopenacd.spec.in
54 lines (44 loc) · 1.27 KB
/
sipxopenacd.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
51
52
53
54
Name: @PACKAGE@
Version: @VERSION@
Release: @PACKAGE_REVISION@
Summary: OpenACD sipXecs integration
License: LGPL
Group: Productivity/Telephony/SIP/Servers
Vendor: SIPfoundry
Packager: SIPfoundry <[email protected]>
Url: http://www.sipfoundry.org/
BuildRequires: automake
BuildRequires: erlang
BuildRequires: erlmongo
BuildRequires: openacd
%define plugindir /opt/OpenACD/plugin.d
Source: %name-%version.tar.gz
Prefix: %_prefix
BuildRoot: %{_tmppath}/%name-%version-root
Requires: sipxcommserverlib >= %version
Requires: openacd
Requires: erlang
Requires: erlmongo
%description
OpenACD integration for sipXecs
%prep
%setup -q
%build
%configure @SIPX_RPM_CONFIGURE_OPTIONS@
make all
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_sysconfdir}/init.d/sipxopenacd
%{_datadir}/sipxecs/cfinputs/plugin.d/sipxopenacd.cf
%dir %attr(755,sipx,sipx) %{_localstatedir}/sipxdata/openacd
%dir %attr(755,sipx,sipx) %{_localstatedir}/log/sipxpbx/openacd
%{plugindir}/sipxplugin.app
%{plugindir}/sipxplugin/ebin/sipxplugin.app
%{plugindir}/sipxplugin/ebin/*.beam
%dir %attr(755,sipx,sipx) %{_localstatedir}/sipxdata/cfdata
%{_localstatedir}/sipxdata/cfdata/defaults/sipxopenacd.cfdat