File sipxrecording.spec of Package sipxrecording
%define release_prefix 18185.
Name: sipxrecording
Version: 4.1.7
Release: %{buildno}
Summary: Conference Recording using FreeSwitch for sipX
License: LGPL
Group: Productivity/Telephony/SIP/Servers
Vendor: SIPfoundry
Packager: SIPfoundry <sipx-dev@sipfoundry.org>
Url: http://www.sipfoundry.org
BuildRequires: ant-commons-logging
BuildRequires: ant-junit
BuildRequires: ant-nodeps
BuildRequires: automake
BuildRequires: java-devel >= 1.6
BuildRequires: zip
BuildRequires: sipxcommons >= %version
BuildRequires: sipxopenfire >= %version
Source: %name-%version.tar.gz
Obsoletes: sipxvxml
Requires: sipxcommserverlib >= %version
Requires: sipxcommons >= %version
Requires: sipxopenfire >= %version
%if %{?use_ibm_jvm}0
Requires: java-ibm >= 1.6
Requires: java-ibm-unrestricted
%endif
Prefix: %_prefix
BuildRoot: %{_tmppath}/%name-%version-root
%description
Conference Recording subystem that uses FreeSWITCH as a media server.
%prep
%setup -q
%build
%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
make all
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,sipxchange,sipxchange) %{_datadir}/java/sipXecs/sipXrecording
%attr(644,root,root) %{_datadir}/sipxecs/process.d/sipxrecording-process.xml
%attr(644,root,root) %{_datadir}/sipxecs/schema/conferencebridge.xsd
%attr(755,sipxchange,sipxchange) %{_bindir}/sipxrecording.sh
%attr(755,sipxchange,sipxchange) %{_bindir}/sipxrecording-config