forked from SIPfoundry/sipXhomer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sipxhomer.spec.in
94 lines (75 loc) · 2.18 KB
/
sipxhomer.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
Name: @PACKAGE@
Version: @VERSION@
Release: @PACKAGE_REVISION@
Summary: sipXecs/Homer integration
License: AGPL
Group: Telcommunications
Vendor: SIPfoundry
Packager: Douglas Hubler <[email protected]>
Url: http://www.sipfoundry.org
BuildRequires: automake
BuildRequires: java-1.7.0-openjdk-devel
BuildRequires: sipxsupervisor >= %version
BuildRequires: sipxconfig >= %version
BuildRequires: hiredis-devel
BuildRequires: libev-devel
BuildRequires: zeromq-devel
BuildRequires: sipxsqa-devel >= %version
BuildRequires: sipxproxy-devel >= %version
BuildRequires: sipxresiprocate-devel
BuildRequires: unixODBC-devel
BuildRequires: mysql-connector-odbc
Requires: sipxsqa >= %version
Requires: mysql-connector-odbc
Requires: homer
Requires: php-pecl-mongo
Requires: sipxresiprocate-libs
Source: %name-%version.tar.gz
Prefix: %_prefix
BuildRoot: %{_tmppath}/%name-%version-root
%description
sipXecs and Homer integration.
%package config
Requires: sipxconfig >= %version
Group: Telcommunications
Vendor: SIPfoundry
Summary: Administration UI for Homer integration
%description config
Administration UI for Homer integration
%package proxyplugin
Requires: sipxproxy >= %version
Group: Telcommunications
Vendor: SIPfoundry
Summary: sipXproxy to send SIP messages to SQA network queue.
%description proxyplugin
sipXproxy to send SIP messages to SQA network queue.
%package devel
Group: Telcommunications
Vendor: SIPfoundry
Summary: devel for sipXhomer
%description devel
devel for sipXhomer
%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)
%{_datadir}/sipxecs/cfinputs/plugin.d/homer.cf
%{_datadir}/www/webhomer-auth-sipx
%attr(755,root,root) %{_sysconfdir}/init.d/sipxhomer
%attr(755,root,root) %{_libexecdir}/sipXecs/sipxhomer
%files config
%{_sysconfdir}/sipxpbx/sipxhomer/sipxhomer.properties
%{_sysconfdir}/sipxpbx/sipxhomer/sipxhomer.xml
%{_datadir}/java/sipXecs/sipXconfig/plugins/sipxhomer-config.jar
%files proxyplugin
%{_libdir}/transactionplugins/libsipXhomerProxyPlugin.so*
%files devel
%{_libdir}/transactionplugins/libsipXhomerProxyPlugin.la