File vdr-plugin-suspendoutput.spec of Package vdr-plugin-suspendoutput
#
# spec file for package vdr-plugin-suspendoutput
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 B1 Systems GmbH, Vohburg, 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: vdr-plugin-suspendoutput
Version: 2.1.0
Release: 0
Summary: Suspend vdr output
License: GPL-2.0
Url: http://phivdr.dyndns.org/vdr/vdr-suspendoutput/
Source0: http://phivdr.dyndns.org/vdr/vdr-suspendoutput/vdr-suspendoutput-%{version}.tgz
## patches from http://www.minidvblinux.de/git/?a=summary&p=vdr-plugin-suspendoutput
Patch12: 12_suspendoutput_nooutput.patch
## my patched for newer GCC warnings / errors
Patch50: 50_suspendoutput-new-gcc.diff
Patch51: 51_suspendoutput-vdr27.diff
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: vdr-devel >= 2.0.0
# Requires(pre) is not enough, as it does not work on updates
Requires: vdr(abi) = %{vdr_apiversion}
%description
Suspend vdr output (display still image instead of live video).
Suspending live TV releases current channel (DVB card) for
recording(s) and saves some CPU time with software decoders.
Blanking display while replay is paused can avoid burning the
image on tube.
%prep
%autosetup -n suspendoutput-%{version} -p 1
%build
# use msgmerge wrapper
export PATH=%{_datadir}/vdr:$PATH
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
# locale files
%vdr_find_locale
%files -f vdrlocale.files
%defattr(-,root,root)
%doc COPYING HISTORY README
%{vdr_libdir}/libvdr*
%changelog