Blob Blame History Raw
Name:           dvblast
Version:        3.0
Release:        2%{?dist}
Summary:        Simple and powerful streaming application

Group:          Applications/Multimedia
License:        GPLv2+
URL:            http://www.videolan.org/projects/dvblast.html
Source0:        http://downloads.videolan.org/pub/videolan/dvblast/%{version}/dvblast-%{version}.tar.bz2
Patch0:         dvblast-3.0-ldflags.patch

BuildRequires:  bitstream-devel >= 1.1
BuildRequires:  libev-devel


%description
DVBlast is a simple and powerful streaming application based on the
linux-dvb API. It opens a DVB device, tunes it, places PID filters,
configures a CAM module, and demultiplexes the packets to several RTP
outputs. It supports the new S2API of linux-dvb (compile option).


%prep
%setup -q
#Fixed in 3.1
%patch0 -p1
# Don't override ours CFLAGS
sed -i -e 's|-O3 -fomit-frame-pointer||' Makefile



%build
export CFLAGS="%{optflags}"
export LDFLAGS="%{?__global_ldflags}"
%make_build V=1


%install
%make_install PREFIX=%{_prefix}



%files
%doc AUTHORS COPYING NEWS README TODO
%license COPYING
%{_bindir}/dvblast
%{_bindir}/dvblastctl
%{_bindir}/dvblast_mmi.sh
%{_mandir}/man1/dvblast.1.*

%changelog
* Tue Oct 04 2016 Nicolas Chauvet <kwizart@gmail.com> - 3.0-2
- Backport fix for LDFLAGS from upstream

* Thu Sep 15 2016 Nicolas Chauvet <kwizart@gmail.com> - 3.0-1
- Update to 3.0

* Thu Aug 23 2012 Nicolas Chauvet <kwizart@gmail.com> - 2.2-1
- Update to 2.2

* Mon Jan 16 2012 Nicolas Chauvet <kwizart@gmail.com> - 2.1.0-1
- Update to 2.1.0

* Sat Apr 24 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.2-1
- Update to 1.2

* Mon Nov 30 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1-1
- Initial spec file