%define plugin svdrpservice Summary: VDR plugin: SVDRP client Name: vdr-plugin-%plugin Version: 0.0.4 Release: 5 Group: Video License: GPL+ URL: http://vdr.schmirler.de/ Source: http://vdr.schmirler.de/svdrpservice/vdr-%plugin-%{version}.tgz BuildRequires: vdr-devel >= 1.6.0 Requires: vdr-abi = %vdr_abi %description This plugin offers SVDRP connections as a service to other plugins. Connecting to streamdev's VTP server port is possible, too. VTP provides a subset of the SVDRP commands but in contrast to SVDRP it can handle multiple connections at a time. There's no reason to load this plugin if no other plugin relies on it. %package -n %plugin-devel Summary: Development headers for svdrpservice VDR plugin Group: Development/C++ Requires: vdr-devel %description -n %plugin-devel Development headers for svdrpservice VDR plugin needed for building some plugins depending on svdrpservice. %prep %setup -q -n %plugin-%{version} %vdr_plugin_prep %vdr_plugin_params_begin %plugin # Default server IP and optional port (e.g. 192.168.0.1:2001). # If no port is given, the default SVDRP port 2001 is assumed. var=DEFAULT_SERVER param=DEFAULT_SERVER %vdr_plugin_params_end %build %vdr_plugin_build %install %vdr_plugin_install install -D -m644 svdrpservice.h %{buildroot}%{_includedir}/vdr/%plugin/svdrpservice.h %files -f %plugin.vdr %doc README HISTORY %files -n %plugin-devel %{_includedir}/vdr/%{plugin}