File vdr-plugin-live.spec of Package vdr-plugin-live
#
# spec file for package vdr-plugin-live
#
# Copyright (c) 2023 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/
#
Name: vdr-plugin-live
Version: 3.3.4
Release: 1
Summary: LIVE Plugin for the Video Disc Recorder VDR
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Other
Url: http://live.vdr-developer.org
# Download from https://github.com/MarkusEh/vdr-plugin-live/tags
Source0: vdr-plugin-live-%{version}.tar.gz
BuildRequires: cxxtools-devel >= 1.4.7
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libtntnet-devel >= 1.6.1
BuildRequires: pkgconfig(libpcre2-8)
## >= 10.38
BuildRequires: pkgconfig
#BuildRequires: unzip
BuildRequires: tntnet >= 1.6.1
BuildRequires: vdr-devel >= 1.6.0
# Requires(pre) is not enough, as it does not work on updates
Requires: vdr(abi) = %{vdr_apiversion}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the LIVE plugin for the video disc recorder VDR.
LIVE, the LIVE Interactive VDR Environment, allows a comfortable operation of VDR and some of its plugins trough a web interface.
Unlike external programs, which communicate with VDR and its plugins through the SVDRP interface, LIVE has direct access to the internal data structures of VDR. This makes LIVE very fast.
Additionally LIVE introduces an interface which allows the direct integration of user interfaces for VDR plugins.
Currently this interface was implemented for the EPGSearch plugin. A substantial part of the LIVE web interface is based on this implementation. There exist plans to extend other plugins (like taste, burn, femon and others) with this interface too.
LIVE works even when these plugins are missing. LIVE detects the available plugins and adapts its user interface accordingly. Therefor it can happen, that certain functions appear and can be used only when the appropriate plugin is activated in VDR.
%prep
%setup -q
# keep the intermediate files for debugsource...
# wla, 16.10.2023: scheitert sonst
#echo ".SECONDARY:" >> javascript/Makefile
#echo ".SECONDARY:" >> css/Makefile
%build
# use msgmerge wrapper
export PATH=%{_datadir}/vdr:$PATH
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
install -d -m 755 %{buildroot}%{_datadir}/vdr/plugins/live
cp -r live/* %{buildroot}%{_datadir}/vdr/plugins/live
%fdupes %{buildroot}
# locale files
%vdr_find_locale
%files -f vdrlocale.files
%defattr(-,root,root)
%doc COPYING HISTORY README
%{vdr_libdir}/libvdr*
%{_datadir}/vdr/plugins
%{_datadir}/vdr/locale
%changelog
* Mon Feb 02 2024 Walter Laub 3.3.4-0.1
* Mon Oct 16 2023 Walter Laub 3.2.1-0.1
* Thu Oct 04 2022 Walter Laub 3.1.7-0.1
- Initial RPM release