File vdr-plugin-streamdev.spec of Package vdr-plugin-streamdev

Name:           vdr-plugin-streamdev
BuildRequires:  gcc-c++ vdr-devel
License:        GPL v2
Group:          Hardware/TV
Summary:        The streamdev plugin adds streaming capabilities to your VDR
Url:            http://streamdev.vdr-developer.org/
Version:        0.5.1
Release:        0.0
Source0:        vdr-streamdev-%{version}.tar.bz2
Requires:	vdrapi = %{vdrapi}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define srcdir streamdev-%{version}

%description
The streamdev plugin adds streaming capabilities to your VDR. It comes in two flavours: VDR-to-VDR streaming using the proprietary VTP protocol and HTTP based streaming which is understood by a couple of software clients. 

%package client
Summary:        The streamdev plugin adds streaming capabilities to your VDR
Group:          Hardware/TV
Requires:       vdrapi = %{vdrapi}

%description client
The streamdev plugin adds streaming capabilities to your VDR. It comes in two flavours: VDR-to-VDR streaming using the proprietary VTP protocol and HTTP based streaming which is understood by a couple of software clients. This package contains the client-plugin.

%package server
Summary:        The streamdev plugin adds streaming capabilities to your VDR
Group:          Hardware/TV
Requires:       vdrapi = %{vdrapi}

%description server
The streamdev plugin adds streaming capabilities to your VDR. It comes in two flavours: VDR-to-VDR streaming using the proprietary VTP protocol and HTTP based streaming which is understood by a couple of software clients. This package contains the
server-plugin.

%debug_package

%prep
%{vdr_plugin_prepare}
tar xvf %SOURCE0
cd %srcdir

%build
%{vdr_plugin_make}

%install
%{vdr_plugin_install}
%{vdr_find_locale_name -n vdr-streamdev-client}
%{vdr_find_locale_name -n vdr-streamdev-server}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files client -f vdr-streamdev-client.files
%defattr(-,root,root)
%{_libdir}/vdr/libvdr-streamdev-client*
%vdr_dirs
%doc %srcdir/COPYING %srcdir/HISTORY %srcdir/README %srcdir/CONTRIBUTORS %srcdir/PROTOCOL

%files server -f vdr-streamdev-server.files
%defattr(-,root,root)
%{_libdir}/vdr/libvdr-streamdev-server*
%vdr_dirs
%doc %srcdir/COPYING %srcdir/HISTORY %srcdir/README %srcdir/CONTRIBUTORS %srcdir/PROTOCOL

%changelog
openSUSE Build Service is sponsored by