File vdr-plugin-dvbhddevice.spec of Package vdr-plugin-dvbhddevice
#
# spec file for package vdr-plugin-dvbhddevice
#
# Copyright (c) 2022 SUSE LLC
#
# 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 dvbhddevice
Name: vdr-plugin-%{pluginname}
Version: 221019
Release: 1
Summary: dvbhddevice plugin for VDR
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Other
Url: https://bitbucket.org/powARman/dvbhddevice/src/master/
Source0: vdr-plugin-%{pluginname}-%{version}.zip
Patch1: audio_get_pts.diff
BuildRequires: unzip
BuildRequires: gcc-c++
BuildRequires: pkgconfig(libpcre2-8)
BuildRequires: vdr-devel
BuildRequires: libjpeg8-devel
# Requires(pre) is not enough, as it does not work on updates
Requires: vdr(abi) = %{vdr_apiversion}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The 'dvbhddevice' plugin implements the output device for the "Full Featured TechnoTrend S2-6400" DVB cards.
%prep
%autosetup -p1
%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
* Wed Oct 19 2022 Walter Laub 221019-0.1
- Initial RPM release