A new user interface for you!

File sipxacd.spec of Package sipxacd

%define release_prefix 18395.
Name:     sipxacd
Version:  4.1.7
Release:  %{buildno}

Summary:  SIP ACD Server
License:  LGPL
Group:    Productivity/Telephony/SIP/Servers
Vendor:   Pingtel
Packager: Pingtel
Url:      http://www.pingtel.com
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: cppunit-devel
BuildRequires: doxygen
BuildRequires: pcre-devel >= 4.5
BuildRequires: openssl-devel
BuildRequires: sipxcalllib-devel >= %version
BuildRequires: sipxcommserverlib-devel >= %version
BuildRequires: sipxmediaadapterlib-devel >= %version
BuildRequires: sipxmedialib-devel >= %version
BuildRequires: sipxportlib-devel >= %version
BuildRequires: sipxtacklib-devel >= %version

Source:   %name-%version.tar.gz

Requires: sipxcommserverlib >= %version
Requires: sipxcalllib >= %version
Requires: sipxpbx >= %version

Prefix:    %_prefix
BuildRoot: %{_tmppath}/%name-%version-root


%if %{_vendor} == suse

%package devel
Requires: %name
Requires: sipxcalllib-devel >= %version
Requires: sipxcommserverlib-devel >= %version
Group: Development/Libraries
Vendor: SIPfoundry
Summary: Header files for %name

%description devel
Developer support for sipXacd.

%setup -q

%configure  --with-distdir=../dist SIPX_PROJECTS=sipxacd sipxbridge sipxcallcontroller sipxcalllib sipxcdrlog sipxcommons sipxcommserverlib sipxconfig sipxecs sipxfreeswitch sipximbot sipxivr sipxmediaadapterlib sipxmedialib sipxopenfire sipxpage sipxpark sipxpbx sipxportlib sipxpresence sipxprovision sipxproxy sipxpublisher sipxrecording sipxregistry sipxrelay sipxrest sipxrls sipxsaa sipxsupervisor sipxtacklib sipxtools sipxecs-doc
cp config.log %name.configlog


# makeinstall RPM macro doesn't leverage DESTDIR but instead overrides
# libdir, bindir, etc just for make install. This not copesetic w/how
# our makefiles are built, they'd rather preserve libdir, and use
# DESTDIR when copying/moving/creating files.  The approach we're taking
# is quite standard, so it's surprising RPM's makeinstall macro is
# the way it is.


%docdir %{_datadir}/doc/sipxecs/%name

%doc %name.configlog
%docdir doc
%attr(755,root,root) %{_bindir}/sipxacd.sh
%attr(755,root,root) %{_bindir}/sipxacd-config
%attr(755,root,root) %{_bindir}/sipxacd
%attr(644,root,root) %{_datadir}/sipxecs/process.d/sipxacd-process.xml

%files devel