Summary: A SIP masquerading proxy with RTP support Name: siproxd Version: 0.5.13 Release: %mkrel 2 License: GPL Group: System/Servers URL: http://siproxd.sourceforge.net/ Source0: http://prdownloads.sourceforge.net/siproxd/%{name}-%{version}.tar.bz2 Source1: %{name}.init # http://siproxd.sourceforge.net/siproxd_guide/ Source2: siproxd_guide.tar.bz2 Patch0: siproxd-0.5.11-no_docs.diff Requires(post): rpm-helper Requires(preun): rpm-helper Requires(pre): rpm-helper Requires(postun): rpm-helper BuildRequires: libosip-devel >= 2.0.9 BuildRequires: libtool BuildRequires: autoconf2.5 BuildRoot: %{_tmppath}/%{name}-buildroot %description Siprox is an proxy/masquerading daemon for the SIP protocol. It handles registrations of SIP clients on a private IP network and performs rewriting of the SIP message bodies to make SIP connections possible via an masquerading firewall. It allows SIP clients (like kphone, linphone) to work behind an IP masquerading firewall or router. %prep %setup -q -a2 %patch0 -p0 cp %{SOURCE1} %{name}.init %build aclocal; autoheader; automake -a; autoconf %configure2_5x \ --bindir=%{_sbindir} \ --sbindir=%{_sbindir} %make %install [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall install -d %{buildroot}%{_var}/run/%{name} install -d %{buildroot}%{_localstatedir}/%{name} install -d %{buildroot}%{_initrddir} install -d %{buildroot}%{_sbindir} install -m0755 %{name}.init %{buildroot}%{_initrddir}/%{name} # fix config install -m0644 doc/siproxd.conf.example %{buildroot}%{_sysconfdir}/siproxd.conf install -m0644 doc/siproxd_passwd.cfg %{buildroot}%{_sysconfdir}/siproxd_passwd.cfg perl -pi -e "s|^user =.*|user = %{name}|g" %{buildroot}%{_sysconfdir}/siproxd.conf %pre %_pre_useradd %{name} %{_localstatedir}/%{name} /bin/false %post %_post_service %{name} %preun %_preun_service %{name} %postun %_postun_userdel %{name} %clean [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-, root, root) %doc AUTHORS ChangeLog README RELNOTES TODO %doc doc/FLI4L_HOWTO.txt doc/KNOWN_BUGS doc/RFC3261_compliance.txt doc/sample_cfg_budgetone.txt %doc doc/sample_cfg_x-lite.txt doc/siproxd_guide.sgml siproxd_guide/*.html %attr(0755,root,root) %{_initrddir}/%{name} %attr(0640,root,root) %config(noreplace) %{_sysconfdir}/%{name}.conf %attr(0640,root,root) %config(noreplace) %{_sysconfdir}/%{name}_passwd.cfg %attr(0755,root,root) %{_sbindir}/%{name} %dir %attr(0755,%{name},%{name}) %{_localstatedir}/%{name} %dir %attr(0755,%{name},%{name}) %{_var}/run/%{name} %changelog * Mon Dec 11 2006 Oden Eriksson <oeriksson@mandriva.com> 0.5.13-2mdv2007.0 + Revision: 94743 - Import siproxd * Mon Dec 11 2006 Oden Eriksson <oeriksson@mandriva.com> 0.5.13-2 - bunzip sources and patches * Sun Jun 25 2006 Oden Eriksson <oeriksson@mandriva.com> 0.5.13-1mdk - 0.5.13 * Mon Apr 17 2006 Oden Eriksson <oeriksson@mandriva.com> 0.5.12-1mdk - 0.5.12 (Major bugfixes) * Fri May 06 2005 Oden Eriksson <oeriksson@mandriva.com> 0.5.11-1mdk - 0.5.11 final (Major feature enhancements) - disable html and pdf doc generation as it won't build (P0), provided from their web page for now * Wed Mar 30 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 0.5.11-0.2mdk - run it as the added uid, duh! - use the %%mkrel macro * Wed Mar 30 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 0.5.11-0.1mdk - 0.5.11 * Fri Dec 24 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.5.9-1mdk - 0.5.9 * Sat Aug 28 2004 Franck Villaume <fvill@freesurf.fr> 0.5.7-1mdk - 0.5.7 - move to libosip2 * Fri Jul 25 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.2-2mdk - rebuild * Sat Apr 05 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.2-1mdk - initial cooker contribs - added S1 & P0 - used provided spec file but made it more Mandrake'ish