%global pname dvbhddevice %global commit a4ab40ea79bf # The plugin ABI is expressed through vdr(abi); don't export private .so provides. %global __provides_exclude_from ^%{vdr_libdir}/.*\.so.*$ Name: vdr-%{pname} Version: 2.2.0^20250418git%{commit} Release: 1%{?dist} Summary: VDR output device plugin for TechnoTrend S2-6400 DVB cards License: GPL-2.0-or-later URL: https://bitbucket.org/powARman/dvbhddevice Source0: %{url}/get/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz Source1: %{name}.conf # For upstream: replace the FSF's stale postal address in COPYING with the # license URLs; rpmlint rejects the old address. Patch0: %{name}-fsf-address.patch BuildRequires: gcc-c++ BuildRequires: make BuildRequires: gettext BuildRequires: libjpeg-devel BuildRequires: vdr-devel Requires: vdr(abi)%{?_isa} = %{vdr_apiversion} %description The dvbhddevice plugin implements a VDR output device for the "Full Featured TechnoTrend S2-6400" DVB cards. %prep %autosetup -n powARman-%{pname}-%{commit} -p1 iconv -f iso-8859-1 -t utf-8 -o HISTORY.utf8 HISTORY && mv HISTORY.utf8 HISTORY %build %make_build all %install %make_install install -Dpm 644 %{SOURCE1} \ %{buildroot}%{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}.conf %find_lang %{name} %check # vdr resolves VDRPluginCreator after dlopen; a plugin without that export # is broken even if it links cleanly nm -D --defined-only %{buildroot}%{vdr_libdir}/libvdr-%{pname}.so.%{vdr_apiversion} | grep -q ' VDRPluginCreator$' %files -f %{name}.lang %license COPYING %doc HISTORY README %config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}.conf %{vdr_libdir}/libvdr-%{pname}.so.%{vdr_apiversion} %changelog * Sat Aug 15 2026 Dirk Nehring - 2.2.0^20250418gita4ab40ea79bf-1 - Modernize to rpmautospec in a dist-git layout - Split dvbhddevice out of the vdr package into a standalone plugin package - Add %%check verifying the VDRPluginCreator export