File dvbstream.spec of Package dvbstream
#
# spec file for package dvbstream
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: dvbstream
BuildRequires: dvb
Url: http://www.linuxstb.org/dvbstream/index.shtml
License: GPL-2.0+
Group: Productivity/Networking/Other
#Requires: xforms
Version: 0.6
Release: 139
Summary: Broadcasts a DVB Stream over the Network
Source: %name-cvs.tar.bz2
Patch: %name-use-rpmopts
Patch1: %name-include.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
dvbstream can broadcast either a (subset of a) DVB transport stream or
a DVB program stream over a LAN using the rtp protocol. It attempts to
be compliant with RFCs 1889, 1890, 2038, and 2250. It can also dump the
stream to stdout, for example, for local software decoding when using
DVB cards without a hardware MPEG decoder.
%prep
%setup -n dvbstream-cvs
rm -rf TELNET/CVS
%patch
%patch1 -p1
%build
make %{?_smp_mflags}
%install
bins="dvbstream dumprtp rtpfeed ts_filter"
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -m 755 $bins $RPM_BUILD_ROOT/usr/bin
%files
%defattr(-,root,root)
%doc *.sh TELNET COPYING CHANGES README
/usr/bin/dvbstream
/usr/bin/dumprtp
/usr/bin/rtpfeed
/usr/bin/ts_filter
%changelog