Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sipfoundry:test2
sipxcommons
sipxcommons.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sipxcommons.spec of Package sipxcommons
%define release_prefix 18505. Name: sipxcommons Version: 4.1.7 Release: %{buildno} Summary: Common server side Java packages and supporting third-parth JAR's for sipX License: LGPL Group: Productivity/Telephony/SIP/Servers Vendor: SIPfoundry Packager: SIPfoundry <sipx-dev@sipfoundry.org> Url: http://www.sipfoundry.org/sipXcommons BuildRequires: java-devel >= 1.6 BuildRequires: ant-commons-logging BuildRequires: ant-junit BuildRequires: ant-nodeps BuildRequires: automake %if %{_vendor} == redhat BuildRequires: shadow-utils %endif %if %{_vendor} == suse BuildRequires: pwdutils %endif BuildRequires: zip Source: %name-%version.tar.gz Requires: shadow-utils %if %{?use_ibm_jvm}0 Requires: java-ibm >= 1.6 Requires: java-ibm-unrestricted %else Requires: java >= 1.6 %endif %if %{_vendor} == suse Requires: openssl >= 0.9.8k %endif Prefix: %_prefix BuildRoot: %{_tmppath}/%name-%version-root %description Common server side Java packages and supporting third-parth JAR's for sipX %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 %pre # If needed, change open source daemon user name to sipxchange. # The open source names that have been used are 'sipx' and 'sipxpbx'. for openname in sipx sipxpbx; do if [ "sipxchange" != "${openname}" ] && ! id -u "sipxchange" > /dev/null 2>&1 && id -u ${openname} > /dev/null 2>&1 then /usr/sbin/usermod -l sipxchange ${openname} fi done # If there is no daemon user, create it. # Red Hat's useradd command adds the group automatically, # but SUSE does not. # The -f option means to create the group only if it does not already exist. /usr/sbin/groupadd -f sipxchange if ! id -u sipxchange > /dev/null 2>&1 ; then /usr/sbin/useradd \ -c "sipX service daemon" \ -d %{_sysconfdir}/sipxpbx \ -s /bin/bash \ -g sipxchange \ sipxchange > /dev/null 2>&1 fi %post %files %defattr(644,root,root,755) %attr(755,sipxchange,sipxchange) %{_datadir}/java/sipXecs/sipXcommons
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor