Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7797e488db
Fetching contributors…

Cannot retrieve contributors at this time

executable file 163 lines (140 sloc) 4.566 kb
#!BuildIgnore: post-build-checks
Version: @VERSION@
Summary: Common Code for sipX servers
License: Pingtel Commercial License
Group: Development/Libraries
Vendor: Pingtel Corp.
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: cppunit-devel
BuildRequires: pcre-devel >= 4.5
BuildRequires: unixODBC-devel >= 2.2
BuildRequires: sipxportlib-devel >= %version
BuildRequires: sipxtacklib-devel >= %version
BuildRequires: glibc-headers
%if %{_vendor} == redhat
BuildRequires: httpd-devel
BuildRequires: xerces-c-devel >= 2.6.0
BuildRequires: shadow-utils
%if 0%{?fedora} >= 15
# sipXproxy compile fails, but this is first time it's referenced
BuildRequires: mongodb-devel-fsv2-patch >= 2.0.2
BuildRequires: mongodb-devel >= 2.0.2
Source: %name-%version.tar.gz
Requires: rpm
%if %{_vendor} == suse
BuildRequires: apache2-devel
BuildRequires: xerces-c-devel = 2.8.0
Requires: xerces-c >= 2.6.0
BuildRequires: pwdutils
Requires: pwdutils
%if %{_vendor} == redhat
Requires: xerces-c >= 2.6.0
Requires: rpm-libs
Requires: sipxportlib >= %version
Requires: sipxtacklib >= %version
Requires: unixODBC >= 2.2
Requires: ruby
Requires: patch
# bind-utils required for dig
Requires: bind-utils
Requires: sipxmongo >= %version
Requires: sipxsupervisor >= %version
Obsoletes: %{name}-doc
Prefix: %_prefix
BuildRoot: %{_tmppath}/%name-%version-root
This project is used to hold code used in common by a number of the
sipX family servers. It is not intended to be useful as a standalone
%if %{_vendor} == suse
# Install header files
%package devel
Requires: %name
%if %{_vendor} == suse
Requires: xerces-c-devel >= 2.6.0
%if %{_vendor} == redhat
Requires: xerces-c-devel >= 2.6.0
Requires: sipxportlib-devel >= %version
Requires: sipxtacklib-devel >= %version
Requires: unixODBC-devel >= 2.2
%if 0%{?fedora} >= 15
# sipXproxy compile fails, but this is first time it's referenced
Requires: mongodb-devel-fsv2-patch >= 2.0.2
Requires: mongodb-devel >= 2.0.2
Group: Development/Libraries
Vendor: SIPfoundry
Summary: Header files for %name
%description devel
This package contains the neccessary header files and static libraries
helpful to build projects using the sipXcommserverLib library
%setup -q
# suse and obs build system
mv %{_builddir}/%name-%version/%name-rpmlintrc %{_sourcedir}
cp config.log %name.configlog
make %{_smp_mflags}
%doc README ChangeLog %name.configlog
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/
%attr(755,root,root) %{_libdir}/*
%attr(755,root,root) %{_libexecdir}/sipXecs/
%attr(755,root,root) %{_libexecdir}/sipXecs/
%attr(755,root,root) %{_libexecdir}/sipXecs/sipx-archive-common
%attr(4750,root,sipx) %{_libexecdir}/sipXecs/sipxpackage
%attr(4750,root,sipx) %{_libexecdir}/sipXecs/sipxswadmin
%attr(4750,root,sipx) %{_libexecdir}/sipXecs/sipxcdrpostgres
%attr(755,root,root) %{_libexecdir}/sipXecs/setup.d/sipxpackage-init
%attr(755,root,root) %{_libexecdir}/sipXecs/setup.d/sipxswadmin-init
%attr(755,root,root) %{_libexecdir}/sipXecs/setup.d/sipxcdrpostgres-init
# These should match sipXlib.m4 or at least sent
# to configure script
%dir %attr(755,sipx,sipx) %{_sysconfdir}/sipxpbx
%dir %attr(755,sipx,sipx) %{_datadir}/sipxecs
%dir %attr(755,sipx,sipx) %{_localstatedir}/log/sipxpbx
%dir %attr(755,sipx,sipx) %{_localstatedir}/run/sipxpbx
%dir %attr(755,sipx,sipx) %{_localstatedir}/sipxdata
%dir %attr(755,sipx,sipx) %{_localstatedir}/sipxdata/tmp
%dir %attr(755,sipx,sipx) %{_localstatedir}/sipxdata/sipdb
%dir %attr(755,sipx,sipx) %{_libexecdir}/sipXecs
%dir %attr(755,sipx,sipx) %{_libexecdir}/sipXecs/setup.d
%files devel
Jump to Line
Something went wrong with that request. Please try again.