%define plugin streamdev %define name vdr-plugin-%plugin %define version 0.3.3 %define cvsrev 20%shortrev %define shortrev 070611 %define rel 4 %define release %mkrel 1.%shortrev.%rel Summary: VDR plugin: streamdev Name: %name Version: %version Release: %release Group: Video License: GPL URL: http://www.magoa.net/linux/ # From streamdev @ :pserver:anoncvs@vdr-developer.org:/var/cvsroot Source: vdr-%plugin-%cvsrev.tar.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: vdr-devel >= 1.4.1-6 %description This PlugIn is a VDR implementation of the VTP (Video Transfer Protocol, see file PROTOCOL) and a basic HTTP Streaming Protocol. It consists of a server and a client part, but both parts are compiled together with the PlugIn source, but appear as separate PlugIns to VDR. %package server Summary: VDR plugin: VDR Streaming Server Group: Video Requires: vdr-abi = %vdr_abi %description server This PlugIn is a VDR implementation of the VTP (Video Transfer Protocol, see file PROTOCOL) and a basic HTTP Streaming Protocol. The server part acts as a Receiver-Device and works transparently in the background within your running VDR. It can serve multiple clients and it can distribute multiple input streams (i.e. from multiple DVB-cards) to multiple clients using the native VTP protocol (for VDR-clients), or using the HTTP protocol supporting clients such as XINE, MPlayer and so on. With XMMS or WinAMP, you can also listen to radio channels over a HTTP connection. %package client Summary: VDR plugin: VTP Streaming Client Group: Video Requires: vdr-abi = %vdr_abi %description client This PlugIn is a VDR implementation of the VTP (Video Transfer Protocol, see file PROTOCOL) and a basic HTTP Streaming Protocol. The client part acts as a full Input Device, so it can be used in conjunction with a DXR3-Card, XINE, SoftDevice or others to act as a working VDR installation without any DVB-Hardware including EPG-Handling. %prep %setup -q -n %plugin perl -pi -e 's/^CFLAGS =/MOREFLAGS =/' libdvbmpeg/Makefile sed -i 's/$(CFLAGS)/$(MOREFLAGS) $(CFLAGS)/' libdvbmpeg/Makefile sed -i 's,STREAMERBUFSIZE MEGABYTE(4),STREAMERBUFSIZE MEGABYTE(16),' server/streamer.h %build %vdr_plugin_build %install rm -rf %{buildroot} %vdr_plugin_install install -d -m755 %{buildroot}%{_vdr_plugin_cfgdir} install -m644 streamdevhosts.conf.example %{buildroot}%{_vdr_plugin_cfgdir}/streamdevhosts.conf %clean rm -rf %{buildroot} %post server %vdr_plugin_post %plugin-server %postun server %vdr_plugin_postun %plugin-server %post client %vdr_plugin_post %plugin-client %postun client %vdr_plugin_postun %plugin-client %files server -f streamdev-server.vdr %defattr(-,root,root) %doc README* HISTORY CONTRIBUTORS PROTOCOL %config(noreplace) %{_vdr_plugin_cfgdir}/streamdevhosts.conf %files client -f streamdev-client.vdr %defattr(-,root,root) %doc README* HISTORY CONTRIBUTORS %changelog * Sun Jul 08 2007 Anssi Hannula <anssi@mandriva.org> 0.3.3-1.070611.4mdv2008.0 + Revision: 50049 - rebuild for new vdr * Fri Jun 22 2007 Anssi Hannula <anssi@mandriva.org> 0.3.3-1.070611.3mdv2008.0 + Revision: 42695 - rebuild due to buildsystem failure - rebuild for new vdr * Sun Jun 10 2007 Anssi Hannula <anssi@mandriva.org> 0.3.3-1.070611.1mdv2008.0 + Revision: 37966 - new snapshot - drop the patch, applied upstream * Sat May 05 2007 Anssi Hannula <anssi@mandriva.org> 1.070420.2mdv2008.0-current + Revision: 22698 - rebuild for new vdr * Fri Apr 20 2007 Anssi Hannula <anssi@mandriva.org> 0.3.3-1.070420.1mdv2008.0 + Revision: 16291 - new snapshot - patch0: section_filters-0.5.patch by Petri Hintukainen and Rolf Ahrenberg (lots of changes, see README.patch for details) - drop patch2, obsoleted by patch0 * Mon Feb 05 2007 Anssi Hannula <anssi@mandriva.org> 0.3.3-1.070205.1mdv2007.0 + Revision: 116379 - new snapshot * Tue Dec 05 2006 Anssi Hannula <anssi@mandriva.org> 0.3.3-1.060823.4mdv2007.1 + Revision: 90974 - rebuild for new vdr * Tue Oct 31 2006 Anssi Hannula <anssi@mandriva.org> 0.3.3-1.060823.3mdv2007.1 + Revision: 74085 - rebuild for new vdr - Import vdr-plugin-streamdev * Thu Sep 07 2006 Anssi Hannula <anssi@mandriva.org> 0.3.3-1.060823.2mdv2007.0 - rebuild for new vdr - use 2-digit year in cvsrev to shorten the rpm name length * Thu Aug 24 2006 Anssi Hannula <anssi@mandriva.org> 0.3.3-0.20060823.1mdv2007.0 - new snapshot - stricter abi requires - drop patch1, upstream - rediff patch2 - fix replaces in %%prep * Mon Aug 07 2006 Anssi Hannula <anssi@mandriva.org> 0.3.3-0.20060507.4mdv2007.0 - rebuild for new vdr * Wed Jul 26 2006 Anssi Hannula <anssi@mandriva.org> 0.3.3-0.20060507.3mdv2007.0 - rebuild for new vdr * Tue Jun 20 2006 Anssi Hannula <anssi@mandriva.org> 0.3.3-0.20060507.2mdv2007.0 - use _ prefix for system path macros - rpmbuildupdate friendly * Sat Jun 10 2006 Anssi Hannula <anssi@mandriva.org> 0.3.3-0.20060507.1mdv2007.0 - initial Mandriva release