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

#
# spec file for package vdr-plugin-femon
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014,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 https://bugs.opensuse.org/
#


%define pluginname femon
Name:           vdr-plugin-%{pluginname}
Version:        2.4.0
Release:        0
Summary:        DVB Frontend Status Monitor plugin for VDR
License:        GPL-2.0-only
Group:          Hardware/TV
Url:            http://www.saunalahti.fi/~rahrenbe/vdr/femon/
Source0:        http://www.saunalahti.fi/~rahrenbe/vdr/femon/files/vdr-femon-%{version}.tgz
BuildRequires:  gcc-c++
BuildRequires:  pkg-config
BuildRequires:  vdr-devel
# Requires(pre) is not enough, as it does not work on updates
Requires:       vdr(abi) = %{vdr_apiversion}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
DVB Frontend Status Monitor is a plugin that displays some signal information
parameters of the current tuned channel on OSD. You can zap through all your
channels and the plugin should be monitoring always the right frontend. The
transponder and stream information are also available in advanced display modes.

%prep
%setup -q -n %{pluginname}-%{version}
# fix debuginfo...
sed -i 's#^STRIP = .*#STRIP = /bin/true#' Makefile

%build
make %{?_smp_mflags}

%install
make DESTDIR=%{buildroot} install
%{vdr_find_locale}

%files -f vdrlocale.files
%defattr(-,root,root)
%{_libdir}/vdr/*
%{vdr_dirs}
%doc HISTORY README
%license COPYING

%changelog
openSUSE Build Service is sponsored by