File vdr-plugin-extrecmenung.spec of Package vdr-plugin-extrecmenung
#
# spec file for package vdr-plugin-extrecmenung
#
# Copyright (c) 2024 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 extrecmenung
Name: vdr-plugin-%{pluginname}
Version: 2.0.13
Release: 0
Summary: A plugin for VDR to replace and extend the recordings-menu
License: GPL-2.0-only
Url: https://gitlab.com/kamel5/extrecmenung
Source0: https://gitlab.com/kamel5/extrecmenung/-/archive/v%{version}/extrecmenung-v%{version}.tar.bz2
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}
%description
The EXTended RECordings MENU plugin provides additional functions to VDR's
recordings menu:
* renaming recordings and directories
* moving recordings and directories, also between different filesystems
* adjustable display of recording's length, date and size
* directories are always shown on top of the list
* reworked layout using icons for showing the status of list entries
(directory, new recording, moving recording/directory, cutting recording,
dvd archiv entry)
* extended recordings info menu, shows name, path, channel, size, lifetime and
priority of the recording
* free disk space is shown for the filesystem of the current directory
* sorting by name or date, adjustable for each directory; type of sorting will
be stored
* ascending/descending sorting
* extends VDR's '-r'-option commands with 'move' and 'rename'
* functionality of the DVDArchive-patch (see below)
* protecting recordings in co-work with the PIN-plugin
* a cutter queue
%prep
%autosetup -n %{pluginname}-v%{version} -p 1
%build
# use msgmerge wrapper
export PATH=%{_datadir}/vdr:$PATH
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