File vdr-plugin-devstatus.spec of Package vdr-plugin-devstatus
#
# spec file for package vdr-plugin-devstatus
#
# 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 devstatus
Name: vdr-plugin-%{pluginname}
Version: 0.5.0
Release: 0
Summary: devstatus plugin for VDR
License: GPL-2.0
Group: Productivity/Multimedia/Other
Url: http://www.u32.de/vdr.html
Source0: vdr-plugin-%{pluginname}-%{version}.zip
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 'devstatus' plugin displays the status of all available dvb devices
%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