packages: mediaproxy/mediaproxy.spec - up to 2.5.2 - BR: iptables-devel - p...

blekot blekot at pld-linux.org
Wed Jun 6 23:04:22 CEST 2012


Author: blekot                       Date: Wed Jun  6 21:04:22 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.5.2
- BR: iptables-devel
- patches are commented due to changes in upstream (will be removed soon)
- adapterized
- added mediaproxy.tmpfiles 

---- Files affected:
packages/mediaproxy:
   mediaproxy.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/mediaproxy/mediaproxy.spec
diff -u packages/mediaproxy/mediaproxy.spec:1.5 packages/mediaproxy/mediaproxy.spec:1.6
--- packages/mediaproxy/mediaproxy.spec:1.5	Thu Jun  9 12:56:51 2011
+++ packages/mediaproxy/mediaproxy.spec	Wed Jun  6 23:04:17 2012
@@ -2,50 +2,54 @@
 #
 Summary:	Media relay for RTP/RTCP and UDP streams
 Name:		mediaproxy
-Version:	2.4.4
-Release:	2
+Version:	2.5.2
+Release:	1
 License:	GPL v2
 Group:		Networking/Daemons
 Source0:	http://download.ag-projects.com/MediaProxy/%{name}-%{version}.tar.gz
-# Source0-md5:	4ae842662702ddd4a5a9db263d261693
+# Source0-md5:	840de8f52e656991be728c15ec30bb5e
 Source1:	media-dispatcher.sysconfig
 Source2:	media-dispatcher.init
 Source3:	media-relay.sysconfig
 Source4:	media-relay.init
+Source5:	%{name}.tmpfiles
 Patch0:		%{name}-kernel_headers.patch
 Patch1:		%{name}-kernelversion_discovery.patch
 URL:		http://mediaproxy.ag-projects.com/
+BuildRequires:	iptables-devel
 BuildRequires:	libnetfilter_conntrack-devel
+BuildRequires:	linux-libc-headers >= 7:2.6.37
 BuildRequires:	python >= 1:2.5
 BuildRequires:	python-devel >= 1:2.5
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.228
-BuildRequires:	linux-libc-headers >= 7:2.6.37
 %pyrequires_eq	python-modules
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-MediaProxy is a media relay for RTP/RTCP and UDP streams that works in tandem
-with OpenSIPS to provide NAT traversal capability for media streams from SIP
-user agents located behind NAT. When using MediaProxy, NAT traversal for RTP
-media will work without any settings in the SIP User Agents or the NAT router.
+MediaProxy is a media relay for RTP/RTCP and UDP streams that works in
+tandem with OpenSIPS to provide NAT traversal capability for media
+streams from SIP user agents located behind NAT. When using
+MediaProxy, NAT traversal for RTP media will work without any settings
+in the SIP User Agents or the NAT router.
 
 %package common
 Summary:	Media relay for RTP/RTCP and UDP streams
 Group:		Networking/Daemons
 Requires:	python-SQLObject
-Requires:	python-TwistedNames
 Requires:	python-TwistedCore
+Requires:	python-TwistedNames
 Requires:	python-application >= 1.1.5
 Requires:	python-cjson
 Requires:	python-gnutls
 Requires:	python-pyrad
 
 %description common
-MediaProxy is a media relay for RTP/RTCP and UDP streams that works in tandem
-with OpenSIPS to provide NAT traversal capability for media streams from SIP
-user agents located behind NAT. When using MediaProxy, NAT traversal for RTP
-media will work without any settings in the SIP User Agents or the NAT router.
+MediaProxy is a media relay for RTP/RTCP and UDP streams that works in
+tandem with OpenSIPS to provide NAT traversal capability for media
+streams from SIP user agents located behind NAT. When using
+MediaProxy, NAT traversal for RTP media will work without any settings
+in the SIP User Agents or the NAT router.
 
 This package contains files shared my MediaProxy dispatcher and relay.
 
@@ -57,17 +61,19 @@
 Suggests:	opensips
 
 %description dispatcher
-MediaProxy is a media relay for RTP/RTCP and UDP streams that works in tandem
-with OpenSIPS to provide NAT traversal capability for media streams from SIP
-user agents located behind NAT. When using MediaProxy, NAT traversal for RTP
-media will work without any settings in the SIP User Agents or the NAT router.
-
-This package contains the dispatcher part of MediaProxy. The dispatcher
-component always runs on the same host as OpenSIPS and communicates with its
-mediaproxy module through a UNIX domain socket. The relay(s) connect to the
-dispatcher using TLS. This relay component may be on the same or on a different
-host as OpenSIPS. There may be several relays for the dispatcher to choose from
-and a relay may service more than one dispatcher.
+MediaProxy is a media relay for RTP/RTCP and UDP streams that works in
+tandem with OpenSIPS to provide NAT traversal capability for media
+streams from SIP user agents located behind NAT. When using
+MediaProxy, NAT traversal for RTP media will work without any settings
+in the SIP User Agents or the NAT router.
+
+This package contains the dispatcher part of MediaProxy. The
+dispatcher component always runs on the same host as OpenSIPS and
+communicates with its mediaproxy module through a UNIX domain socket.
+The relay(s) connect to the dispatcher using TLS. This relay component
+may be on the same or on a different host as OpenSIPS. There may be
+several relays for the dispatcher to choose from and a relay may
+service more than one dispatcher.
 
 %package relay
 Summary:	Media relay for RTP/RTCP and UDP streams
@@ -77,28 +83,32 @@
 Suggests:	opensips
 
 %description relay
-MediaProxy is a media relay for RTP/RTCP and UDP streams that works in tandem
-with OpenSIPS to provide NAT traversal capability for media streams from SIP
-user agents located behind NAT. When using MediaProxy, NAT traversal for RTP
-media will work without any settings in the SIP User Agents or the NAT router.
-
-This package contains the media relay part of MediaProxy. The relay(s) connect
-to the dispatcher using TLS. This relay component may be on the same or on a
-different host as OpenSIPS. There may be several relays for the dispatcher to
-choose from and a relay may service more than one dispatcher.
+MediaProxy is a media relay for RTP/RTCP and UDP streams that works in
+tandem with OpenSIPS to provide NAT traversal capability for media
+streams from SIP user agents located behind NAT. When using
+MediaProxy, NAT traversal for RTP media will work without any settings
+in the SIP User Agents or the NAT router.
+
+This package contains the media relay part of MediaProxy. The relay(s)
+connect to the dispatcher using TLS. This relay component may be on
+the same or on a different host as OpenSIPS. There may be several
+relays for the dispatcher to choose from and a relay may service more
+than one dispatcher.
 
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
+#%patch0 -p1
+#%patch1 -p1
 
 %build
 python setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},/var/run/%{name}} \
+# ,/var/run/%{name}
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},/var/run/%{name},%{systemdtmpfilesdir}} \
 	$RPM_BUILD_ROOT{/etc/sysconfig,/etc/rc.d/init.d}
 
 python setup.py install \
@@ -115,6 +125,7 @@
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/media-dispatcher
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/media-relay
 install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/media-relay
+install %{SOURCE5} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -154,7 +165,8 @@
 %dir %{py_sitedir}/%{name}/interfaces/system
 %{py_sitedir}/%{name}/interfaces/system/*.py[co]
 %attr(755,root,root) %{py_sitedir}/%{name}/interfaces/system/*.so
-%dir /var/run/mediaproxy
+%attr(700,root,root) %dir /var/run/mediaproxy
+%{systemdtmpfilesdir}/%{name}.conf
 
 %files dispatcher
 %defattr(644,root,root,755)
@@ -174,6 +186,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2012/06/06 21:04:17  blekot
+- up to 2.5.2
+- BR: iptables-devel
+- patches are commented due to changes in upstream (will be removed soon)
+- adapterized
+- added mediaproxy.tmpfiles
+
 Revision 1.5  2011/06/09 10:56:51  mmazur
 - rel 2
 - fix for running on our vanilla kernels :)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/mediaproxy/mediaproxy.spec?r1=1.5&r2=1.6



More information about the pld-cvs-commit mailing list