Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 5840036353
Fetching contributors…

Cannot retrieve contributors at this time

67 lines (51 sloc) 1.516 kB
#!BuildIgnore: post-build-checks
%define debug_package %{nil}
Name: @PACKAGE@
Version: @VERSION@
Release: @PACKAGE_REVISION@
# Change to your information!
Summary: Utilities for connecting to mongo for sipXecs
License: LGPL
Group: Telcommunications
Vendor: SIPfoundry
Packager: Douglas Hubler <dhubler@ezuce.com>
Url: http://www.sipfoundry.org
BuildRequires: automake
# libxml2 is for xml validation in 'make check'
BuildRequires: libxml2
Requires: mongodb >= 2.0
Requires: sipxsupervisor >= %version
Source: %name-%version.tar.gz
Prefix: %_prefix
BuildRoot: %{_tmppath}/%name-%version-root
%description
Configuration and utility scripts for integrating mongodb (NoSQL
database) into sipXecs. This does not contain C++ or Java code for
accessing mongo, that lives in sipXcommserverLib and sipXcommons
respectively.
%package server
Requires: %name >= %version
Requires: mongodb-server >= 2.0.0
Group: Telcommunications
Vendor: SIPfoundry
Summary: Utilities for running mongo server for sipXecs
%description server
Cfengine scripts that will know to change mongodb server to replicate to
all other nodes.
%prep
%setup -q
%build
%configure @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)
%files server
%defattr(644,root,root,755)
%attr(755,root,root) %{_sysconfdir}/init.d/mongod-arbiter
%attr(755,root,root) %{_bindir}/mongodb-repair
%{_datadir}/sipxecs/cfinputs/plugin.d/mongodb.cf
Jump to Line
Something went wrong with that request. Please try again.