Browse Source

Added rtpengine-ctl and dependency to spec file.

pull/56/head
Sergey Lavrov 11 years ago
parent
commit
fe5e1298af
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      el/rtpengine.spec

+ 5
- 1
el/rtpengine.spec View File

@ -13,7 +13,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: gcc make pkgconfig redhat-rpm-config
BuildRequires: glib2-devel libcurl-devel openssl-devel pcre-devel
BuildRequires: xmlrpc-c-devel zlib-devel
Requires: glibc libcurl openssl pcre xmlrpc-c
Requires: glibc libcurl openssl pcre xmlrpc-c nmap-ncat
%description
@ -61,6 +61,8 @@ cd ..
%install
# Install the userspace daemon
install -D -p -m755 daemon/rtpengine %{buildroot}/%{_sbindir}/rtpengine
# Install CLI (command line interface)
install -D -p -m755 utils/rtpengine-ctl %{buildroot}/%{_sbindir}/rtpengine-ctl
## Install the init.d script and configuration file
install -D -p -m755 el/rtpengine.init \
@ -125,6 +127,8 @@ true
%files
# Userspace daemon
%{_sbindir}/rtpengine
# CLI (command line interface)
%{_sbindir}/rtpengine-ctl
# init.d script and configuration file
%{_sysconfdir}/rc.d/init.d/rtpengine


Loading…
Cancel
Save