-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsipxaocbilling.spec.in
75 lines (58 loc) · 1.69 KB
/
sipxaocbilling.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
Name: @PACKAGE@
Version: @VERSION@
Release: @PACKAGE_REVISION@
Summary: iant-aoc-billing
License: LGPL
Group: Telcommunications
Vendor: IANT GmbH
Packager: IANT GmbH <info@iant.de>
Requires: sipxproxy >= %version
BuildRequires: automake
BuildRequires: libtool
BuildRequires: gcc-c++
BuildRequires: sipxconfig >= %version
BuildRequires: sipxproxy-devel >= %version
BuildRequires: libxml2
BuildRequires: java-1.7.0-openjdk-devel
Requires: boost
Requires: java-1.7.0-openjdk
Requires: sipxconfig >= %version
Requires: sipxproxy >= %version
Source: %name-%version.tar.gz
Prefix: %_prefix
BuildRoot: %{_tmppath}/%name-%version-root
%description
Collects Billing Information (AOC) SIP Messages send from Patton
%package config
Requires : sipxconfig >= %version
Group: Telecommunications
Vendor: IANT GmbH
Summary: TDB
%description config
Configuration UI for managing customer by called number
%package devel
Requires : %name
Group: Development/Libraries
Vendor: IANT GmbH
Summary: Development libraries for iant-aoc-billing
%description devel
This is just sample text for the development portion of your project. Change this
text to describe the development portion of your project in more detail.
%prep
%setup -q
%build
%configure --enable-rpmbuild SIPXPBXUSER=sipx
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)
%{_libdir}/transactionplugins/libsipxiantaocbilling.so*
%{_datadir}/java/sipXecs/sipXconfig/plugins/iantaocbilling-config.jar
%{_sysconfdir}/sipxpbx/iantaocbilling/iantaocbilling.xml
%{_sysconfdir}/sipxpbx/iantaocbilling/iantaocbilling.properties
%files devel
%{_libdir}/transactionplugins/libsipxiantaocbilling.la